feat: 🎸 我的课程接口修改路由组

This commit is contained in:
GoCo 2025-07-29 12:30:32 +08:00
parent e09410270f
commit c63133380f

View File

@ -37,10 +37,7 @@ func Api(ctx context.Context, group *ghttp.RouterGroup) {
users.NewV1(), // 前台用户
lesson.NewV1(), // 课程
activity.NewV1(), // 活动
)
group.Middleware(service.Middleware().ApiAuth)
group.Bind(
mycourse.NewV1(), // 我的课程(需要用户认证)
mycourse.NewV1(), // 我的课程
)
})
}