token 问题
This commit is contained in:
@@ -226,12 +226,6 @@ public class JSONUtil {
|
||||
return new JSONObject(sortedMap);
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
String str = "{\"openId\": \"or1l864NBOoJZhC5x_yeziZ26j6c\",\"num\": 0,\"type\": \"sub\",\"userSign\": \"66a4e4464d4e4ffda8ff729ed0e28d63\"}";
|
||||
JSONObject jsonObject = JSON.parseObject(str);
|
||||
System.out.println(sortJSONObject(jsonObject,CacheMap.map));
|
||||
System.out.println(MD5Util.encrypt(sortJSONObject(jsonObject,CacheMap.map).toJSONString()));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user