Selaa lähdekoodia

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

娄底高职分支
liangkun 1 vuosi sitten
vanhempi
commit
f070a4b94e
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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 Näytä tiedosto

@@ -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


Ladataan…
Peruuta
Tallenna