diff --git a/controllers/jd_callback.go b/controllers/jd_callback.go index 91ea392f3..b6033d962 100644 --- a/controllers/jd_callback.go +++ b/controllers/jd_callback.go @@ -151,7 +151,7 @@ func (c *DjswController) transferResponse(inCallbackResponse *jdapi.CallbackResp return inCallbackResponse } -func (c *DjswController) AfterSaleBillStatus() { +func (c *DjswController) afterSaleBillStatus() { var obj *jdapi.CallbackOrderMsg var callbackResponse *jdapi.CallbackResponse obj, callbackResponse = api.JdAPI.GetOrderCallbackMsg(c.Ctx.Input.RequestBody) @@ -162,3 +162,11 @@ func (c *DjswController) AfterSaleBillStatus() { c.Data["json"] = callbackResponse c.ServeJSON() } + +func (c *DjswController) AfterSaleBillStatus() { + c.afterSaleBillStatus() +} + +func (c *DjswController) OrderAccounting() { + c.afterSaleBillStatus() +}