|
@@ -186,10 +186,11 @@ public class ApiTestData {
|
|
|
reqBodyObj.put("stringDate", "20210301");
|
|
|
reqBodyObj.put("condition", "1=1");
|
|
|
reqBodyObj.put("secretKey", "f3ac852124d2f991a3f63f2e33dae18b");
|
|
|
+ String string = reqBodyObj.toString();
|
|
|
String username = "po_soap1";
|
|
|
String password = "z123456789";
|
|
|
String postUrl = "https://podev.minmetals.com.cn:50001/RESTAdapter/BS_OA/BS_MDM/DeleteAssHrtree";
|
|
|
- String s = PostMethodUtils.sendPost(postUrl, reqBodyObj.toString(), username, password);
|
|
|
+ String s = PostMethodUtils.sendPost(postUrl, string, username, password);
|
|
|
System.out.println(s);
|
|
|
}
|
|
|
|