lihao 4 år sedan
förälder
incheckning
76263ee2a5
1 ändrade filer med 1 tillägg och 0 borttagningar
  1. 1 0
      gx_api/GxPress/Api/GxPress.Api/WebControllers/UserController.cs

+ 1 - 0
gx_api/GxPress/Api/GxPress.Api/WebControllers/UserController.cs

@@ -162,6 +162,7 @@ namespace GxPress.Api.WebControllers
             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);