mirror of
https://github.com/dataease/dataease.git
synced 2026-05-14 21:12:33 +08:00
perf(X-Pack): 管理员绑定第三方账号
This commit is contained in:
committed by
fit2cloud-chenyw
parent
60efb8b449
commit
9b57c4b0cb
@@ -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