shawenguan il y a 1 an
Parent
commit
d4fa72383d
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      Scripts/imoutai/imoutaiHelper.js

+ 1 - 1
Scripts/imoutai/imoutaiHelper.js

@@ -679,7 +679,7 @@ async function getShopItem(sessionId, itemId, token, deviceId, province, city, d
                         if (shopIds) {
                             if (jsonRetObj.code == 2000) {
                                 const rspData = jsonRetObj.data || {};
-                                const shops = rspData.shops || [];
+                                let shops = rspData.shops || [];
                                 // lk.log(`data=${JSON.stringify(shopIds)}`);
                                 if(fliterRule == 0){
                                     shops = fliterShopByDistance(itemId, shops, iMT_Location.lat, iMT_Location.lng);