fix: 修复mycourse接口Controller绑定问题
- 重新生成API接口定义文件 - 修复Controller导入和返回类型问题 - 确保mycourse接口能正确注册到路由 - 解决返回HTML而非JSON的问题
This commit is contained in:
parent
06b7842580
commit
6da966fe0c
@ -10,6 +10,6 @@ import (
|
||||
"hotgo/api/api/mycourse/v1"
|
||||
)
|
||||
|
||||
type IMyCourseV1 interface {
|
||||
type IMycourseV1 interface {
|
||||
MyCourseList(ctx context.Context, req *v1.MyCourseListReq) (res *v1.MyCourseListRes, err error)
|
||||
}
|
||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user