diff --git a/src/api/modules/mer_admin.js b/src/api/modules/mer_admin.js index ad3bcd0..74ff7d7 100644 --- a/src/api/modules/mer_admin.js +++ b/src/api/modules/mer_admin.js @@ -49,12 +49,12 @@ export const mer_admin = { return $http.post(`/merchant-api/product/page`, data); }, //商户商品分类 - getProductCategory: () => { - return $http.get( - `/merchant-api/product/category/list?shopId=${ - JSON.parse(sessionStorage.getItem("userInfo")).shopId - }` - ); + getProductCategory: (data) => { + return $http.request({ + url: `/merchant-api/product/category/list`, + method: "get", + params: data, + }); }, //上架或下架 putOnShelvesProducts: (data) => { @@ -154,6 +154,14 @@ export const mer_admin = { params: { id }, }); }, + //市场下的店铺列表 + storeList: (data) => { + return $http.request({ + method: "get", + url: `/merchant-api/market/shop_list`, + params: data, + }); + }, //获取品牌信息 getBrandInfo: () => { return $http.request({ diff --git a/src/views/modules/bank-card/index.vue b/src/views/modules/bank-card/index.vue index cb8fa67..80471d5 100644 --- a/src/views/modules/bank-card/index.vue +++ b/src/views/modules/bank-card/index.vue @@ -133,7 +133,7 @@ export default { { title: "银行卡号", align: "center", - field: "cardId", + field: "cardNo", }, { title: "手机号", diff --git a/src/views/modules/product/index.vue b/src/views/modules/product/index.vue index 1bb5a99..f143f17 100644 --- a/src/views/modules/product/index.vue +++ b/src/views/modules/product/index.vue @@ -1,6 +1,6 @@