shawenguan 1 год назад
Родитель
Сommit
d4fa72383d
1 измененных файлов с 1 добавлено и 1 удалено
  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);