|
@@ -1,5 +1,7 @@
|
|
|
package com.diagbot.facade;
|
|
|
|
|
|
+import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
|
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
|
import com.diagbot.client.AuthServiceClient;
|
|
|
import com.diagbot.dto.LoginDTO;
|
|
|
import com.diagbot.dto.RespDTO;
|
|
@@ -91,6 +93,15 @@ public class UserFacade extends UserServiceImpl {
|
|
|
return user;
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+ public RespDTO<IPage<User>> index(Page page, UserSaveVO userSaveVO){
|
|
|
+ User user = new User();
|
|
|
+ BeanUtil.copyProperties(userSaveVO, user);
|
|
|
+ IPage<User> res = this.indexPage(page, user);
|
|
|
+ return RespDTO.onSuc(res);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
//添加一条默认用户认证信息
|
|
|
public void doUserAuthentication(UserSaveVO userSaveVO, User user) {
|
|
|
UserAuthentication ua = new UserAuthentication();
|