This commit is contained in:
@@ -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
|
||||
|
||||
@@ -20,7 +20,7 @@ export interface PaymentMerchantSetting {
|
||||
publicKey: string
|
||||
notifyUrl?: string
|
||||
}
|
||||
// 微信支付配置
|
||||
// 微信配置
|
||||
wechat?: {
|
||||
enabled: boolean
|
||||
appId: string
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user