21 lines
372 B
Go
21 lines
372 B
Go
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
|
|
}
|