From 3727199935ab742a263e81418c3dddf97ab21752 Mon Sep 17 00:00:00 2001 From: "BOOL\\25024" Date: Mon, 6 May 2024 09:49:12 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AC=AC=E4=B8=89=E6=96=B9=E5=B0=8F=E7=A8=8B?= =?UTF-8?q?=E5=BA=8F=E7=99=BB=E5=BD=95=E6=8B=BC=E6=8E=A5=E6=8E=88=E6=9D=83?= =?UTF-8?q?=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jsowell-ui/src/api/pile/merchant.js | 18 ++ jsowell-ui/src/views/pile/merchant/index.vue | 323 ++++++------------- 2 files changed, 122 insertions(+), 219 deletions(-) diff --git a/jsowell-ui/src/api/pile/merchant.js b/jsowell-ui/src/api/pile/merchant.js index 00a21727c..de630c895 100644 --- a/jsowell-ui/src/api/pile/merchant.js +++ b/jsowell-ui/src/api/pile/merchant.js @@ -69,3 +69,21 @@ export function getFinancialMerchantList(data) { data: data }) } + +// 获取预授权码 +export function getPreAuthorization(query) { + return request({ + url: '/agentDev/getPreAuthorizerCode', + method: 'get', + params: query + }) +} + +// 拼接授权链接 +export function concatenateAuthLinks(data) { + return request({ + url: '/agentDev/concatenateAuthLinks', + method: 'post', + data: data + }) +} \ No newline at end of file diff --git a/jsowell-ui/src/views/pile/merchant/index.vue b/jsowell-ui/src/views/pile/merchant/index.vue index fdaa79c2d..05065d316 100644 --- a/jsowell-ui/src/views/pile/merchant/index.vue +++ b/jsowell-ui/src/views/pile/merchant/index.vue @@ -1,94 +1,38 @@