rambo преди 3 месеца
родител
ревизия
04b51f2fed
променени са 1 файла, в които са добавени 3 реда и са изтрити 1 реда
  1. 3 1
      python/service/online_request/module_online_data.py

+ 3 - 1
python/service/online_request/module_online_data.py

@@ -544,7 +544,9 @@ class OnlineDataRequest(object):
                 if goods_title == "":
                     continue
                 goods_price = goods_data.get("商品价格", 0)
-                if goods_title == 0:
+                if goods_price == '':
+                    goods_price = 0
+                if goods_price == 0:
                     continue
                 skuList = []
                 itemImageInfoList = []