Browse Source

协议上传接口优化20220511_2

mashengyi 2 years ago
parent
commit
61d7c16aec
1 changed files with 5 additions and 5 deletions
  1. 5 5
      src/main/java/com/jkcredit/invoice/util/QueryDemo_Test.java

+ 5 - 5
src/main/java/com/jkcredit/invoice/util/QueryDemo_Test.java

@@ -20,7 +20,7 @@ public class QueryDemo_Test {
 	/**
 	 * 测试地址
 	 */
-		private static final String URL = "http://127.0.0.1:18081/gateway?api=credit.sec.data";
+		private static final String URL = "http://etc.jkcredit.com:9999/api/rest";
 	 	//private static final String URL = "http://110.88.150.74:80/credit?api=credit.sec.data_test";
 	  	//private static final String URL = "http://110.88.150.74/credit?api=credit.sec.data";
 		//private static final String URL = "http://123.57.186.204/gateway?api=credit.sec.data_test";
@@ -36,7 +36,7 @@ public class QueryDemo_Test {
 	 */
 	 	//private static final String appKey = "junxin_test";
 	
-		private static final String appKey = "rongchengzhiyun";
+		private static final String appKey = "jkxy";
 	 	//private static final String appKey = "ccx";
 
 	/**
@@ -79,7 +79,7 @@ public class QueryDemo_Test {
 		//paramJsonObj.put("api", "MSISDNMD5TOIMEI");//MOBILE_CHECK_V1//CMCC_3RD_VERIFY_V4//CTCC_CHECK_V1
 		paramJsonObj.put("appKey", appKey);
 	    paramJsonObj.put("appSecret",
-		"DDEF5E6D6028FCA74144290AF7EA628A9DE84B39");
+		"7697CE9BB9D5A856CFDDE738320AD34EA53E483C");
 		//"84C1CE24EDF361F28072E313BD87EAB24CC727CF");
 	    
 	   
@@ -108,8 +108,8 @@ public class QueryDemo_Test {
 	      dataJson.put("id_number",SHA256Utils.String2SHA256("152322196311063719"));
 	      dataJson.put("mobile",SHA256Utils.String2SHA256("13104866236"));
 	      dataJson.put("encrypt","SHA256");*/
-		  dataJson.put("companyNum", "10004849");
-	      dataJson.put("serviceStartTime","2022-05-11T17:30:37");
+		  dataJson.put("companyNum", "11188342");
+	      dataJson.put("serviceStartTime","2022-05-11T11:30:37");
 	      dataJson.put("serviceEndTime","2023-05-11T21:30:37");
 	      dataJson.put("contractFileName","马圣毅测试20220511.pdf");
 	      dataJson.put("serviceType","3");