mirror of
https://github.com/certd/certd.git
synced 2026-04-24 20:57:26 +08:00
perf: 优化微信支付对接文档
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 262 KiB |
@@ -11,7 +11,8 @@
|
|||||||
|
|
||||||
* 进入“账户中心”->“API安全”->“商户API证书”->“管理证书”
|
* 进入“账户中心”->“API安全”->“商户API证书”->“管理证书”
|
||||||
* 根据指引生成证书
|
* 根据指引生成证书
|
||||||
* 得到私钥和公钥
|
* 得到apiclient证书和私钥
|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
3. 填写APIv3密钥
|
3. 填写APIv3密钥
|
||||||
@@ -24,4 +25,4 @@
|
|||||||
4. 在Certd后台配置微信支付
|
4. 在Certd后台配置微信支付
|
||||||
* 进入“系统”->"设置"->“支付设置”
|
* 进入“系统”->"设置"->“支付设置”
|
||||||
* 启用微信支付,选择“微信支付配置”,点击添加
|
* 启用微信支付,选择“微信支付配置”,点击添加
|
||||||
* 填写微信支付商户号、证书私钥、证书公钥、APIv3密钥即可。
|
* 填写微信支付商户号、证书(apiclient_cert.pem)、私钥(apiclient_key.pem)、APIv3密钥即可。
|
||||||
@@ -62,7 +62,7 @@ export default {
|
|||||||
forgotAdminPassword: "忘记管理员密码?",
|
forgotAdminPassword: "忘记管理员密码?",
|
||||||
registerLink: "注册",
|
registerLink: "注册",
|
||||||
|
|
||||||
smsTab: "短信验证码登录",
|
smsTab: "手机号注册登录",
|
||||||
passwordTab: "密码登录",
|
passwordTab: "密码登录",
|
||||||
|
|
||||||
title: "修改密码",
|
title: "修改密码",
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
</a-form-item>
|
</a-form-item>
|
||||||
</template>
|
</template>
|
||||||
</a-tab-pane>
|
</a-tab-pane>
|
||||||
<a-tab-pane key="email" tab="邮箱注册" :disabled="!settingsStore.sysPublic.emailRegisterEnabled">
|
<a-tab-pane v-if="settingsStore.sysPublic.emailRegisterEnabled !== false" key="email" tab="邮箱注册">
|
||||||
<template v-if="registerType === 'email'">
|
<template v-if="registerType === 'email'">
|
||||||
<a-form-item required has-feedback name="username" label="用户名" :rules="rules.username">
|
<a-form-item required has-feedback name="username" label="用户名" :rules="rules.username">
|
||||||
<a-input v-model:value="formState.username" placeholder="用户名" size="large" autocomplete="off">
|
<a-input v-model:value="formState.username" placeholder="用户名" size="large" autocomplete="off">
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
LEGO_VERSION=4.30.1
|
LEGO_VERSION=4.30.1
|
||||||
certd_plugin_loadmode=metadata
|
certd_plugin_loadmode=dev
|
||||||
@@ -30,12 +30,13 @@ export class WxpayAccess extends BaseAccess {
|
|||||||
mchid: string;
|
mchid: string;
|
||||||
|
|
||||||
@AccessInput({
|
@AccessInput({
|
||||||
title: "公钥",
|
title: "证书公钥",
|
||||||
component: {
|
component: {
|
||||||
name: "a-textarea",
|
name: "a-textarea",
|
||||||
rows: 3,
|
rows: 3,
|
||||||
placeholder: "MIIBIjANBg...",
|
placeholder: "-----BEGIN CERTIFICATE-----",
|
||||||
},
|
},
|
||||||
|
helper: "微信商户平台—>账户设置—>API安全—>验证商户身份—>商户API证书—>管理证书—>apiclient_cert.pem",
|
||||||
required: true,
|
required: true,
|
||||||
encrypt: true,
|
encrypt: true,
|
||||||
})
|
})
|
||||||
@@ -44,10 +45,11 @@ export class WxpayAccess extends BaseAccess {
|
|||||||
@AccessInput({
|
@AccessInput({
|
||||||
title: "私钥",
|
title: "私钥",
|
||||||
component: {
|
component: {
|
||||||
placeholder: "MIIEvQIBADANB...",
|
placeholder: "-----BEGIN PRIVATE KEY-----",
|
||||||
name: "a-textarea",
|
name: "a-textarea",
|
||||||
rows: 3,
|
rows: 3,
|
||||||
},
|
},
|
||||||
|
helper: "证书私钥 apiclient_key.pem",
|
||||||
required: true,
|
required: true,
|
||||||
encrypt: true,
|
encrypt: true,
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user