|
@@ -13,6 +13,8 @@ import lombok.RequiredArgsConstructor;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.validation.annotation.Validated;
|
|
import org.springframework.validation.annotation.Validated;
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
|
|
+import org.springframework.web.bind.annotation.RequestParam;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -44,4 +46,15 @@ public class InviteUserController {
|
|
return this.userInviteClient.teamList(param, userId);
|
|
return this.userInviteClient.teamList(param, userId);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 解除绑定关系
|
|
|
|
+ *
|
|
|
|
+ * @param id 主键
|
|
|
|
+ * @return 解除绑定关系
|
|
|
|
+ */
|
|
|
|
+ @PostMapping("/invite/unbind")
|
|
|
|
+ public void unbind(@RequestParam("id") Long id) {
|
|
|
|
+ this.userInviteClient.unbind(id);
|
|
|
|
+ }
|
|
}
|
|
}
|