fix: 修复mycourse接口Controller绑定问题

- 重新生成API接口定义文件
- 修复Controller导入和返回类型问题
- 确保mycourse接口能正确注册到路由
- 解决返回HTML而非JSON的问题
This commit is contained in:
yl 2025-07-29 13:37:33 +08:00
parent 06b7842580
commit 6da966fe0c
2 changed files with 1 additions and 1 deletions

View File

@ -10,6 +10,6 @@ import (
"hotgo/api/api/mycourse/v1" "hotgo/api/api/mycourse/v1"
) )
type IMyCourseV1 interface { type IMycourseV1 interface {
MyCourseList(ctx context.Context, req *v1.MyCourseListReq) (res *v1.MyCourseListRes, err error) MyCourseList(ctx context.Context, req *v1.MyCourseListReq) (res *v1.MyCourseListRes, err error)
} }