feat 微信通道添加单独的认证跳转地址

This commit is contained in:
DaxPay
2024-10-28 17:44:16 +08:00
parent 56f4a0ef63
commit 8cc6026e44
2 changed files with 16 additions and 0 deletions

View File

@@ -32,6 +32,8 @@ export interface WechatPayConfig extends MchEntity {
wxMchId?: string
// 是否启用
enable: boolean
// 授权认证地址
authUrl?: string
// 支付限额
limitAmount?: number
// API 版本

View File

@@ -38,6 +38,20 @@
placeholder="用于获取接口调用凭证时使用, 如OpenId/AccessToken等"
/>
</a-form-item>
<a-form-item name="authUrl">
<template #label>
<basic-title
helpMessage="OAuth2认证服务地址, 需要将该地址映射转发到网关服务地址(置空将使用系统配置的网关服务地址进行拼接)"
>
OAuth2认证地址
</basic-title>
</template>
<a-input
v-model:value="form.authUrl"
:disabled="showable"
placeholder="请输入OAuth2认证地址"
/>
</a-form-item>
<a-form-item label="是否启用" name="enable">
<a-switch
checked-children="启用"