This commit is contained in:
邹宗楠
2025-08-29 15:19:43 +08:00
parent 8a0dae350b
commit 4b9b2cc2a8
3 changed files with 8 additions and 9 deletions

View File

@@ -18,13 +18,12 @@ type ApplyContractByPeopleCallBack struct {
// ApplyContractCallBack 电子合同申请回掉
type ApplyContractCallBack struct {
EcApplyId int64 `json:"ecApplyId"`
EcName string `json:"ecName"`
EcNo string `json:"ecNo"`
EcStatus string `json:"ecStatus"`
OrderNo string `json:"orderNo"`
OrgId int `json:"orgId"`
Version string `json:"version"`
AuditStatus string `json:"audit_status"`
AuditDesc string `json:"audit_desc"`
EcApplyId int64 `json:"ec_apply_id"`
OrderNo string `json:"order_no"`
OrgId int `json:"org_id"`
Returl string `json:"ret_url"`
}
// SeparateCallback 商户分账创建/修改回调

View File

@@ -200,7 +200,7 @@ func (a *API) ApplyElectronicContractByPeople(param *ApplyContractByPeople) erro
func (a *API) QueryElectronicContract(orderNo string, orgId int, ecApplyId string) (*ElectronicContractStatus, error) {
reqParameter := map[string]interface{}{
"req_data": map[string]interface{}{
"version": "1.0",
//"version": "1.0",
"order_no": orderNo,
"org_id": orgId,
"ec_apply_id": ecApplyId,

View File

@@ -157,7 +157,7 @@ func TestRefundOrder(t *testing.T) {
}
func TestQueryElectronicContract(t *testing.T) {
api.QueryElectronicContract(GetOrderNumber(8), 983931, "1008409270838853632")
api.QueryElectronicContract(GetOrderNumber(8), 983931, "1013456771342118912")
}
func TestQueryElectronic(t *testing.T) {