- weimob order callback
This commit is contained in:
@@ -8,6 +8,8 @@
|
||||
package routers
|
||||
|
||||
import (
|
||||
"git.rosy.net.cn/baseapi/platformapi/weimobapi"
|
||||
"git.rosy.net.cn/baseapi/utils"
|
||||
"git.rosy.net.cn/jx-callback/controllers"
|
||||
|
||||
"github.com/astaxie/beego"
|
||||
@@ -102,4 +104,9 @@ func init() {
|
||||
beego.Any("/addstoremsg", func(ctx *beecontext.Context) {
|
||||
ctx.WriteString("pong\n")
|
||||
})
|
||||
|
||||
// 在微盟配置回调时能通过检测
|
||||
beego.Any("/weimob", func(ctx *beecontext.Context) {
|
||||
ctx.WriteString(string(utils.MustMarshal(weimobapi.SuccessResponse)))
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user