Commit 10773fea authored by 王鹏程's avatar 王鹏程

极验

parent bc21a908
...@@ -103,7 +103,7 @@ public class NewCaptchaController { ...@@ -103,7 +103,7 @@ public class NewCaptchaController {
// 优先获取极验 // 优先获取极验
Long geetestLogId = 0L; Long geetestLogId = 0L;
imgMap = geetestCaptchaService.fetchGeetestCaptchaPasswd(keyMd5, remoteIp, ClientType.valueByName(clientType)); imgMap = geetestCaptchaService.fetchGeetestCaptchaPasswd(keyMd5, remoteIp, ClientType.valueByName(clientType));
data.put(Constants.VERIFY_PARAM, Constants.VERIFY_TYPE_GT); data.put(Constants.VERIFY_PARAM, Constants.VERIFY_TYPE_QG);
// 存储极验日志,phone_no, datasource, setting, challenge, captchaid // 存储极验日志,phone_no, datasource, setting, challenge, captchaid
if (StringUtils.isNotBlank(settingType) && null != imgMap) { if (StringUtils.isNotBlank(settingType) && null != imgMap) {
geetestLogId = geetestLogService.saveGeetestLog(phoneNo, clientType, settingType, imgMap); geetestLogId = geetestLogService.saveGeetestLog(phoneNo, clientType, settingType, imgMap);
......
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