记得上下班打卡 | git大法好,push需谨慎

Commit 1cb182fe authored by 张国柄's avatar 张国柄

开放资料编辑数美校验(昵称、签名、头像、背景);

parent f66b2c85
......@@ -174,7 +174,7 @@ public class AdamUserController {
String background = parameter.getBackground();
if (StringUtils.isNotBlank(background)) {
if (!StringUtils.equals(existUserInfoVo.getBackground(), background) && !StringUtils.equals(AdamConst.DEF_URL_BACKGROUND, background)) {
if (!shumeiUtil.checkText(currentUid, background)) {
if (!shumeiUtil.checkImage(currentUid, background)) {
return ResponseDto.failure(ErrorMapping.get("10023"));
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment