Commit ed06b369 authored by 张永's avatar 张永

fastjson 升到fastjson2.0.10

parent 7daedb71
...@@ -109,11 +109,11 @@ ...@@ -109,11 +109,11 @@
<artifactId>javax.mail</artifactId> <artifactId>javax.mail</artifactId>
<version>1.6.1</version> <version>1.6.1</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.alibaba</groupId> <groupId>com.alibaba.fastjson2</groupId>
<artifactId>fastjson</artifactId> <artifactId>fastjson2</artifactId>
<version>1.2.70</version> <version>2.0.10</version>
</dependency> </dependency>
</dependencies> </dependencies>
<build> <build>
......
...@@ -83,11 +83,11 @@ public class MD5Util { ...@@ -83,11 +83,11 @@ public class MD5Util {
public static void main(String[] args) { public static void main(String[] args) {
SortedMap<Object,Object> parameters = new TreeMap<Object,Object> (); SortedMap<Object,Object> parameters = new TreeMap<Object,Object> ();
parameters.put("ServerID", "ThirdAgentOnStockAdd");
parameters.put("ServerTypeID", 3);
parameters.put("AppID", "201909230001"); parameters.put("AppID", "201909230001");
parameters.put("AppKey", "d0dd209596922ae29630ded8ba46f15f"); parameters.put("AppKey", "d0dd209596922ae29630ded8ba46f15f");
parameters.put("ServerID", "ThirdAgentOnStockAdd");
parameters.put("ServerTypeID", 3);
parameters.put("timestamp", "1569310600084"); 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}]}"); 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); 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