- 京东操作员统一加jxadmin前缀
This commit is contained in:
@@ -327,7 +327,7 @@ func (a *API) OrderCancelOperate(orderId string, isAgreed bool, operator, remark
|
|||||||
jdParams := map[string]interface{}{
|
jdParams := map[string]interface{}{
|
||||||
"orderId": orderId,
|
"orderId": orderId,
|
||||||
"isAgreed": isAgreed,
|
"isAgreed": isAgreed,
|
||||||
"operator": operator,
|
"operator": utils.GetAPIOperator(operator),
|
||||||
"remark": remark,
|
"remark": remark,
|
||||||
}
|
}
|
||||||
_, err = a.AccessAPINoPage("ocs/orderCancelOperate", jdParams, nil, nil, nullResultParser)
|
_, err = a.AccessAPINoPage("ocs/orderCancelOperate", jdParams, nil, nil, nullResultParser)
|
||||||
@@ -339,7 +339,7 @@ func (a *API) OrderCancelOperate(orderId string, isAgreed bool, operator, remark
|
|||||||
func (a *API) AdjustOrder(orderId, operPin, remark string, oaosAdjustDTOList []*OAOSAdjustDTO) (err error) {
|
func (a *API) AdjustOrder(orderId, operPin, remark string, oaosAdjustDTOList []*OAOSAdjustDTO) (err error) {
|
||||||
jdParams := map[string]interface{}{
|
jdParams := map[string]interface{}{
|
||||||
"orderId": orderId,
|
"orderId": orderId,
|
||||||
"operPin": operPin,
|
"operPin": utils.GetAPIOperator(operPin),
|
||||||
"remark": remark,
|
"remark": remark,
|
||||||
"oaosAdjustDTOList": oaosAdjustDTOList,
|
"oaosAdjustDTOList": oaosAdjustDTOList,
|
||||||
}
|
}
|
||||||
@@ -353,7 +353,7 @@ func (a *API) ReceiveFailedAudit(orderId string, isAgreed bool, operator, remark
|
|||||||
jdParams := map[string]interface{}{
|
jdParams := map[string]interface{}{
|
||||||
"orderId": orderId,
|
"orderId": orderId,
|
||||||
"isAgreed": isAgreed,
|
"isAgreed": isAgreed,
|
||||||
"operator": operator,
|
"operator": utils.GetAPIOperator(operator),
|
||||||
"remark": remark,
|
"remark": remark,
|
||||||
}
|
}
|
||||||
_, err = a.AccessAPINoPage("order/receiveFailedAudit", jdParams, nil, nil, nullResultParser)
|
_, err = a.AccessAPINoPage("order/receiveFailedAudit", jdParams, nil, nil, nullResultParser)
|
||||||
@@ -365,7 +365,7 @@ func (a *API) ReceiveFailedAudit(orderId string, isAgreed bool, operator, remark
|
|||||||
func (a *API) UrgeDispatching(orderId, updatePin string) (err error) {
|
func (a *API) UrgeDispatching(orderId, updatePin string) (err error) {
|
||||||
jdParams := map[string]interface{}{
|
jdParams := map[string]interface{}{
|
||||||
"orderId": orderId,
|
"orderId": orderId,
|
||||||
"updatePin": updatePin,
|
"updatePin": utils.GetAPIOperator(updatePin),
|
||||||
}
|
}
|
||||||
_, err = a.AccessAPINoPage("bm/urgeDispatching", jdParams, nil, nil, nullResultParser)
|
_, err = a.AccessAPINoPage("bm/urgeDispatching", jdParams, nil, nil, nullResultParser)
|
||||||
return err
|
return err
|
||||||
@@ -388,7 +388,7 @@ func (a *API) AfsOpenApprove(afsOrderID string, afsApproveType int, rejectReason
|
|||||||
jdParams := map[string]interface{}{
|
jdParams := map[string]interface{}{
|
||||||
"serviceOrder": afsOrderID,
|
"serviceOrder": afsOrderID,
|
||||||
"approveType": afsApproveType,
|
"approveType": afsApproveType,
|
||||||
"optPin": optPin,
|
"optPin": utils.GetAPIOperator(optPin),
|
||||||
}
|
}
|
||||||
if rejectReason != "" {
|
if rejectReason != "" {
|
||||||
jdParams["rejectReason"] = rejectReason
|
jdParams["rejectReason"] = rejectReason
|
||||||
@@ -402,7 +402,7 @@ func (a *API) AfsOpenApprove(afsOrderID string, afsApproveType int, rejectReason
|
|||||||
func (a *API) ConfirmReceipt(afsOrderID, pin string) (err error) {
|
func (a *API) ConfirmReceipt(afsOrderID, pin string) (err error) {
|
||||||
jdParams := map[string]interface{}{
|
jdParams := map[string]interface{}{
|
||||||
"serviceOrder": afsOrderID,
|
"serviceOrder": afsOrderID,
|
||||||
"pin": pin,
|
"pin": utils.GetAPIOperator(pin),
|
||||||
}
|
}
|
||||||
_, err = a.AccessAPINoPage("afs/confirmReceipt", jdParams, nil, nil, nullResultParser)
|
_, err = a.AccessAPINoPage("afs/confirmReceipt", jdParams, nil, nil, nullResultParser)
|
||||||
return err
|
return err
|
||||||
@@ -413,7 +413,7 @@ func (a *API) ConfirmReceipt(afsOrderID, pin string) (err error) {
|
|||||||
func (a *API) AfsSubmit(OrderID, pin, questionTypeCode, questionDesc, questionPic, customerName, customerMobilePhone, address string, skuList []*VenderAfsSkuDTO) (afsOrderID string, err error) {
|
func (a *API) AfsSubmit(OrderID, pin, questionTypeCode, questionDesc, questionPic, customerName, customerMobilePhone, address string, skuList []*VenderAfsSkuDTO) (afsOrderID string, err error) {
|
||||||
jdParams := map[string]interface{}{
|
jdParams := map[string]interface{}{
|
||||||
"orderId": OrderID,
|
"orderId": OrderID,
|
||||||
"pin": pin,
|
"pin": utils.GetAPIOperator(pin),
|
||||||
"questionTypeCode": questionTypeCode,
|
"questionTypeCode": questionTypeCode,
|
||||||
}
|
}
|
||||||
if questionDesc != "" {
|
if questionDesc != "" {
|
||||||
|
|||||||
@@ -142,7 +142,7 @@ func (a *API) OrgReplyComment(orderID int64, storeID, content, replayPin string)
|
|||||||
"orderId": orderID,
|
"orderId": orderID,
|
||||||
"storeId": storeID,
|
"storeId": storeID,
|
||||||
"content": content,
|
"content": content,
|
||||||
"replyPin": replayPin,
|
"replyPin": utils.GetAPIOperator(replayPin),
|
||||||
}
|
}
|
||||||
_, err := a.AccessAPINoPage("commentOutApi/orgReplyComment", jdParams, nil, nil, genNoPageResultParser("code", "msg", "result", "200"))
|
_, err := a.AccessAPINoPage("commentOutApi/orgReplyComment", jdParams, nil, nil, genNoPageResultParser("code", "msg", "result", "200"))
|
||||||
return err
|
return err
|
||||||
|
|||||||
Reference in New Issue
Block a user