From 7f18d2aaa01d2bd8ac20be4248a53a3d88f035fb Mon Sep 17 00:00:00 2001 From: xhxu Date: Tue, 19 Apr 2022 15:43:36 +0800 Subject: [PATCH] //update --- .../douyin/web/api/impl/TtWebProductServiceImpl.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mallinkService/src/main/java/com/iformall/douyin/web/api/impl/TtWebProductServiceImpl.java b/mallinkService/src/main/java/com/iformall/douyin/web/api/impl/TtWebProductServiceImpl.java index 9b414fbbf..c2b68ac9f 100644 --- a/mallinkService/src/main/java/com/iformall/douyin/web/api/impl/TtWebProductServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/douyin/web/api/impl/TtWebProductServiceImpl.java @@ -32,9 +32,8 @@ public class TtWebProductServiceImpl implements TtWebProductService { public TtSupplierSyncQuery supplierQuery(String supplierExtId) throws WxErrorException { final TtWebGetRequestExecutor executor = new TtWebGetRequestExecutor(this.service.getRequestHttp()); String apiUrl = this.service.getTtWebConfig().getApiBegin().getPrefix() + this.GET_SUPPLIER_QUERY; - JsonObject json = new JsonObject(); - json.addProperty("supplier_ext_id",supplierExtId); - String result = this.service.execute(executor, apiUrl, json.toString()); + String param = "supplier_ext_id=" + supplierExtId; + String result = this.service.execute(executor, apiUrl, param); return TtSupplierSyncQuery.fromJson(result); }