Documentation ¶
Index ¶
- type ApiGroup
- type EduClassSessionApi
- func (eduClassSessionApi *EduClassSessionApi) CreateEduClassSession(c *gin.Context)
- func (eduClassSessionApi *EduClassSessionApi) DeleteEduClassSession(c *gin.Context)
- func (eduClassSessionApi *EduClassSessionApi) DeleteEduClassSessionByIds(c *gin.Context)
- func (eduClassSessionApi *EduClassSessionApi) FindEduClassSession(c *gin.Context)
- func (eduClassSessionApi *EduClassSessionApi) GetEduClassSessionList(c *gin.Context)
- func (eduClassSessionApi *EduClassSessionApi) GetEduClassSessionListByUser(c *gin.Context)
- func (eduClassSessionApi *EduClassSessionApi) GetStudentsWithLessThanFiveSessions(c *gin.Context)
- func (eduClassSessionApi *EduClassSessionApi) UpdateEduClassSession(c *gin.Context)
- type EduEnrollmentApi
- func (eduEnrollmentApi *EduEnrollmentApi) AddSession(c *gin.Context)
- func (eduEnrollmentApi *EduEnrollmentApi) ConsumptionClass(c *gin.Context)
- func (eduEnrollmentApi *EduEnrollmentApi) CreateEduEnrollment(c *gin.Context)
- func (eduEnrollmentApi *EduEnrollmentApi) DeleteEduEnrollment(c *gin.Context)
- func (eduEnrollmentApi *EduEnrollmentApi) DeleteEduEnrollmentByIds(c *gin.Context)
- func (eduEnrollmentApi *EduEnrollmentApi) FindEduEnrollment(c *gin.Context)
- func (eduEnrollmentApi *EduEnrollmentApi) GetEduEnrollmentList(c *gin.Context)
- func (eduEnrollmentApi *EduEnrollmentApi) UpdateCourseId(c *gin.Context)
- func (eduEnrollmentApi *EduEnrollmentApi) UpdateEduEnrollment(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiGroup ¶
type ApiGroup struct { EduClassSessionApi EduEnrollmentApi }
type EduClassSessionApi ¶
type EduClassSessionApi struct { }
func (*EduClassSessionApi) CreateEduClassSession ¶
func (eduClassSessionApi *EduClassSessionApi) CreateEduClassSession(c *gin.Context)
CreateEduClassSession 创建EduClassSession @Tags EduClassSession @Summary 创建EduClassSession @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body edu_user_course.EduClassSession true "创建EduClassSession" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /eduClassSession/createEduClassSession [post]
func (*EduClassSessionApi) DeleteEduClassSession ¶
func (eduClassSessionApi *EduClassSessionApi) DeleteEduClassSession(c *gin.Context)
DeleteEduClassSession 删除EduClassSession @Tags EduClassSession @Summary 删除EduClassSession @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body edu_user_course.EduClassSession true "删除EduClassSession" @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}" @Router /eduClassSession/deleteEduClassSession [delete]
func (*EduClassSessionApi) DeleteEduClassSessionByIds ¶
func (eduClassSessionApi *EduClassSessionApi) DeleteEduClassSessionByIds(c *gin.Context)
DeleteEduClassSessionByIds 批量删除EduClassSession @Tags EduClassSession @Summary 批量删除EduClassSession @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.IdsReq true "批量删除EduClassSession" @Success 200 {string} string "{"success":true,"data":{},"msg":"批量删除成功"}" @Router /eduClassSession/deleteEduClassSessionByIds [delete]
func (*EduClassSessionApi) FindEduClassSession ¶
func (eduClassSessionApi *EduClassSessionApi) FindEduClassSession(c *gin.Context)
FindEduClassSession 用id查询EduClassSession @Tags EduClassSession @Summary 用id查询EduClassSession @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query edu_user_course.EduClassSession true "用id查询EduClassSession" @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}" @Router /eduClassSession/findEduClassSession [get]
func (*EduClassSessionApi) GetEduClassSessionList ¶
func (eduClassSessionApi *EduClassSessionApi) GetEduClassSessionList(c *gin.Context)
GetEduClassSessionList 分页获取EduClassSession列表 @Tags EduClassSession @Summary 分页获取EduClassSession列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query edu_user_courseReq.EduClassSessionSearch true "分页获取EduClassSession列表" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /eduClassSession/getEduClassSessionList [get]
func (*EduClassSessionApi) GetEduClassSessionListByUser ¶
func (eduClassSessionApi *EduClassSessionApi) GetEduClassSessionListByUser(c *gin.Context)
*
- @Description: 获取用户的消费列表
- @param {*gin.Context} c
- @return {*}
func (*EduClassSessionApi) GetStudentsWithLessThanFiveSessions ¶
func (eduClassSessionApi *EduClassSessionApi) GetStudentsWithLessThanFiveSessions(c *gin.Context)
*
- @Description: 获取剩余课时少于5节的学生列表
- @param {*gin.Context} c
- @return {*}
func (*EduClassSessionApi) UpdateEduClassSession ¶
func (eduClassSessionApi *EduClassSessionApi) UpdateEduClassSession(c *gin.Context)
UpdateEduClassSession 更新EduClassSession @Tags EduClassSession @Summary 更新EduClassSession @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body edu_user_course.EduClassSession true "更新EduClassSession" @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}" @Router /eduClassSession/updateEduClassSession [put]
type EduEnrollmentApi ¶
type EduEnrollmentApi struct { }
func (*EduEnrollmentApi) AddSession ¶
func (eduEnrollmentApi *EduEnrollmentApi) AddSession(c *gin.Context)
*
- @Description: 增加课时
- @param {*gin.Context} c
- @return {*}
func (*EduEnrollmentApi) ConsumptionClass ¶
func (eduEnrollmentApi *EduEnrollmentApi) ConsumptionClass(c *gin.Context)
*
- @Description: 消耗课时
- @param {*gin.Context} c
- @return {*}
func (*EduEnrollmentApi) CreateEduEnrollment ¶
func (eduEnrollmentApi *EduEnrollmentApi) CreateEduEnrollment(c *gin.Context)
CreateEduEnrollment 创建EduEnrollment @Tags EduEnrollment @Summary 创建EduEnrollment @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body edu_user_course.EduEnrollment true "创建EduEnrollment" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /eduEnrollment/createEduEnrollment [post]
func (*EduEnrollmentApi) DeleteEduEnrollment ¶
func (eduEnrollmentApi *EduEnrollmentApi) DeleteEduEnrollment(c *gin.Context)
DeleteEduEnrollment 删除EduEnrollment @Tags EduEnrollment @Summary 删除EduEnrollment @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body edu_user_course.EduEnrollment true "删除EduEnrollment" @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}" @Router /eduEnrollment/deleteEduEnrollment [delete]
func (*EduEnrollmentApi) DeleteEduEnrollmentByIds ¶
func (eduEnrollmentApi *EduEnrollmentApi) DeleteEduEnrollmentByIds(c *gin.Context)
DeleteEduEnrollmentByIds 批量删除EduEnrollment @Tags EduEnrollment @Summary 批量删除EduEnrollment @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.IdsReq true "批量删除EduEnrollment" @Success 200 {string} string "{"success":true,"data":{},"msg":"批量删除成功"}" @Router /eduEnrollment/deleteEduEnrollmentByIds [delete]
func (*EduEnrollmentApi) FindEduEnrollment ¶
func (eduEnrollmentApi *EduEnrollmentApi) FindEduEnrollment(c *gin.Context)
FindEduEnrollment 用id查询EduEnrollment @Tags EduEnrollment @Summary 用id查询EduEnrollment @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query edu_user_course.EduEnrollment true "用id查询EduEnrollment" @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}" @Router /eduEnrollment/findEduEnrollment [get]
func (*EduEnrollmentApi) GetEduEnrollmentList ¶
func (eduEnrollmentApi *EduEnrollmentApi) GetEduEnrollmentList(c *gin.Context)
GetEduEnrollmentList 分页获取EduEnrollment列表 @Tags EduEnrollment @Summary 分页获取EduEnrollment列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query edu_user_courseReq.EduEnrollmentSearch true "分页获取EduEnrollment列表" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /eduEnrollment/getEduEnrollmentList [get]
func (*EduEnrollmentApi) UpdateCourseId ¶
func (eduEnrollmentApi *EduEnrollmentApi) UpdateCourseId(c *gin.Context)
*
- @Description: 更新课程选择
- @param {*gin.Context} c
- @return {*}
func (*EduEnrollmentApi) UpdateEduEnrollment ¶
func (eduEnrollmentApi *EduEnrollmentApi) UpdateEduEnrollment(c *gin.Context)
UpdateEduEnrollment 更新EduEnrollment @Tags EduEnrollment @Summary 更新EduEnrollment @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body edu_user_course.EduEnrollment true "更新EduEnrollment" @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}" @Router /eduEnrollment/updateEduEnrollment [put]