diff --git a/components/diy_goodsGroup/diy_goodsGroup.js b/components/diy_goodsGroup/diy_goodsGroup.js index 15aa09c..93f9bf3 100644 --- a/components/diy_goodsGroup/diy_goodsGroup.js +++ b/components/diy_goodsGroup/diy_goodsGroup.js @@ -31,7 +31,7 @@ Component({ is_hot: 0, is_new: 0, isyhgoods:0, - baseUrl: "/api/weshop/goods/page", + baseUrl: "/api/weshop/goods/page?isnewwhere=1", resourceUrl: t.globalData.setting.resourceUrl, url: t.globalData.setting.imghost, currentPage: 1, @@ -205,7 +205,7 @@ Component({ } str = str.substring(0, str.length - 1); - await app.request.get("/api/weshop/goods/getgoodslistOrdby?store_id=" + os.stoid + "&goodsidlist=" + str, { + await app.request.get("/api/weshop/goods/getgoodslistOrdby?isnewwhere=1&store_id=" + os.stoid + "&goodsidlist=" + str, { data: { user_id: user_id }, isShowLoading: false, success: function (res) { @@ -242,7 +242,7 @@ Component({ if (!user_id) user_id = 0; r_data.user_id = user_id; - await app.request.promiseGet("/api/weshop/goods/page", { + await app.request.promiseGet("/api/weshop/goods/page?isnewwhere=1", { data: r_data }).then(res => { th.data.loading = 0; @@ -260,7 +260,7 @@ Component({ break; case "3": var item = {}; - await app.request.promiseGet("/api/weshop/goodsGroup/pageGoodsList", { + await app.request.promiseGet("/api/weshop/goodsGroup/pageGoodsList?isnewwhere=1", { data: { store_id: os.stoid, gpid: wgroup, diff --git a/components/goods_list/goods_list.js b/components/goods_list/goods_list.js index 24d651f..365cf59 100644 --- a/components/goods_list/goods_list.js +++ b/components/goods_list/goods_list.js @@ -93,7 +93,7 @@ Component({ if (!user_id) user_id = 0; var curPage = that.data.curPage; - getApp().request.get('/api/weshop/goods/page?page', { + getApp().request.get('/api/weshop/goods/page?isnewwhere=1', { isShowLoading: false, data: { is_mainshow: 1,