KPI绩效考核系统
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
400 B

package newsclassrouter
import (
"key_performance_indicators/api/version1"
"github.com/gin-gonic/gin"
)
// 新闻类接口路由
func (a *ApiRouter) RouterGroup(router *gin.RouterGroup) {
apiRouter := router.Group("news")
var newsClassRouter = version1.AppApiEntry.NewsClassApi
{
apiRouter.GET("", newsClassRouter.Index) //入口
apiRouter.POST("", newsClassRouter.Index) //入口
}
}