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

Commit 315899d7 authored by sunyuntian's avatar sunyuntian

修改返回值

parent 79d85aee
......@@ -58,15 +58,15 @@ public class SweetStrawberryPosterController {
if (StringUtil.isNotEmpty(nickname)) {
if (!shumeiUtil.checkText(currentUid, nickname)) {
return ResponseDto.failure("noPass", nickname,false);
return ResponseDto.failure("0", nickname,false);
}
}
if (StringUtil.isNotEmpty(customText)) {
if (!shumeiUtil.checkText(currentUid, customText)) {
return ResponseDto.failure("noPass", customText,false);
return ResponseDto.failure("0", customText,false);
}
}
return ResponseDto.failure("pass",null,true);
return ResponseDto.failure("0",null,true);
}
}
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