From f79d9c876d56e07bcf7be00ecabc957e322e9eab Mon Sep 17 00:00:00 2001 From: dyy <807692433@qq.com> Date: Wed, 17 Jul 2024 17:58:32 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E3=80=91=E7=A7=BB?= =?UTF-8?q?=E5=8A=A8=E7=AB=AF=E5=BE=AE=E4=BF=A1=E7=99=BB=E5=BD=95=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E4=BC=98=E5=8C=96=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Learun.Application.WebApi/Modules/WeixinApi.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/WeixinApi.cs b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/WeixinApi.cs index 2d85ee51e..664a6ae83 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/WeixinApi.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/WeixinApi.cs @@ -200,7 +200,7 @@ namespace Learun.Application.WebApi.Modules { return Fail("手机号不能为空。"); } - var code = redisCache.Read("sendcodeinapp_" + loginModel.codeType + "_" + mobiletemp); + var code = redisCache.Read("sendcodeinapp_" + loginModel.codeType + "_" + mobiletemp, CacheId.sms); if (!string.IsNullOrEmpty(code) && code == loginModel.verifycode) { //return Success("验证成功。"); @@ -400,9 +400,9 @@ namespace Learun.Application.WebApi.Modules } catch (Exception e) { - return Fail("微信授权失败,请重试。"+e.Message); + return Fail("微信授权失败,请重试。" + e.Message); } - + } ///