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); } - + } ///