|
@@ -6,6 +6,7 @@ import com.diagbot.dto.GetConsoleUserInfoDTO;
|
|
|
import com.diagbot.dto.JwtDTO;
|
|
|
import com.diagbot.dto.LoginDTO;
|
|
|
import com.diagbot.dto.RespDTO;
|
|
|
+import com.diagbot.dto.UserLoginDTO;
|
|
|
import com.diagbot.dto.UserOrgDTO;
|
|
|
import com.diagbot.entity.Permission;
|
|
|
import com.diagbot.entity.User;
|
|
@@ -14,6 +15,7 @@ import com.diagbot.facade.UserFacade;
|
|
|
import com.diagbot.vo.AppkeySecretVO;
|
|
|
import com.diagbot.vo.BaseIdVO;
|
|
|
import com.diagbot.vo.JwtVO;
|
|
|
+import com.diagbot.vo.PersonVO;
|
|
|
import com.diagbot.vo.ResetPasswordVO;
|
|
|
import com.diagbot.vo.UserInfoByIdPageVO;
|
|
|
import com.diagbot.vo.UserLoginVO;
|
|
@@ -108,6 +110,25 @@ public class UserController {
|
|
|
}
|
|
|
|
|
|
|
|
|
+ @ApiOperation(value = "获取朗通后台个人信息[by:zhoutg]",
|
|
|
+ notes = "")
|
|
|
+ @PostMapping("/getPersonInfo")
|
|
|
+ @SysLogger("getPersonInfo")
|
|
|
+ public RespDTO<UserLoginDTO> getPersonInfo() {
|
|
|
+
|
|
|
+ UserLoginDTO data = userFacade.getPersonInfo();
|
|
|
+ return RespDTO.onSuc(data);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ @ApiOperation(value = "修改朗通后台个人信息[by:zhoutg]", notes = "")
|
|
|
+ @PostMapping("/updatePersonInfo")
|
|
|
+ @SysLogger("updatePersonInfo")
|
|
|
+ public RespDTO<String> updatePersonInfo(@RequestBody PersonVO personVO) {
|
|
|
+ userFacade.updatePersonInfo(personVO);
|
|
|
+ return RespDTO.onSuc(null);
|
|
|
+ }
|
|
|
+
|
|
|
@ApiOperation(value = "重置密码[by:zhoutg]",
|
|
|
notes = "username:用户名,必填<br>" +
|
|
|
"password:密码, 必填<br> ")
|