- add res and addstoremsg
This commit is contained in:
@@ -80,7 +80,14 @@ func init() {
|
|||||||
beego.AutoRouter(&controllers.DadaDeliveryController{})
|
beego.AutoRouter(&controllers.DadaDeliveryController{})
|
||||||
beego.AutoRouter(&controllers.EbaiController{})
|
beego.AutoRouter(&controllers.EbaiController{})
|
||||||
|
|
||||||
|
// 如下都是用于检测存活的空接口
|
||||||
beego.Any("/", func(ctx *beecontext.Context) {
|
beego.Any("/", func(ctx *beecontext.Context) {
|
||||||
ctx.WriteString("pong\n")
|
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")
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user