1
This commit is contained in:
@@ -175,6 +175,26 @@ func (a *API) ApplyElectronicContract(param *ApplyContractParam) (*ApplyContract
|
||||
return resp, nil
|
||||
}
|
||||
|
||||
// ApplyElectronicContractByPeople 申请人工审核
|
||||
func (a *API) ApplyElectronicContractByPeople(param *ApplyContractByPeople) error {
|
||||
reqParameter := map[string]interface{}{
|
||||
"req_data": utils.Struct2Map(param, "", false),
|
||||
"ver": Version,
|
||||
"timestamp": utils.Time2TimeStrByFormat(time.Now(), TimeFormat),
|
||||
"req_id": utils.GetUUID(),
|
||||
}
|
||||
result, err := a.AccessAPISign(OrderProdUrl, OrderEcApplyByPeopleActive, http.MethodPost, "", reqParameter)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
if result["code"].(string) != Success {
|
||||
return fmt.Errorf("%s", result["msg"].(string))
|
||||
}
|
||||
|
||||
return err
|
||||
}
|
||||
|
||||
// QueryElectronicContract 电子合同签约审核结果查询
|
||||
func (a *API) QueryElectronicContract(orderNo string, orgId int, ecApplyId string) (*ElectronicContractStatus, error) {
|
||||
reqParameter := map[string]interface{}{
|
||||
|
||||
Reference in New Issue
Block a user