This commit is contained in:
邹宗楠
2025-06-05 16:15:39 +08:00
parent 17bcf8cfa4
commit 664141e513
5 changed files with 77 additions and 9 deletions

View File

@@ -160,6 +160,11 @@ func init() {
&controllers.SessionController{},
),
),
web.NSNamespace("/lakala",
web.NSInclude(
&controllers.LaKaLaController{},
),
),
web.NSNamespace("/version",
web.NSInclude(
&controllers.VersionController{},
@@ -201,6 +206,8 @@ func init() {
web.AutoRouter(&controllers.KuaiShouController{}) // 快手支付回调
web.AutoRouter(&controllers.TaoBaoVegetableController{}) // 淘菜菜回调
//web.AutoRouter(&controllers.IMController{}) //im
web.AutoRouter(&controllers.LaKaLaCallbackController{}) // 拉卡拉回调
// 如下都是用于检测存活的空接口
web.Any("/", func(ctx *beecontext.Context) {
ctx.WriteString("pong\n")