|
@@ -31,6 +31,9 @@ async function trySearch() {
|
|
magicJS.logger.info(`[2]搜索结果数:${infos.length}`);
|
|
magicJS.logger.info(`[2]搜索结果数:${infos.length}`);
|
|
for (let info of infos) {
|
|
for (let info of infos) {
|
|
magicJS.logger.info(`infoId=${info.infoId}`);
|
|
magicJS.logger.info(`infoId=${info.infoId}`);
|
|
|
|
+ if (info.infoId == void 0) {
|
|
|
|
+ continue;
|
|
|
|
+ }
|
|
let retGoodsInfo = await getGoodsInfo(info.infoId);
|
|
let retGoodsInfo = await getGoodsInfo(info.infoId);
|
|
let report = retGoodsInfo.respData?.report;
|
|
let report = retGoodsInfo.respData?.report;
|
|
let itemId2AttrInfo = report.itemId2AttrInfo;
|
|
let itemId2AttrInfo = report.itemId2AttrInfo;
|