- 京东操作员统一加jxadmin前缀

This commit is contained in:
gazebo
2019-05-29 15:16:13 +08:00
parent f69a27d4f2
commit ed98603ccb
2 changed files with 8 additions and 8 deletions

View File

@@ -327,7 +327,7 @@ func (a *API) OrderCancelOperate(orderId string, isAgreed bool, operator, remark
jdParams := map[string]interface{}{
"orderId": orderId,
"isAgreed": isAgreed,
"operator": operator,
"operator": utils.GetAPIOperator(operator),
"remark": remark,
}
_, 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) {
jdParams := map[string]interface{}{
"orderId": orderId,
"operPin": operPin,
"operPin": utils.GetAPIOperator(operPin),
"remark": remark,
"oaosAdjustDTOList": oaosAdjustDTOList,
}
@@ -353,7 +353,7 @@ func (a *API) ReceiveFailedAudit(orderId string, isAgreed bool, operator, remark
jdParams := map[string]interface{}{
"orderId": orderId,
"isAgreed": isAgreed,
"operator": operator,
"operator": utils.GetAPIOperator(operator),
"remark": remark,
}
_, 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) {
jdParams := map[string]interface{}{
"orderId": orderId,
"updatePin": updatePin,
"updatePin": utils.GetAPIOperator(updatePin),
}
_, err = a.AccessAPINoPage("bm/urgeDispatching", jdParams, nil, nil, nullResultParser)
return err
@@ -388,7 +388,7 @@ func (a *API) AfsOpenApprove(afsOrderID string, afsApproveType int, rejectReason
jdParams := map[string]interface{}{
"serviceOrder": afsOrderID,
"approveType": afsApproveType,
"optPin": optPin,
"optPin": utils.GetAPIOperator(optPin),
}
if 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) {
jdParams := map[string]interface{}{
"serviceOrder": afsOrderID,
"pin": pin,
"pin": utils.GetAPIOperator(pin),
}
_, err = a.AccessAPINoPage("afs/confirmReceipt", jdParams, nil, nil, nullResultParser)
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) {
jdParams := map[string]interface{}{
"orderId": OrderID,
"pin": pin,
"pin": utils.GetAPIOperator(pin),
"questionTypeCode": questionTypeCode,
}
if questionDesc != "" {

View File

@@ -142,7 +142,7 @@ func (a *API) OrgReplyComment(orderID int64, storeID, content, replayPin string)
"orderId": orderID,
"storeId": storeID,
"content": content,
"replyPin": replayPin,
"replyPin": utils.GetAPIOperator(replayPin),
}
_, err := a.AccessAPINoPage("commentOutApi/orgReplyComment", jdParams, nil, nil, genNoPageResultParser("code", "msg", "result", "200"))
return err