1
This commit is contained in:
@@ -18,13 +18,12 @@ type ApplyContractByPeopleCallBack struct {
|
|||||||
|
|
||||||
// ApplyContractCallBack 电子合同申请回掉
|
// ApplyContractCallBack 电子合同申请回掉
|
||||||
type ApplyContractCallBack struct {
|
type ApplyContractCallBack struct {
|
||||||
EcApplyId int64 `json:"ecApplyId"`
|
AuditStatus string `json:"audit_status"`
|
||||||
EcName string `json:"ecName"`
|
AuditDesc string `json:"audit_desc"`
|
||||||
EcNo string `json:"ecNo"`
|
EcApplyId int64 `json:"ec_apply_id"`
|
||||||
EcStatus string `json:"ecStatus"`
|
OrderNo string `json:"order_no"`
|
||||||
OrderNo string `json:"orderNo"`
|
OrgId int `json:"org_id"`
|
||||||
OrgId int `json:"orgId"`
|
Returl string `json:"ret_url"`
|
||||||
Version string `json:"version"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// SeparateCallback 商户分账创建/修改回调
|
// SeparateCallback 商户分账创建/修改回调
|
||||||
|
|||||||
@@ -200,7 +200,7 @@ func (a *API) ApplyElectronicContractByPeople(param *ApplyContractByPeople) erro
|
|||||||
func (a *API) QueryElectronicContract(orderNo string, orgId int, ecApplyId string) (*ElectronicContractStatus, error) {
|
func (a *API) QueryElectronicContract(orderNo string, orgId int, ecApplyId string) (*ElectronicContractStatus, error) {
|
||||||
reqParameter := map[string]interface{}{
|
reqParameter := map[string]interface{}{
|
||||||
"req_data": map[string]interface{}{
|
"req_data": map[string]interface{}{
|
||||||
"version": "1.0",
|
//"version": "1.0",
|
||||||
"order_no": orderNo,
|
"order_no": orderNo,
|
||||||
"org_id": orgId,
|
"org_id": orgId,
|
||||||
"ec_apply_id": ecApplyId,
|
"ec_apply_id": ecApplyId,
|
||||||
|
|||||||
@@ -157,7 +157,7 @@ func TestRefundOrder(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestQueryElectronicContract(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) {
|
func TestQueryElectronic(t *testing.T) {
|
||||||
|
|||||||
Reference in New Issue
Block a user