Commit ed06b369 authored by 张永's avatar 张永

fastjson 升到fastjson2.0.10

parent 7daedb71
......@@ -109,11 +109,11 @@
<artifactId>javax.mail</artifactId>
<version>1.6.1</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>1.2.70</version>
</dependency>
<dependency>
<groupId>com.alibaba.fastjson2</groupId>
<artifactId>fastjson2</artifactId>
<version>2.0.10</version>
</dependency>
</dependencies>
<build>
......
......@@ -83,11 +83,11 @@ public class MD5Util {
public static void main(String[] args) {
SortedMap<Object,Object> parameters = new TreeMap<Object,Object> ();
parameters.put("ServerID", "ThirdAgentOnStockAdd");
parameters.put("ServerTypeID", 3);
parameters.put("AppID", "201909230001");
parameters.put("AppKey", "d0dd209596922ae29630ded8ba46f15f");
parameters.put("ServerID", "ThirdAgentOnStockAdd");
parameters.put("ServerTypeID", 3);
parameters.put("timestamp", "1569310600084");
parameters.put("data", "{\"dataList_0\": [{\"AgentContractNO\": \"600022001\",\"AgentID\": 22,\"WarehouseNO\": \"002\"}],\"dataList_1\": [{\"AgentContractNO\": \"600022001\",\"GoodsID\": 22,\"StockQty\": \"002\",\"CostPrice\":0 },{\"AgentContractNO\": \"600022001\",\"GoodsID\": 22,\"StockQty\": \"002\",\"CostPrice\":0}]}");
System.out.println(parameters);
......
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