Commit 00cc72f6 authored by 李健华's avatar 李健华

添加日志

parent 530a7426
...@@ -342,7 +342,10 @@ public class GeetestLib { ...@@ -342,7 +342,10 @@ public class GeetestLib {
} }
protected boolean checkResultByPrivate(String challenge, String validate) { protected boolean checkResultByPrivate(String challenge, String validate) {
gtlog("privateKey: " + privateKey);
String encodeStr = Md5Util.build(privateKey + "geetest" + challenge); String encodeStr = Md5Util.build(privateKey + "geetest" + challenge);
gtlog("encodeStr: "+ encodeStr);
gtlog("valdate: " + validate);
return validate.equals(encodeStr); return validate.equals(encodeStr);
} }
......
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