- tiny buf fixed.
This commit is contained in:
@@ -26,7 +26,7 @@ func (c *ELMOrderController) MsgPost() {
|
|||||||
obj, callbackResponse := globals.ElmAPI.GetMsgFromData(c.Ctx.Input.RequestBody)
|
obj, callbackResponse := globals.ElmAPI.GetMsgFromData(c.Ctx.Input.RequestBody)
|
||||||
if callbackResponse == nil {
|
if callbackResponse == nil {
|
||||||
cc := &controller.OrderController{}
|
cc := &controller.OrderController{}
|
||||||
c.Data["json"] = cc.OrderMessage(obj)
|
callbackResponse = cc.OrderMessage(obj)
|
||||||
}
|
}
|
||||||
c.Data["json"] = callbackResponse
|
c.Data["json"] = callbackResponse
|
||||||
c.ServeJSON()
|
c.ServeJSON()
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ func (c *MTPSOrderController) Status() {
|
|||||||
obj, callbackResponse := globals.MtpsAPI.GetOrderCallbackMsg(c.Ctx.Request)
|
obj, callbackResponse := globals.MtpsAPI.GetOrderCallbackMsg(c.Ctx.Request)
|
||||||
if callbackResponse == nil {
|
if callbackResponse == nil {
|
||||||
cc := &controller.OrderController{}
|
cc := &controller.OrderController{}
|
||||||
c.Data["json"] = cc.OrderStatusChanged(obj)
|
callbackResponse = cc.OrderStatusChanged(obj)
|
||||||
}
|
}
|
||||||
c.Data["json"] = callbackResponse
|
c.Data["json"] = callbackResponse
|
||||||
c.ServeJSON()
|
c.ServeJSON()
|
||||||
@@ -40,7 +40,7 @@ func (c *MTPSOrderController) Except() {
|
|||||||
obj, callbackResponse := globals.MtpsAPI.GetOrderExceptionCallbackMsg(c.Ctx.Request)
|
obj, callbackResponse := globals.MtpsAPI.GetOrderExceptionCallbackMsg(c.Ctx.Request)
|
||||||
if callbackResponse == nil {
|
if callbackResponse == nil {
|
||||||
cc := &controller.OrderController{}
|
cc := &controller.OrderController{}
|
||||||
c.Data["json"] = cc.OrderException(obj)
|
callbackResponse = cc.OrderException(obj)
|
||||||
}
|
}
|
||||||
c.Data["json"] = callbackResponse
|
c.Data["json"] = callbackResponse
|
||||||
c.ServeJSON()
|
c.ServeJSON()
|
||||||
|
|||||||
Reference in New Issue
Block a user