Explorar o código

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

zxl hai 1 ano
pai
achega
0d53c667ea

+ 2 - 5
src/main/java/com/uas/eis/service/Impl/RequestSTKServiceImpl.java

@@ -291,15 +291,12 @@ public class RequestSTKServiceImpl implements RequestSTKService {
     }
 
     @Override
-    public HttpResultResponse updateKSPostParam(Integer page, Integer size, List<SaveOrChangeCustomerDetailDto> dtos) throws Exception {
+    public HttpResultResponse updateKSPostParam(Integer page, Integer size, SaveOrChangeCustomerDetailDto dto) throws Exception {
         //时间戳
         String timestamp = Long.toString(System.currentTimeMillis());
 
         //加签方法的重要参数
         JSONObject request=new JSONObject(4);
-        request.put("page",page);
-        request.put("size",size);
-
         //传入参数  此处案例仅放置了时间,可自行添加
         //JSONObject param=new JSONObject();
         //param.put("UPDATE_TIME_start","2024-05-09 14:24:06");
@@ -308,7 +305,7 @@ public class RequestSTKServiceImpl implements RequestSTKService {
         //param.put("TASKCODE","202409");
 
 
-        request.put("param",dtos);
+        request.put("param",dto);
 
         String content = request.toString();
 

+ 1 - 1
src/main/java/com/uas/eis/service/RequestSTKService.java

@@ -56,7 +56,7 @@ public interface RequestSTKService {
     /**
      * post请求(修改客商)
      * */
-    HttpResultResponse updateKSPostParam(Integer page, Integer size, List<SaveOrChangeCustomerDetailDto> dtos) throws Exception;
+    HttpResultResponse updateKSPostParam(Integer page, Integer size, SaveOrChangeCustomerDetailDto dtos) throws Exception;