李昊 4 lat temu
rodzic
commit
691f770754

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

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