From 5c640c08c540a1582c88f6f86d157364ecd01862 Mon Sep 17 00:00:00 2001 From: gazebo Date: Tue, 19 Mar 2019 11:51:03 +0800 Subject: [PATCH] - OrderAccounting --- controllers/jd_callback.go | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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() +}