From eb5ea81a97aedf7a3355ec98974d47bcb32ce24f Mon Sep 17 00:00:00 2001 From: yvan.ni Date: Sun, 9 Jun 2024 21:54:19 +0800 Subject: [PATCH] 团购的和优化 --- packageC/pages/group_list/group_list.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packageC/pages/group_list/group_list.js b/packageC/pages/group_list/group_list.js index 53632e2..92eb93e 100644 --- a/packageC/pages/group_list/group_list.js +++ b/packageC/pages/group_list/group_list.js @@ -115,11 +115,15 @@ Page({ let typeValue = e.currentTarget.dataset.ty; this.data.type = typeValue; let url = '/api/weshop/goods/groupBuy/page'; + + let user_id=getApp().globalData.user_id || 0; + let data = { store_id: app.globalData.setting.stoid, is_show: 1, is_end: 0, - timetype: typeValue + timetype: typeValue, + user_id:user_id }; this.getData(true, url, data).then(function() { -- libgit2 0.21.4