Commit 868764c8 authored by Junling Bu's avatar Junling Bu
Browse files

fix[renard-wx]: 商品列表返回值应该采用list,而不是goodsList

parent bdfc9b79
......@@ -107,7 +107,7 @@ Page({
})
.then(function(res) {
that.setData({
goodsList: res.data.goodsList,
goodsList: res.data.list,
});
wx.hideLoading();
});
......
......@@ -163,7 +163,7 @@ Page({
}).then(function(res) {
if (res.errno === 0) {
that.setData({
relatedGoods: res.data.goodsList,
relatedGoods: res.data.list,
});
}
});
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment