浏览代码

上传第三方问题

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 = []