|
@@ -31,7 +31,7 @@ public class QueryDemo_3rd {
|
|
private static final String appKey = "data_test";
|
|
private static final String appKey = "data_test";
|
|
|
|
|
|
static String filename = "/Users/mashengyi/Downloads/";
|
|
static String filename = "/Users/mashengyi/Downloads/";
|
|
- static String logname = "编辑4.txt";
|
|
|
|
|
|
+ static String logname = "请求参数.txt";
|
|
|
|
|
|
/**
|
|
/**
|
|
* 方法入口
|
|
* 方法入口
|
|
@@ -71,7 +71,7 @@ public class QueryDemo_3rd {
|
|
com.alibaba.fastjson.JSONObject jsonObject = com.alibaba.fastjson.JSONObject.parseObject(str);
|
|
com.alibaba.fastjson.JSONObject jsonObject = com.alibaba.fastjson.JSONObject.parseObject(str);
|
|
com.alibaba.fastjson.JSONObject jsonObject1 = jsonObject.getJSONObject("data");
|
|
com.alibaba.fastjson.JSONObject jsonObject1 = jsonObject.getJSONObject("data");
|
|
|
|
|
|
- demo.runMainService(jsonObject1.getString("waybillFileName"),jsonObject1.getInteger("contractType"),jsonObject1.getString("base64Str"));
|
|
|
|
|
|
+ demo.runMainService(jsonObject.getString("waybillFileName"),jsonObject.getInteger("contractType"),jsonObject.getString("base64Str"));
|
|
|
|
|
|
|
|
|
|
/** if(str.contains("18:")){
|
|
/** if(str.contains("18:")){
|
|
@@ -207,13 +207,13 @@ public class QueryDemo_3rd {
|
|
* 具体业务参数放在data中
|
|
* 具体业务参数放在data中
|
|
*/
|
|
*/
|
|
JSONObject dataJson = new JSONObject();
|
|
JSONObject dataJson = new JSONObject();
|
|
- dataJson.put("num", "1556502451-6");
|
|
|
|
|
|
+ dataJson.put("num", "1556502455-14");
|
|
dataJson.put("plateNumber", "京CF0237");
|
|
dataJson.put("plateNumber", "京CF0237");
|
|
dataJson.put("plateColor", 1);
|
|
dataJson.put("plateColor", 1);
|
|
- dataJson.put("startTime", "2023-07-31T19:25:56");
|
|
|
|
|
|
+ dataJson.put("startTime", "2023-11-13T19:25:56");
|
|
dataJson.put("sourceAddr", "北京市朝阳区");
|
|
dataJson.put("sourceAddr", "北京市朝阳区");
|
|
dataJson.put("destAddr", "北京市朝阳区");
|
|
dataJson.put("destAddr", "北京市朝阳区");
|
|
- dataJson.put("predictEndTime", "2023-08-01T09:25:56");
|
|
|
|
|
|
+ dataJson.put("predictEndTime", "2023-11-16T09:25:56");
|
|
dataJson.put("fee", 10000);
|
|
dataJson.put("fee", 10000);
|
|
dataJson.put("titleType", 1);
|
|
dataJson.put("titleType", 1);
|
|
dataJson.put("taxplayerCode", "91330106MA28LMW9XQ");
|
|
dataJson.put("taxplayerCode", "91330106MA28LMW9XQ");
|