Browse Source

[深爱]科目基础资料对接测试

zxl 1 year ago
parent
commit
d8d5bbfd81
1 changed files with 1 additions and 18 deletions
  1. 1 18
      src/main/java/com/uas/eis/service/Impl/RequestSTKServiceImpl.java

+ 1 - 18
src/main/java/com/uas/eis/service/Impl/RequestSTKServiceImpl.java

@@ -303,24 +303,7 @@ public class RequestSTKServiceImpl implements RequestSTKService {
      * */
     public String getSign(Object dto,String timestamp) throws Exception {
 
-        /*String content = dto.toString();*/
-        //加签方法的重要参数
-        JSONObject request=new JSONObject(4);
-        //request.put("code","MJ3ahZ9f");
-        request.put("page",1);
-        request.put("size",500);
-
-        //传入参数  此处案例仅放置了时间,可自行添加
-        JSONObject param=new JSONObject();
-        //param.put("UPDATE_TIME_start","2024-05-09 14:24:06");
-        //param.put("UPDATE_TIME_end","2024-05-09 15:01:28");
-        //param.put("TASKNO","P2022032200000041");
-        //param.put("TASKCODE","202409");
-
-
-        request.put("param",param);
-
-        String content = request.toString();
+        String content = dto.toString();
 
         //加签方法第一个参数
         StringBuilder signBuilder = new StringBuilder("appid").append("=").append(STK_APP_ID).append("&")