铺货限制修改

20230922-ljl-fixBug
cxxxxxxx详 1 year ago
parent 65e193edb1
commit dd194156d6

@ -81,7 +81,7 @@ public class GetProductInfoByProductId extends SPIBaseService implements Extensi
getAuthCode();
GetProductInfoRequestDTO fields = req.getData();
List<String> productIds = fields.getProductIds();
if (productIds.size() > 20) {
if (productIds.size() > 15) {
return R.ok(Ret.fail("最多支持20个商品"));
}
List<Object> productInfo = new ArrayList<>();

@ -81,7 +81,7 @@ public class GetProductInfoService extends SPIBaseService implements ExtensionSe
GetProductInfoRequestDTO fields = req.getData();
// List<String> sourceItemUrls = new ArrayList<>();
List<String> sourceItemUrls = fields.getSourceItemUrls();
if (sourceItemUrls.size() > 20) {
if (sourceItemUrls.size() > 15) {
return R.ok(Ret.fail("最多支持20个商品"));
}
// sourceItemUrls.add("https://detail.1688.com/offer/682805686164.html?spm=a2638t.b_90254924.bangdan-list.3.3872436cl59VWf&cosite=baidujj_pz&tracelog=p4p&_p_isad=1&clickid=3906df8adbe74c3faba6eefc496fa074&sessionid=3fa85d5fd57096560a3cfa71088c6e4a");

Loading…
Cancel
Save