From 684c4f51906e16b30fc696b731d2436752c3b62e Mon Sep 17 00:00:00 2001 From: fox <1466778434@qq.com> Date: Thu, 1 May 2025 00:04:27 +0800 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20=E6=8E=A5=E5=8F=A3=E5=AF=B9?= =?UTF-8?q?=E6=8E=A5;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/model/product.js | 2 +- api/model/shop.js | 28 +++++++++++ components/base/tabbar.vue | 8 +--- components/order/orderCard.vue | 7 +++ pages.json | 5 +- pages_order/mine/cooperation.vue | 97 ++++++++++++++++++++++++++++++++++++--- pages_order/mine/voucher.vue | 2 +- pages_order/order/createOrder.vue | 80 +++++++------------------------- 8 files changed, 150 insertions(+), 79 deletions(-) diff --git a/api/model/product.js b/api/model/product.js index 5c15a0b..f0b8752 100644 --- a/api/model/product.js +++ b/api/model/product.js @@ -33,7 +33,7 @@ const api = { /** * 获取优惠券信息 */ - queryShopList: { + queryVoucherShopList: { url: '/vouchers/queryShopList', method: 'GET', }, diff --git a/api/model/shop.js b/api/model/shop.js index 55481b6..0073a3e 100644 --- a/api/model/shop.js +++ b/api/model/shop.js @@ -2,6 +2,24 @@ // 商家相关接口 const api = { + /** + * 查询商家详情 + */ + queryShopList: { + url: '/shop/queryShopList', + method: 'GET', + auth : true, + showLoading : true, + }, + /** + * 查询商家详情 + */ + queryShopById: { + url: '/shop/queryShopById', + method: 'GET', + auth : true, + showLoading : true, + }, /** * 新增商家信息 */ @@ -12,6 +30,16 @@ const api = { auth : true, showLoading : true, }, + /** + * 修改商家信息 + */ + updateShop: { + url: '/shop/updateShop', + method: 'POST', + limit : 500, + auth : true, + showLoading : true, + }, } export default api \ No newline at end of file diff --git a/components/base/tabbar.vue b/components/base/tabbar.vue index dee27e8..d96393b 100644 --- a/components/base/tabbar.vue +++ b/components/base/tabbar.vue @@ -1,7 +1,6 @@