23 lines
535 B
Go
23 lines
535 B
Go
package controllers
|
|
|
|
import (
|
|
"github.com/astaxie/beego"
|
|
)
|
|
|
|
type JdsController struct {
|
|
beego.Controller
|
|
}
|
|
|
|
func (c *JdsController) Msg(msgType string) {
|
|
// c.Data["json"] = mtwmapi.Err2CallbackResponse(nil, "")
|
|
// msg, callbackResponse := api.MtwmAPI.GetCallbackMsg(c.Ctx.Request)
|
|
// if callbackResponse == nil {
|
|
// callbackResponse = mtwm.OnCallbackMsg(msg)
|
|
// if callbackResponse == nil {
|
|
// callbackResponse = mtwmapi.Err2CallbackResponse(nil, "")
|
|
// }
|
|
// }
|
|
// c.Data["json"] = callbackResponse
|
|
// c.ServeJSON()
|
|
}
|