From e6e0ecced651c3ac92fc64968a81e247fc3b782f Mon Sep 17 00:00:00 2001 From: YeMingfei666 <1619116647@qq.com> Date: Sun, 29 Sep 2024 10:01:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E5=AE=A2=E4=B8=8B=E5=8D=95=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E7=94=A8=E6=88=B7=E6=89=AB=E6=8F=8F=E4=BA=8C=E7=BB=B4?= =?UTF-8?q?=E7=A0=81=E6=94=AF=E4=BB=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/table.js | 11 +++ .../tool/Instead/components/scan-pay.vue | 67 ++++++++++++++++--- src/views/tool/Instead/index.vue | 14 +++- 3 files changed, 80 insertions(+), 12 deletions(-) diff --git a/src/api/table.js b/src/api/table.js index f8b5e90..34af13a 100644 --- a/src/api/table.js +++ b/src/api/table.js @@ -428,3 +428,14 @@ export function $changeUseType(data) { } }); } +//店铺订单支付获取链接 +export function $getOrderPayUrl(data) { + return request({ + url: '/api/shopPayApi/getOrderPayUrl', + method: "get", + params:{ + shopId: localStorage.getItem("shopId"), + ...data + } + }); +} diff --git a/src/views/tool/Instead/components/scan-pay.vue b/src/views/tool/Instead/components/scan-pay.vue index 255d3cd..9d4a6ae 100644 --- a/src/views/tool/Instead/components/scan-pay.vue +++ b/src/views/tool/Instead/components/scan-pay.vue @@ -37,7 +37,7 @@