feat: payjs service is ready

This commit is contained in:
RockYang
2024-01-06 15:53:30 +08:00
parent b1ee34ba0c
commit 2f8d2f4854
4 changed files with 97 additions and 3 deletions

View File

@@ -25,6 +25,7 @@ type AppConfig struct {
AlipayConfig AlipayConfig
HuPiPayConfig HuPiPayConfig
SmtpConfig SmtpConfig // 邮件发送配置
JPayConfig JPayConfig // payjs 支付配置
}
type SmtpConfig struct {
@@ -35,6 +36,15 @@ type SmtpConfig struct {
Password string // 发件人邮箱密码
}
// JPayConfig PayJs 支付配置
type JPayConfig struct {
Enabled bool
AppId string // 商户 ID
PrivateKey string // 私钥
ApiURL string // API 网关
NotifyURL string // 异步回调地址
}
type ChatPlusApiConfig struct {
ApiURL string
AppId string