登录返回工时
This commit is contained in:
+1
-1
@@ -112,7 +112,7 @@ public class AuthController {
|
||||
.platform("wxcp")
|
||||
.build();
|
||||
String token = authService.login(login, getClientIP(), getUserAgent());
|
||||
AuthLoginRespVO vo = AuthLoginRespVO.builder().token(token).user(user).build();
|
||||
AuthLoginRespVO vo = AuthLoginRespVO.builder().token(token).user(cpuser).build();
|
||||
return CommonResult.success(vo);
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -19,5 +19,5 @@ public class AuthLoginRespVO {
|
||||
@ApiModelProperty(value = "token", required = true, example = "zsw")
|
||||
private String token;
|
||||
|
||||
private AdminUserDO user;
|
||||
private CpUserDO user;
|
||||
}
|
||||
|
||||
+2
@@ -62,4 +62,6 @@ public class CpUserDO extends BaseDO {
|
||||
*/
|
||||
private String bizMail;
|
||||
|
||||
private Integer workHour;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user