forked from github/dataease
Merge pull request #8464 from dataease/pr@dev-v2@feat_xpack_bind_user
feat(X-Pack): 第三方平台绑定用户
This commit is contained in:
commit
4cb5c54aa0
2
de-xpack
2
de-xpack
@ -1 +1 @@
|
||||
Subproject commit 62920fd79c962635398ee96c60f26bd7e902423f
|
||||
Subproject commit 77019bc3a40ca1c7a31100cdce52920444a3c7d1
|
@ -34,4 +34,8 @@ public interface DingtalkApi {
|
||||
@Operation(summary = "验证可用性")
|
||||
@PostMapping("/validate")
|
||||
void validate(@RequestBody DingtalkSettingCreator creator);
|
||||
|
||||
@Operation(summary = "钉钉绑定", hidden = true)
|
||||
@PostMapping("/bind")
|
||||
void bind(@RequestBody DingtalkTokenRequest request);
|
||||
}
|
||||
|
@ -34,4 +34,8 @@ public interface LarkApi {
|
||||
@Operation(summary = "验证可用性")
|
||||
@PostMapping("/validate")
|
||||
void validate(@RequestBody LarkSettingCreator creator);
|
||||
|
||||
@Operation(summary = "飞书绑定", hidden = true)
|
||||
@PostMapping("/bind")
|
||||
void bind(@RequestBody LarkTokenRequest request);
|
||||
}
|
||||
|
@ -34,4 +34,8 @@ public interface LarksuiteApi {
|
||||
@Operation(summary = "验证可用性")
|
||||
@PostMapping("/validate")
|
||||
void validate(@RequestBody LarkSettingCreator creator);
|
||||
|
||||
@Operation(summary = "国际飞书绑定", hidden = true)
|
||||
@PostMapping("/bind")
|
||||
void bind(@RequestBody LarkTokenRequest request);
|
||||
}
|
||||
|
@ -34,4 +34,8 @@ public interface WecomApi {
|
||||
@Operation(summary = "验证可用性")
|
||||
@PostMapping("/validate")
|
||||
void validate(@RequestBody WecomCreator creator);
|
||||
|
||||
@Operation(summary = "企微绑定用户", hidden = true)
|
||||
@PostMapping("/bind")
|
||||
void bind(@RequestBody WecomTokenRequest request);
|
||||
}
|
||||
|
@ -160,4 +160,16 @@ public interface UserApi {
|
||||
@Hidden
|
||||
@PostMapping("/all")
|
||||
List<UserItem> allUser(@RequestBody KeywordRequest request);
|
||||
|
||||
@Hidden
|
||||
@PostMapping("/bind")
|
||||
void bind(@RequestBody UserBindRequest request);
|
||||
|
||||
@Operation(summary = "解除绑定")
|
||||
@PostMapping("/unBind/{origin}")
|
||||
void unBind(@PathVariable("origin") Integer origin);
|
||||
|
||||
@Operation(summary = "绑定状态")
|
||||
@GetMapping("/bindStatus")
|
||||
List<Integer> bindStatus();
|
||||
}
|
||||
|
@ -0,0 +1,13 @@
|
||||
package io.dataease.api.permissions.user.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@Data
|
||||
public class UserBindRequest implements Serializable {
|
||||
|
||||
private Integer origin;
|
||||
|
||||
private String sub;
|
||||
}
|
Loading…
Reference in New Issue
Block a user