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 @@