Commit 9fce183e by 徐高华

托管状态

parent b3a873d4
......@@ -249,7 +249,11 @@ public class QywxOpenController {
public RestResponse<Void> checkCode(Long openStaffId, String code) {
ServiceResponse<Void> resp = this.openStaffApiService.checkCode(openStaffId, code);
if (!resp.isSuccess()) {
return RestResponse.failure("9999", "验证码错误");
String msg = resp.getMessage();
if(!msg.contains("需重新获取登录码")) {
msg = "验证码错误" ;
}
return RestResponse.failure("9999", msg);
}
return RestResponse.successResult();
}
......
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