- tiny buf fixed.

This commit is contained in:
gazebo
2018-06-18 16:32:31 +08:00
parent 26347127de
commit a7383e594e
2 changed files with 3 additions and 3 deletions

View File

@@ -26,7 +26,7 @@ func (c *ELMOrderController) MsgPost() {
obj, callbackResponse := globals.ElmAPI.GetMsgFromData(c.Ctx.Input.RequestBody)
if callbackResponse == nil {
cc := &controller.OrderController{}
c.Data["json"] = cc.OrderMessage(obj)
callbackResponse = cc.OrderMessage(obj)
}
c.Data["json"] = callbackResponse
c.ServeJSON()