|
@@ -48,7 +48,8 @@ public class SmsController extends BaseController {
|
|
|
String code = (Math.random() + "").substring(2, 6);
|
|
|
JSONObject jsonObject = new JSONObject();
|
|
|
jsonObject.putOnce("code", code);
|
|
|
- String sendStatus = sendSmsUtil.send(getUserId(),phone, jsonObject.toString(), ConstantsConfig.SMS_TEMPLATE_TYPE_PHONE_CODE.getValue(),ConstantsConfig.SMS_TYPE_1.getValue());
|
|
|
+ String sendStatus = sendSmsUtil.send(getUserId(),phone, jsonObject.toString(),
|
|
|
+ ConstantsConfig.SMS_TEMPLATE_TYPE_PHONE_CODE.getValue(),ConstantsConfig.SMS_TYPE_1.getValue());
|
|
|
if ("0".equals(sendStatus)) {
|
|
|
return AjaxResult.error( "验证码发送失败");
|
|
|
}
|