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.
21 lines
604 B
21 lines
604 B
|
4 years ago
|
package statisticsroute
|
||
|
|
|
||
|
|
import (
|
||
|
|
v2 "github.com/flipped-aurora/gin-vue-admin/server/api/index"
|
||
|
|
"github.com/gin-gonic/gin"
|
||
|
|
)
|
||
|
|
|
||
|
|
//统计
|
||
|
|
func (s *StatisticsRoute) InitRouter(Router *gin.RouterGroup) {
|
||
|
|
shiyanCodeRouter := Router.Group("ststic")
|
||
|
|
var authorityApi = v2.ApiGroupApp.StatisticsApi
|
||
|
|
{
|
||
|
|
shiyanCodeRouter.POST("", authorityApi.Index) // 入口
|
||
|
|
shiyanCodeRouter.POST("/", authorityApi.Index)
|
||
|
|
shiyanCodeRouter.GET("", authorityApi.Index)
|
||
|
|
shiyanCodeRouter.GET("/", authorityApi.Index)
|
||
|
|
|
||
|
|
shiyanCodeRouter.POST("getconfig", authorityApi.PlanVersioStatistics) //方案数据表格同居
|
||
|
|
}
|
||
|
|
}
|