Просмотр исходного кода

//update test

release_toaliyun_real
xhxu 4 лет назад
Родитель
Сommit
35b9d7e6db
1 измененных файлов: 5 добавлений и 3 удалений
  1. +5
    -3
      mallinkService/src/main/java/com/iformall/douyin/web/api/impl/TtWebProductServiceImpl.java

+ 5
- 3
mallinkService/src/main/java/com/iformall/douyin/web/api/impl/TtWebProductServiceImpl.java Просмотреть файл

@@ -62,9 +62,11 @@ public class TtWebProductServiceImpl implements TtWebProductService {
final TtWebGetRequestExecutor executor = new TtWebGetRequestExecutor(this.service.getRequestHttp()); final TtWebGetRequestExecutor executor = new TtWebGetRequestExecutor(this.service.getRequestHttp());
String apiUrl = this.service.getTtWebConfig().getApiBegin().getPrefix() + this.GET_SPU_GET; String apiUrl = this.service.getTtWebConfig().getApiBegin().getPrefix() + this.GET_SPU_GET;
String param = "spu_ext_id=" + spuGet.getSpuExtId() + String param = "spu_ext_id=" + spuGet.getSpuExtId() +
"need_spu_draft=" + spuGet.isNeedSpuDraft() +
"spu_draft_count=" + spuGet.getSpuDraftcount() +
"spu_draft_count=" + spuGet.getSupplierIdsForFilterReason().toString();
"&need_spu_draft=" + spuGet.isNeedSpuDraft() +
"&spu_draft_count=" + spuGet.getSpuDraftcount();
if(spuGet.getSupplierIdsForFilterReason() != null && spuGet.getSupplierIdsForFilterReason().size() > 0){
param += "&spu_draft_count=" + spuGet.getSupplierIdsForFilterReason().toString();
}
String result = this.service.execute(executor, apiUrl, param); String result = this.service.execute(executor, apiUrl, param);
return TtSpuGetResult.fromJson(result); return TtSpuGetResult.fromJson(result);
} }


Загрузка…
Отмена
Сохранить