Commit 0ded4f33 by ddx

修改清除md5默认值

parent 14da758b
package com.yxcheng.token.utils;
import com.yxcheng.token.common.model.TaxUserInfo;
import java.security.MessageDigest;
public class MD5Util {
......@@ -57,8 +59,4 @@ public class MD5Util {
private static final String hexDigits[] = { "0", "1", "2", "3", "4", "5",
"6", "7", "8", "9", "a", "b", "c", "d", "e", "f" };
public static void main(String[] args) {
System.out.println(MD5Util.MD5Encode("91310118MA1JPDDL2G" + "2" + "81" + "2021-12-01" + "2021-12-31"));
}
}
......@@ -898,8 +898,9 @@ public class TkTokenServiceImpl implements TkTokenService {
if (loginInfoJson.containsKey("userType")) {
bean.setUserType(loginInfoJson.getString("userType"));
}
bean.setLoginType("b");
newUserInfo= bean.toString();
}else {
} else {
newUserInfo = JSON.parseObject(JSON.toJSONString(cookieReq.getUserInfoJson()), TaxUserInfo.class).toString();
}
logger.info(uuId + " cleanCookie taxno is " + taxno + ", newUserInfo is " + newUserInfo);
......
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