- add res and addstoremsg

This commit is contained in:
gazebo
2018-10-28 21:32:51 +08:00
parent 40b2495f62
commit 495e1d90f0

View File

@@ -80,7 +80,14 @@ func init() {
beego.AutoRouter(&controllers.DadaDeliveryController{})
beego.AutoRouter(&controllers.EbaiController{})
// 如下都是用于检测存活的空接口
beego.Any("/", func(ctx *beecontext.Context) {
ctx.WriteString("pong\n")
})
beego.Any("/res", func(ctx *beecontext.Context) {
ctx.WriteString("pong\n")
})
beego.Any("/addstoremsg", func(ctx *beecontext.Context) {
ctx.WriteString("pong\n")
})
}