Commit 097faf1976c0133b9deb22c45f6981d5eaf8b2ac

Authored by antploy
2 parents 6a123357 8fbe979a

Merge branch 'dev_ladder' of http://git.vipzhuang.cn/wxd/MShopWeApp into dev_ladder

pages/goods/goodsInfo/goodsInfo.js
... ... @@ -5719,7 +5719,7 @@ Page({
5719 5719 getApp().request.get("/api/weshop/goods/getGoodsPromList/" + os.stoid + "/" + gid + "/0", {
5720 5720 success: function (res) {
5721 5721 console.log(res);
5722   - if (res.data.code == 0) {
  5722 + if (res.data.code == 0 && res.data.data) {
5723 5723 var r_data = res.data.data;
5724 5724 var max = 0, min = 0;
5725 5725 if (r_data.collocationList) {
... ...