Commit cffdc561 authored by Junling Bu's avatar Junling Bu
Browse files

fix[litemall-wx-api]: 修复bug

parent b7f2e5d9
......@@ -199,7 +199,7 @@ public class WxAuthController {
return ResponseUtil.badArgumentValue();
}
if (notifyService.isSmsEnable()) {
if (!notifyService.isSmsEnable()) {
return ResponseUtil.fail(404, "小程序后台验证码服务不支持");
}
String code = CharUtil.getRandomNum(6);
......
Supports Markdown
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