1
This commit is contained in:
@@ -2,6 +2,7 @@ package jdapi
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"git.rosy.net.cn/jx-callback/globals"
|
||||
"strings"
|
||||
|
||||
"git.rosy.net.cn/baseapi"
|
||||
@@ -452,6 +453,14 @@ func (a *API) OrderAcceptOperate(orderId string, isAgreed bool, userName string)
|
||||
"operator": utils.GetAPIOperator(userName),
|
||||
}
|
||||
_, err := a.AccessAPINoPage("ocs/orderAcceptOperate", jdParams, nil, nil, orderOperationResultParser)
|
||||
if err != nil {
|
||||
printParam := map[string]interface{}{
|
||||
"orderId": utils.Str2Int64(orderId),
|
||||
}
|
||||
result, err := a.AccessAPINoPage("bm/open/api/order/printOrder", printParam, nil, nil, nil)
|
||||
globals.SugarLogger.Debugf("============result := %s", utils.Format4Output(result, false))
|
||||
globals.SugarLogger.Debugf("============result := %s", utils.Format4Output(err, false))
|
||||
}
|
||||
return err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user