FengChaoYu 1 päivä sitten
vanhempi
commit
39a4cae376
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/main/java/com/gree/mall/contest/logic/SMSLogic.java

+ 1 - 1
src/main/java/com/gree/mall/contest/logic/SMSLogic.java

@@ -98,7 +98,7 @@ public class SMSLogic {
     public void sendSms(String mobile, String key, String vrifyCode, String sendType) throws Exception {
     public void sendSms(String mobile, String key, String vrifyCode, String sendType) throws Exception {
 
 
         if (mobile.equals("13000000000") && !profiles.equals("prd")) {
         if (mobile.equals("13000000000") && !profiles.equals("prd")) {
-            redisUtil.set(Constant.RedisPrefix.SMS + ":" + sendType + ":13000000000", 1234, 5 * 60);
+            redisUtil.set(Constant.RedisPrefix.SMS + ":" + sendType + ":13000000000", "1234", 5 * 60);
             return;
             return;
         }
         }
         if (StringUtils.isNotBlank(key) && StringUtils.isNotBlank(vrifyCode)) {
         if (StringUtils.isNotBlank(key) && StringUtils.isNotBlank(vrifyCode)) {