|
@@ -307,7 +307,7 @@ public class ShopServiceImpl implements ShopService {
|
|
|
}
|
|
|
String verifyCode = "prod".equals(active) ? CodeUtil.generateCodeInt(6) : "666666";;
|
|
|
String content = "您的短信验证码为:" + verifyCode + ",该验证码 5 分钟内有效,请勿泄漏于他人。";
|
|
|
- Boolean sendSms = SmsUtils.sendSms(null, mobile, content);
|
|
|
+ Boolean sendSms = SmsUtils.sendSms(1, mobile, content);
|
|
|
if (!sendSms) {
|
|
|
log.info("短信验证码发送失败,手机号:" + mobile);
|
|
|
return ResponseJson.error("发送失败,请确认手机号无误");
|