23456
This commit is contained in:
parent
bd11fda0b3
commit
e39522b6d8
@ -60,14 +60,14 @@ namespace APT.PF.WebApi.Controllers.Api.FM
|
|||||||
if (!string.IsNullOrEmpty(request.random))
|
if (!string.IsNullOrEmpty(request.random))
|
||||||
{
|
{
|
||||||
var verCode = CsRedisManager.StringGet(SessionKey.VERIFY_CODE + request.random);
|
var verCode = CsRedisManager.StringGet(SessionKey.VERIFY_CODE + request.random);
|
||||||
//if (verCode == null)
|
if (verCode == null)
|
||||||
//{
|
{
|
||||||
// return BadRequest(new { error = "error VERIFY_CODE ", error_description = "验证码不存在" });
|
return BadRequest(new { error = "error VERIFY_CODE ", error_description = "验证码不存在" });
|
||||||
//}
|
}
|
||||||
//if (request.verificationCode.ToUpper() != verCode.ToUpper())
|
if (request.verificationCode.ToUpper() != verCode.ToUpper())
|
||||||
//{
|
{
|
||||||
// return BadRequest(new { error = "error VERIFY_CODE ", error_description = "验证码不正确" });
|
return BadRequest(new { error = "error VERIFY_CODE ", error_description = "验证码不正确" });
|
||||||
//}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user