liujiandao
2024-04-19 9a6ea804cfbc209692d94602932c2a0a3b9b8e4e
router/router.go
@@ -110,5 +110,14 @@
      attendanceApi.DELETE("deleteAttendanceInfo", attendanceController.DeleteAttendanceInfo) //删除考勤信息
   }
   mentorApi := r.Group(urlPrefix + "/mentor")
   mentorCtl := new(controllers.MentorController)
   {
      mentorApi.POST("createMentorInfo", mentorCtl.CreateMentorInfo)       //创建带徒信息
      mentorApi.POST("updateMentorInfo", mentorCtl.UpdateMentorInfo)       //更新带徒信息
      mentorApi.POST("getMentorList", mentorCtl.GetMentorList)             //获取带徒信息列表
      mentorApi.DELETE("deleteMentorInfo/:id", mentorCtl.DeleteMentorInfo) //删除带徒信息
   }
   return r
}