Skip to content

Commit 20233ec

Browse files
committed
完善通知参数
1 parent b67453a commit 20233ec

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

user_type.go

+8-8
Original file line numberDiff line numberDiff line change
@@ -105,13 +105,13 @@ func (this AgreementPageSign) Params() map[string]string {
105105

106106
// AgreementQuery 支付宝个人代扣协议查询接口请求参数 https://docs.open.alipay.com/api_2/alipay.user.agreement.query
107107
type AgreementQuery struct {
108-
PersonalProductCode string `json:"personal_product_code,omitempty"` // 协议产品码,商户和支付宝签约时确定,商户可咨询技术支持
109-
AlipayUserId string `json:"alipay_user_id,omitempty"` // 用户的支付宝账号对应的支付宝唯一用户号,以2088开头的16位纯数字组成;本参数与alipay_logon_id不可同时为空,若都填写,则以本参数为准,优先级高于alipay_logon_id
110-
AlipayLogonId string `json:"alipay_logon_id,omitempty"` // 用户的支付宝登录账号,支持邮箱或手机号码格式。本参数与alipay_user_id不可同时为空,若都填写,则以alipay_user_id为准
111-
SignScene string `json:"sign_scene,omitempty"` // 签约协议场景,商户和支付宝签约时确定,商户可咨询技术支持
112-
ExternalAgreementNo string `jsson:"external_agreement_no,omitempty"` // 代扣协议中标示用户的唯一签约号(确保在商户系统中 唯一)。
113-
ThirdPartyType string `jsson:"third_party_type,omitempty"` // 签约第三方主体类型。对于三方协议,表示当前用户和哪一类的第三方主体进行签约
114-
AgreementNo string `json:"agreement_no,omitempty"` // 支付宝系统中用以唯一标识用户签约记录的编号(用户签约成功后的协议号),如果传了该参数,其他参数会被忽略
108+
PersonalProductCode string `json:"personal_product_code,omitempty"` // 协议产品码,商户和支付宝签约时确定,商户可咨询技术支持
109+
AlipayUserId string `json:"alipay_user_id,omitempty"` // 用户的支付宝账号对应的支付宝唯一用户号,以2088开头的16位纯数字组成;本参数与alipay_logon_id不可同时为空,若都填写,则以本参数为准,优先级高于alipay_logon_id
110+
AlipayLogonId string `json:"alipay_logon_id,omitempty"` // 用户的支付宝登录账号,支持邮箱或手机号码格式。本参数与alipay_user_id不可同时为空,若都填写,则以alipay_user_id为准
111+
SignScene string `json:"sign_scene,omitempty"` // 签约协议场景,商户和支付宝签约时确定,商户可咨询技术支持
112+
ExternalAgreementNo string `json:"external_agreement_no,omitempty"` // 代扣协议中标示用户的唯一签约号(确保在商户系统中 唯一)。
113+
ThirdPartyType string `json:"third_party_type,omitempty"` // 签约第三方主体类型。对于三方协议,表示当前用户和哪一类的第三方主体进行签约
114+
AgreementNo string `json:"agreement_no,omitempty"` // 支付宝系统中用以唯一标识用户签约记录的编号(用户签约成功后的协议号),如果传了该参数,其他参数会被忽略
115115
AppAuthToken string `json:"-"`
116116
}
117117

@@ -160,7 +160,7 @@ type AgreementUnsign struct {
160160
PersonalProductCode string `json:"personal_product_code,omitempty"` // 协议产品码,商户和支付宝签约时确定,不同业务场景对应不同的签约产品码
161161
SignScene string `json:"sign_scene,omitempty"` // 签约协议的场景
162162
ExternalAgreementNo string `json:"external_agreement_no,omitempty"` // 代扣协议中标示用户的唯一签约号(确保在商户系统中唯一)
163-
ThirdPartyType string `jsson:"third_party_type,omitempty"` // 签约第三方主体类型。对于三方协议,表示当前用户和哪一类的第三方主体进行签约
163+
ThirdPartyType string `json:"third_party_type,omitempty"` // 签约第三方主体类型。对于三方协议,表示当前用户和哪一类的第三方主体进行签约
164164
AgreementNo string `json:"agreement_no,omitempty"` // 支付宝系统中用以唯一标识用户签约记录的编号(用户签约成功后的协议号),如果传了该参数,其他参数会被忽略
165165
ExtendParams string `json:"extend_params,omitempty"`
166166
OperateType string `json:"operate_type,omitempty"`

0 commit comments

Comments
 (0)