Commit f356f22d authored by 王亮's avatar 王亮

fix an issue(geetest)

parent 2d8e3fe3
...@@ -85,7 +85,7 @@ public class GeetestBehaviorStrategy implements BehaviorStrategy { ...@@ -85,7 +85,7 @@ public class GeetestBehaviorStrategy implements BehaviorStrategy {
).offline(false).newCaptcha(true). ).offline(false).newCaptcha(true).
build()); build());
String registerReDt = LocalDateTime.now().toString(); String registerReDt = LocalDateTime.now().toString();
imgMap.put(Constants.QG_CAPTCHA_INITDT, behaviorReq.getInitializeDt() == null ? null : behaviorReq.getInitializeDt().toString()); imgMap.put(Constants.QG_CAPTCHA_INITDT, behaviorReq.getInitializeDt() == null ? LocalDateTime.now().toString() : behaviorReq.getInitializeDt().toString());
imgMap.put(Constants.QG_CAPTCHA_REGISTERDT, registerDt); imgMap.put(Constants.QG_CAPTCHA_REGISTERDT, registerDt);
imgMap.put(Constants.QG_CAPTCHA_REGISTERREDT, registerReDt); imgMap.put(Constants.QG_CAPTCHA_REGISTERREDT, registerReDt);
......
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