fix: bug
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 2m27s

This commit is contained in:
sexygoat
2026-04-11 16:51:54 +08:00
parent 33e15314ac
commit 4f02d6faf0
25 changed files with 387 additions and 317 deletions

View File

@@ -5,8 +5,10 @@
// 充值状态
export enum AgentRechargeStatus {
PENDING = 1, // 待支付
COMPLETED = 2, // 已完成
CANCELLED = 3 // 已取消
PAID = 2, // 已支付
COMPLETED = 3, // 已完成
CLOSED = 4, // 已关闭
REFUNDED = 5 // 已退款
}
// 支付方式
@@ -24,6 +26,7 @@ export interface AgentRecharge {
shop_name: string
amount: number // 充值金额(单位:分)
status: AgentRechargeStatus
status_name: string // 状态名称
payment_method: AgentRechargePaymentMethod
payment_channel: AgentRechargePaymentChannel
payment_config_id: number | null

View File

@@ -20,7 +20,7 @@ export interface PaymentMerchantSetting {
publicKey: string
notifyUrl?: string
}
// 微信支付配置
// 微信配置
wechat?: {
enabled: boolean
appId: string

View File

@@ -5,7 +5,7 @@
// 支付渠道类型
export type PaymentProviderType = 'wechat' | 'wechat_v2' | 'fuiou'
// 微信支付配置
// 微信配置
export interface WechatConfig {
id: number
name: string
@@ -24,7 +24,7 @@ export interface WechatConfig {
oa_aes_key: string
oa_oauth_redirect_url: string
// 微信支付配置
// 微信配置
wx_mch_id: string
wx_api_v2_key: string
wx_api_v3_key: string
@@ -79,7 +79,7 @@ export interface CreateWechatConfigRequest {
oa_aes_key?: string
oa_oauth_redirect_url?: string
// 微信支付配置
// 微信配置
wx_mch_id?: string
wx_api_v2_key?: string
wx_api_v3_key?: string
@@ -115,7 +115,7 @@ export interface UpdateWechatConfigRequest {
oa_aes_key?: string
oa_oauth_redirect_url?: string
// 微信支付配置
// 微信配置
wx_mch_id?: string
wx_api_v2_key?: string
wx_api_v3_key?: string