- change weimob callback

This commit is contained in:
gazebo
2019-01-19 11:36:12 +08:00
parent c675ac56b0
commit ae65388913
2 changed files with 1 additions and 11 deletions

View File

@@ -8,7 +8,6 @@
package routers
import (
"git.rosy.net.cn/baseapi/platformapi/weimobapi"
"git.rosy.net.cn/jx-callback/controllers"
"github.com/astaxie/beego"
@@ -103,9 +102,4 @@ func init() {
beego.Any("/addstoremsg", func(ctx *beecontext.Context) {
ctx.WriteString("pong\n")
})
// 在微盟配置回调时能通过检测
beego.Any("/weimob", func(ctx *beecontext.Context) {
ctx.Output.JSON(weimobapi.SuccessResponse, false, false)
})
}