This commit is contained in:
Mrx
2026-02-12 16:56:17 +08:00
parent 54e3edfea7
commit b3105417ec
2 changed files with 4 additions and 3 deletions

View File

@@ -1975,7 +1975,7 @@ type PaymentReq struct {
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"` // 微信小程序登录 code用于未绑定 openid 时换取 openid 并调起支付(可选)
Code string `json:"code,optional"` // 微信小程序登录 code未绑定 openid 时传此参数以换取 openid 并调起支付
}
type PaymentResp struct {