feat: 引入features的gin路由

This commit is contained in:
TsMask committed 2024-08-31 14:36:01 +08:00
1 parent 9c862fbbeb
commit c139bbad94
33 files changed
+1678 -911

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
// log management package
package lm
import (
"nms_cxy/features/lm/file_export"
"nms_cxy/lib/log"
"github.com/gin-gonic/gin"
)
func InitSubServiceRoute(r *gin.Engine) {
log.Info("======init Log management group gin.Engine")
lmGroup := r.Group("/lm")
// register sub modules routes
file_export.Register(lmGroup)
}