shawenguan há 1 ano atrás
pai
commit
6641c5394f
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      Scripts/imoutai/imoutaiHelper.js

+ 1 - 1
Scripts/imoutai/imoutaiHelper.js

@@ -501,7 +501,7 @@ async function getShopItem(sessionId, itemId, token, deviceId, province, city, z
                             const shops = rspData.shops || [];
                             const shopIds = G_P_C_MAP[province][city];
                             lk.log(`data=${JSON.stringify(shopIds)}`);
-                            for (let i = 0; i < shops.lenght; i++) {
+                            for (let i = 0; i < shops.length; i++) {
                                 const shopObj = shops[i];
                                 lk.log(`###${i}###shopId=${shopObj.shopId}`);
                                 lk.log(`${itemId} ${JSON.stringify(shopObj)}`);