- change weimob callback
This commit is contained in:
@@ -39,10 +39,6 @@ func (c *WeimobController) Code() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *WeimobController) CreateOrder() {
|
func (c *WeimobController) Msg() {
|
||||||
c.onCallbackMsg()
|
|
||||||
}
|
|
||||||
|
|
||||||
func (c *WeimobController) OrderStatusChange() {
|
|
||||||
c.onCallbackMsg()
|
c.onCallbackMsg()
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,7 +8,6 @@
|
|||||||
package routers
|
package routers
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.rosy.net.cn/baseapi/platformapi/weimobapi"
|
|
||||||
"git.rosy.net.cn/jx-callback/controllers"
|
"git.rosy.net.cn/jx-callback/controllers"
|
||||||
|
|
||||||
"github.com/astaxie/beego"
|
"github.com/astaxie/beego"
|
||||||
@@ -103,9 +102,4 @@ func init() {
|
|||||||
beego.Any("/addstoremsg", func(ctx *beecontext.Context) {
|
beego.Any("/addstoremsg", func(ctx *beecontext.Context) {
|
||||||
ctx.WriteString("pong\n")
|
ctx.WriteString("pong\n")
|
||||||
})
|
})
|
||||||
|
|
||||||
// 在微盟配置回调时能通过检测
|
|
||||||
beego.Any("/weimob", func(ctx *beecontext.Context) {
|
|
||||||
ctx.Output.JSON(weimobapi.SuccessResponse, false, false)
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user