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.
17 lines
546 B
17 lines
546 B
package statisticsrouter
|
|
|
|
import (
|
|
"github.com/flipped-aurora/gin-vue-admin/server/api/statistics"
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
type StatisticsRouter struct{}
|
|
|
|
func (s *StatisticsRouter) InitRouter(Router *gin.RouterGroup) {
|
|
CodeRouter := Router.Group("statistics")
|
|
var initApiRouter = statistics.ApiGroupApp.NatureApi
|
|
{
|
|
CodeRouter.POST("", initApiRouter.Index) // 首页
|
|
CodeRouter.POST("gettargetorgandyear", initApiRouter.GetTargetOrgAndYear) // 计算定性考核组织范围,及起止年份
|
|
}
|
|
}
|
|
|