知行学院重新架构Golang版后台
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
1.6 KiB

package route
import (
"main_exam_server/handlecontroller"
"github.com/gorilla/mux"
)
func InitRoute(m *mux.Router) {
m.HandleFunc("/", handlecontroller.GetIndexPage()).Methods("GET") //访问首页
// m.HandleFunc("/shiyan", handlecontroller.GetShiYan()).Methods("GET") //实验室数据
// m.HandleFunc("/test", handlecontroller.GetShiYan()).Methods("GET") //实验室数据
// m.HandleFunc("/yesterdaypoints", handlecontroller.GetUserYesterdayIntegral()).Methods("GET") //统计员工昨天获得积分总数(测试)
// m.HandleFunc("/defen", handlecontroller.GetDeFen()).Methods("GET") //统计员工昨天获得积分总数(测试)
// m.HandleFunc("/dailystatistics", handlecontroller.GetUserDailyDtatistics()).Methods("GET") //统计员工昨天获得积分总数
// m.HandleFunc("/weekstatistics", handlecontroller.GetUserWeekStatistics()).Methods("GET") //统计员工周获得积分总数
// m.HandleFunc("/fristweekstatistics", handlecontroller.GetFirstMyWeekCord()).Methods("GET") //统计个人上周获得积分总数
// m.HandleFunc("/depardaystatic", handlecontroller.GetDepartmentDayStatistics()).Methods("GET") //统计个部门天获得积分总数
// m.HandleFunc("/deparweekstatic", handlecontroller.GetDepartmentWeekStatistics()).Methods("GET") //统计个部门天获得积分总数
// m.HandleFunc("/deparfirstweekstatic", handlecontroller.GetDepartmentFirdtWeekStatistics()).Methods("GET") //统计个部门天获得积分总数
}