router/router.go
@@ -105,6 +105,7 @@ attendanceApi := r.Group(urlPrefix + "/attendance") attendanceController := new(controllers.AttendanceController) { attendanceApi.POST("getTemplate", attendanceController.GetTemplate) //获取模版列表 attendanceApi.POST("attendanceInput", attendanceController.AttendanceInput) //考勤导入 attendanceApi.POST("getAttendanceList", attendanceController.GetAttendanceList) //获取考勤列表 attendanceApi.POST("updateAttendance", attendanceController.UpdateAttendance) //更新考勤