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

+20
View File
@@ -0,0 +1,20 @@
package features
import (
"nms_cxy/features/lm"
"nms_cxy/features/pm"
"nms_cxy/lib/log"
"github.com/gin-gonic/gin"
)
func InitServiceEngine(r *gin.Engine) {
log.Info("======init feature group gin.Engine")
// featuresGroup := r.Group("/")
// 注册 各个features 模块的路由
pm.InitSubServiceRoute(r)
lm.InitSubServiceRoute(r)
// return featuresGroup
}