Files
jx-callback/controllers/fn_callback.go
苏尹岚 649d07dd87 fnps
2020-12-09 10:24:53 +08:00

22 lines
270 B
Go

package controllers
import (
"net/http"
"github.com/astaxie/beego"
)
type FnController struct {
beego.Controller
}
func (c *FnController) Msg() {
if c.Ctx.Input.Method() == http.MethodPost {
c.Data["json"] = ""
c.ServeJSON()
} else {
c.Abort("404")
}
}