账号新增电子签名功能(可手机端做一个或者电脑后台上传签字图片,该签名需他人在审批或发起申请的时候自动调取到表单上对应位置)
This commit is contained in:
parent
6a04a56f18
commit
74e426db33
|
@ -76,4 +76,7 @@ public class User extends BaseEntity{
|
|||
@ApiModelProperty(value = "头像")
|
||||
private String image;
|
||||
|
||||
@ApiModelProperty(value = "电子签名")
|
||||
private String electronicSignature;
|
||||
|
||||
}
|
||||
|
|
|
@ -44,4 +44,7 @@ public class UserRequest {
|
|||
@ApiModelProperty(value = "头像")
|
||||
@NotBlank(message = "头像不能为空")
|
||||
private String image;
|
||||
|
||||
@ApiModelProperty(value = "电子签名")
|
||||
private String electronicSignature;
|
||||
}
|
||||
|
|
|
@ -119,6 +119,8 @@ public class AuthServiceImpl extends BaseService<UserMapper, User> implements IA
|
|||
//是否需要强制修改密码
|
||||
result.set("need_init_password", password.equals(ConfigCache.getStr(ConfigCache.USER_INIT_PASSWORD,
|
||||
"Siwhnd!@Lc2349#!Rdisabled")) ? true : false);
|
||||
//电子签名
|
||||
result.set("electronicSignature", loginUser.getElectronicSignature());
|
||||
return AjaxResult.ok().data(result);
|
||||
} else {
|
||||
StpUtil.logout();
|
||||
|
|
Loading…
Reference in New Issue