Explorar el Código

//update

release_toaliyun_real
xhxu hace 4 años
padre
commit
7f18d2aaa0
Se han modificado 1 ficheros con 2 adiciones y 3 borrados
  1. +2
    -3
      mallinkService/src/main/java/com/iformall/douyin/web/api/impl/TtWebProductServiceImpl.java

+ 2
- 3
mallinkService/src/main/java/com/iformall/douyin/web/api/impl/TtWebProductServiceImpl.java Ver fichero

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



Cargando…
Cancelar
Guardar