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") //统计个部门天获得积分总数 }