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