Browse Source

改阳光平台图形验证码大小写不区分

娄底高职分支
liangkun 1 year ago
parent
commit
f070a4b94e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/SunshineEducationApi.cs

+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/SunshineEducationApi.cs View File

@@ -60,7 +60,7 @@ namespace Learun.Application.WebApi
MobileVerify mobileVerify = this.GetReqData<MobileVerify>();
var code = redisCache.Read<string>("sunshineimgvcode_" + mobileVerify.pagecode);
LogEntity logEntity = null;
if (!string.IsNullOrEmpty(code) && code == mobileVerify.verifycode)
if (!string.IsNullOrEmpty(code) && code.ToLower() == mobileVerify.verifycode.ToLower())
{
//发送短信
try


Loading…
Cancel
Save