mirror of
https://github.com/dataease/dataease.git
synced 2026-06-16 20:42:07 +08:00
perf(X-Pack): 管理员绑定第三方账号
This commit is contained in:
committed by
fit2cloud-chenyw
parent
cb8163e0c8
commit
e2e6f04765
@@ -180,6 +180,10 @@ public interface UserApi {
|
||||
@PostMapping("/all")
|
||||
List<UserItem> allUser(@RequestBody KeywordRequest request);
|
||||
|
||||
@Hidden
|
||||
@PostMapping("/admin/bind")
|
||||
void adminBind(@RequestBody AdminBindRequest request);
|
||||
|
||||
@Hidden
|
||||
@PostMapping("/bind")
|
||||
void bind(@RequestBody UserBindRequest request);
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
package io.dataease.api.permissions.user.dto;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Data
|
||||
public class AdminBindRequest extends UserBindRequest {
|
||||
private Long uid;
|
||||
}
|
||||
Reference in New Issue
Block a user