|
@@ -93,6 +93,15 @@ public interface AdminUserApi {
|
|
|
return CollectionUtils.convertMap(getUsers(ids).getCheckedData(), AdminUserRespDTO::getId);
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 获得开启用户 Map
|
|
|
+ *
|
|
|
+ * @return 用户 Map
|
|
|
+ */
|
|
|
+ default Map<String, AdminUserRespDTO> getUserMap() {
|
|
|
+ return CollectionUtils.convertMap(getUserList().getCheckedData(), AdminUserRespDTO::getId);
|
|
|
+ }
|
|
|
+
|
|
|
@GetMapping(PREFIX + "/valid")
|
|
|
@Operation(summary = "校验用户们是否有效")
|
|
|
@Parameter(name = "ids", description = "用户编号数组", example = "3,5", required = true)
|