测试操作
This commit is contained in:
parent
38f438647e
commit
48d2b993ae
|
@ -55,7 +55,6 @@ public class TestOPPlugin extends AbstractOperationServicePlugIn {
|
|||
customerHeader.put("Content-Type", "application/json");
|
||||
customerHeader.put("token", oaToken);
|
||||
|
||||
|
||||
//组装请求体
|
||||
// DynamicObject supplier = dataEntity.getDynamicObject("supplier");
|
||||
// if (null != supplier) {
|
||||
|
@ -63,6 +62,7 @@ public class TestOPPlugin extends AbstractOperationServicePlugIn {
|
|||
JSONObject customerBody = assembleBody(OAUtils.l(dataEntity.getPkValue()));
|
||||
if (null != customerBody) {
|
||||
String customerPostjson = null;
|
||||
String str = null;
|
||||
try {
|
||||
customerPostjson = HttpClientUtils.postjson(customerUrl, customerHeader, customerBody.toJSONString());
|
||||
logger.info("ICS新增/更新OA客户租户接口返回结果:\n{}", customerPostjson);
|
||||
|
|
Loading…
Reference in New Issue