a
This commit is contained in:
@@ -3,6 +3,8 @@ package controllers
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"git.rosy.net.cn/jx-callback/globals/api"
|
||||
|
||||
"github.com/astaxie/beego"
|
||||
)
|
||||
|
||||
@@ -12,7 +14,10 @@ type FnController struct {
|
||||
|
||||
func (c *FnController) Msg() {
|
||||
if c.Ctx.Input.Method() == http.MethodPost {
|
||||
|
||||
msg := api.FnAPI.GetOrderCallbackMsg(c.Ctx.Request)
|
||||
if msg != nil {
|
||||
fn.OnWaybillMsg(msg)
|
||||
}
|
||||
c.Data["json"] = ""
|
||||
c.ServeJSON()
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user