From 43d33bdfe100a7ad52868fbc796bb00850b43579 Mon Sep 17 00:00:00 2001 From: gyq <875626088@qq.com> Date: Wed, 28 Feb 2024 15:01:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E6=8E=A5=E5=95=86=E5=AE=B6=E8=AF=A6?= =?UTF-8?q?=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/shop.js | 24 +++++ src/views/shop/components/detailModal.vue | 107 ++++++++++++++++++++++ src/views/shop/list/index.vue | 27 ++++-- 3 files changed, 150 insertions(+), 8 deletions(-) create mode 100644 src/views/shop/components/detailModal.vue diff --git a/src/api/shop.js b/src/api/shop.js index dd1f0e7..e5c2e3a 100644 --- a/src/api/shop.js +++ b/src/api/shop.js @@ -334,4 +334,28 @@ export function tbShopInfoPost(data, method = 'post') { }) } +/** + * 详情(配置三方支付) + * @returns + */ +export function tbMerchantThirdApply(shopId) { + return request({ + url: `/api/tbMerchantThirdApply/${shopId}`, + method: 'get' + }) +} + +/** + * 修改第三方配置 + * @returns + */ +export function tbMerchantThirdApplyPut(data) { + return request({ + url: `/api/tbMerchantThirdApply`, + method: 'put', + data + }) +} + + diff --git a/src/views/shop/components/detailModal.vue b/src/views/shop/components/detailModal.vue new file mode 100644 index 0000000..47a743b --- /dev/null +++ b/src/views/shop/components/detailModal.vue @@ -0,0 +1,107 @@ + + + + + \ No newline at end of file diff --git a/src/views/shop/list/index.vue b/src/views/shop/list/index.vue index 18c7711..8271744 100644 --- a/src/views/shop/list/index.vue +++ b/src/views/shop/list/index.vue @@ -69,14 +69,14 @@ @@ -88,15 +88,17 @@ @current-change="paginationChange" layout="total, sizes, prev, pager, next, jumper"> +