feat: 引入features的gin路由
This commit is contained in:
1 parent
9c862fbbeb
commit
c139bbad94
33 files changed
+1678
-911
No files matched your search
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user