f
This commit is contained in:
@@ -329,7 +329,8 @@ type FillComponent struct {
|
|||||||
type StartSignFlowRequest struct {
|
type StartSignFlowRequest struct {
|
||||||
TemplateID interface{} `json:"templateId,omitempty"` // 模板ID(int64或string,与templateCode二选一)
|
TemplateID interface{} `json:"templateId,omitempty"` // 模板ID(int64或string,与templateCode二选一)
|
||||||
TemplateCode string `json:"templateCode,omitempty"` // 模板代码(与templateId二选一)
|
TemplateCode string `json:"templateCode,omitempty"` // 模板代码(与templateId二选一)
|
||||||
FlowType int `json:"flowType"` // 流程类型:0-正常签署流程,2-临时签署流程(买家信息后补)
|
FlowType int `json:"flowType"` // 流程类型:0-正常签署流程,2-临时签署流程(买家信息后补)
|
||||||
|
SourceOrderCode string `json:"sourceOrderCode"` // 来源订单号
|
||||||
ParticipantList []ParticipantInfo `json:"participantList"`
|
ParticipantList []ParticipantInfo `json:"participantList"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -706,9 +707,9 @@ func (y *YunYinSignPayService) CreateYunYinSignPayOrder(ctx context.Context, use
|
|||||||
},
|
},
|
||||||
// 签署方2:用户(支付方)- 使用固定的手机号和姓名
|
// 签署方2:用户(支付方)- 使用固定的手机号和姓名
|
||||||
{
|
{
|
||||||
ParticipantFlag: "签署方2",
|
ParticipantFlag: "签署方2",
|
||||||
PsnAccount: fixedMobile, // 固定手机号
|
PsnAccount: fixedMobile, // 固定手机号
|
||||||
PsnName: fixedName, // 固定姓名
|
PsnName: fixedName, // 固定姓名
|
||||||
PayeeContractFlag: 1,
|
PayeeContractFlag: 1,
|
||||||
Payee: &PayeeInfo{
|
Payee: &PayeeInfo{
|
||||||
Amount: amount, // 金额根据订单动态
|
Amount: amount, // 金额根据订单动态
|
||||||
@@ -736,6 +737,7 @@ func (y *YunYinSignPayService) CreateYunYinSignPayOrder(ctx context.Context, use
|
|||||||
startSignFlowReq := &StartSignFlowRequest{
|
startSignFlowReq := &StartSignFlowRequest{
|
||||||
TemplateID: templateID, // 模板ID(int64类型)
|
TemplateID: templateID, // 模板ID(int64类型)
|
||||||
FlowType: 2, // 2-临时签署流程(签署方二信息可为占位符)
|
FlowType: 2, // 2-临时签署流程(签署方二信息可为占位符)
|
||||||
|
SourceOrderCode: outTradeNo, // 来源订单号
|
||||||
ParticipantList: participantList,
|
ParticipantList: participantList,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user