|
|
|
@@ -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); |
|
|
|
} |
|
|
|
|
|
|
|
|