Commit 7b35b491 authored by 李健华's avatar 李健华

反判断为空

parent 9ed57de8
......@@ -95,7 +95,7 @@ public class CaptchaNewValidateAdvisor {
String settingType = request.getParameter(Constants.QG_CAPTCHA_SETTINGTYPE);
log.info("Geetest - 极验二次校验, phoneNo:{}, uniqueKey:{}, clientType:{}, ip:{}, challenge:{}, validate:{}, seccode:{}", phoneNo, uniqueKey, clientType, IpUtil.getRemoteIP(request), challenge, validate, seccode);
Map<String, Object> result = new HashMap<>();
if (settingType.equals(SettingType.PASSWD.getAlias())) {
if (SettingType.PASSWD.getAlias().equals(settingType)) {
result = geetestCaptchaService.validGeetestCaptchaPasswd(uniqueKey, IpUtil.getRemoteIP(request), ClientType.valueByName(clientType), challenge, validate, seccode);
} else {
result = geetestCaptchaService.validGeetestCaptcha(uniqueKey, IpUtil.getRemoteIP(request), ClientType.valueByName(clientType), challenge, validate, seccode);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment