Browse Source

//update test

release_toaliyun_real
xhxu 4 years ago
parent
commit
67cbec2762
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      mallinkService/src/main/java/com/iformall/douyin/web/api/impl/TtWebProductServiceImpl.java

+ 5
- 1
mallinkService/src/main/java/com/iformall/douyin/web/api/impl/TtWebProductServiceImpl.java View File

@@ -61,7 +61,11 @@ public class TtWebProductServiceImpl implements TtWebProductService {
public TtSpuGetResult spuGet(TtSpuGet spuGet) throws WxErrorException {
final TtWebGetRequestExecutor executor = new TtWebGetRequestExecutor(this.service.getRequestHttp());
String apiUrl = this.service.getTtWebConfig().getApiBegin().getPrefix() + this.GET_SPU_GET;
String result = this.service.execute(executor, apiUrl, spuGet.toString());
String param = "spu_ext_id=" + spuGet.getSpuExtId() +
"need_spu_draft=" + spuGet.isNeedSpuDraft() +
"spu_draft_count=" + spuGet.getSpuDraftcount() +
"spu_draft_count=" + spuGet.getSupplierIdsForFilterReason().toString();
String result = this.service.execute(executor, apiUrl, param);
return TtSpuGetResult.fromJson(result);
}



Loading…
Cancel
Save