|
|
@@ -68,11 +68,12 @@ public class SmsCtcc {
|
|
|
throw new MyException("验证码发送频繁,请稍后再试!");
|
|
|
}
|
|
|
String content = String.format("验证码为%s,有效时间为%d分钟,请勿将验证码泄露给其他人。", code, 2);
|
|
|
- JSONObject result = send(mobile, content);
|
|
|
- if (result.getInt("status") == 1) {
|
|
|
- redisUtil.set(key, code, 120L);
|
|
|
- }
|
|
|
- return result;
|
|
|
+// JSONObject result = send(mobile, content);
|
|
|
+// if (result.getInt("status") == 1) {
|
|
|
+// redisUtil.set(key, code, 120L);
|
|
|
+// }
|
|
|
+// return result;
|
|
|
+ return null;
|
|
|
}
|
|
|
|
|
|
/**
|