fix logs router

This commit is contained in:
2026-08-11 18:58:38 +08:00
parent eed82bcf38
commit eccc2848c6

View File

@@ -5,11 +5,12 @@ import (
"bsm/full/module/base/logs/internal/logic/hello" "bsm/full/module/base/logs/internal/logic/hello"
"bsm/full/module/base/logs/internal/logic/log" "bsm/full/module/base/logs/internal/logic/log"
"github.com/gin-gonic/gin" "github.com/gin-gonic/gin"
) )
func Register(srvKey string, engine *gin.Engine) { func Register(srvKey string, engine *gin.Engine) {
v1_key := fmt.Sprintf("/%s/%s", srvKey, "v1") v1_key := fmt.Sprintf("/rest/%s", srvKey)
registerAnonymous(v1_key, engine) registerAnonymous(v1_key, engine)
} }