This commit is contained in:
Mrx
2026-02-09 14:51:03 +08:00
parent ad28fc2301
commit 07ad436fd5
4 changed files with 37 additions and 9 deletions

View File

@@ -51,6 +51,7 @@ type (
Id string `json:"id"`
PayMethod string `json:"pay_method"` // 支付方式: wechat, alipay, appleiap, test(仅开发环境), test_empty(仅开发环境-空报告模式)
PayType string `json:"pay_type" validate:"required,oneof=query agent_vip agent_upgrade whitelist"`
Code string `json:"code,optional"` // 微信小程序登录 code未绑定 openid 时传此参数以换取 openid 并调起支付
}
PaymentResp {
PrepayData interface{} `json:"prepay_data"`