|
|
@ -28,7 +28,7 @@ public class DsTestJavaRequestService implements ExtensionServiceHandler<ItemDTO
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public BaseResponse<String> handle(BaseRequest<ItemDTO> req) {
|
|
|
|
public BaseResponse<String> handle(BaseRequest<ItemDTO> req) {
|
|
|
|
MultiValueMap<String, Object> params = new UniqueKeyMultiValueMap<>();
|
|
|
|
HashMap<String, Object> params = new HashMap<>();
|
|
|
|
|
|
|
|
|
|
|
|
// List arrayString = new ArrayList<String>();
|
|
|
|
// List arrayString = new ArrayList<String>();
|
|
|
|
// arrayString.add("arrayString1");
|
|
|
|
// arrayString.add("arrayString1");
|
|
|
@ -38,7 +38,7 @@ public class DsTestJavaRequestService implements ExtensionServiceHandler<ItemDTO
|
|
|
|
// HashMap<String, Object> mapStringString = new HashMap<>();
|
|
|
|
// HashMap<String, Object> mapStringString = new HashMap<>();
|
|
|
|
// mapStringString.put("A","mapStringString1");
|
|
|
|
// mapStringString.put("A","mapStringString1");
|
|
|
|
// mapStringString.put("B","mapStringString2");
|
|
|
|
// mapStringString.put("B","mapStringString2");
|
|
|
|
// params.add("mapStringString", mapStringString);
|
|
|
|
// params.put("mapStringString", mapStringString);
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// List arrayInt64 = new ArrayList<Integer>();
|
|
|
|
// List arrayInt64 = new ArrayList<Integer>();
|
|
|
|
// arrayInt64.add(10000);
|
|
|
|
// arrayInt64.add(10000);
|
|
|
@ -49,7 +49,7 @@ public class DsTestJavaRequestService implements ExtensionServiceHandler<ItemDTO
|
|
|
|
// params.add("int32", String.valueOf(10000));
|
|
|
|
// params.add("int32", String.valueOf(10000));
|
|
|
|
// params.add("int64", String.valueOf(10000));
|
|
|
|
// params.add("int64", String.valueOf(10000));
|
|
|
|
// params.add("double", String.valueOf(10.1));
|
|
|
|
// params.add("double", String.valueOf(10.1));
|
|
|
|
params.add("string", "test");
|
|
|
|
params.put("string", "test");
|
|
|
|
// params.put("boolean", JSON.toJSONString(true));
|
|
|
|
// params.put("boolean", JSON.toJSONString(true));
|
|
|
|
|
|
|
|
|
|
|
|
// params.put("struct", );
|
|
|
|
// params.put("struct", );
|
|
|
|