李昊 %!s(int64=4) %!d(string=hai) anos
pai
achega
09c579bd84
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      GxPress/Api/GxPress.Api/AppControllers/UserController.cs

+ 2 - 2
GxPress/Api/GxPress.Api/AppControllers/UserController.cs

@@ -221,7 +221,7 @@ namespace GxPress.Api.AppControllers
             if (!string.IsNullOrEmpty(code))
                 throw new BusinessException("请求太频繁!");
             code = RandomGenerator.GetNumberString(6);
-            code = "123456";
+            //code = "123456";
             if (Common.Sms.AliySms.SendSms(phone, code))
             {
                 _logger.LogInformation("{phone}验证码:{code}", phone, code);
@@ -253,7 +253,7 @@ namespace GxPress.Api.AppControllers
             if (!string.IsNullOrEmpty(code))
                 throw new BusinessException("请求太频繁!");
             code = RandomGenerator.GetNumberString(6);
-            code = "123456";
+            //code = "123456";
             if (Common.Sms.AliySms.SendSms(phone, code))
             {
                 _logger.LogInformation("{phone}验证码:{code}", phone, code);