- 新增我的课程列表API接口 - 支持按学习状态筛选(全部/学习中/已完结) - 支持分页查询 - 包含课程基本信息、学习进度等数据 - 添加Apifox接口文档配置指南 文件变更: - server/api/admin/mycourse/mycourse.go - API接口定义 - server/internal/controller/admin/mycourse/mycourse.go - 控制器层 - server/internal/service/mycourse.go - 服务层(模拟数据) - server/internal/router/admin.go - 路由配置 - docs/apifox_config.md - 接口文档
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
## @{.label} ### 简介 @{.brief} ### 使用说明 @{.description} ### 迁移或安装 1、安装 HotGo (@{.hgVersion}及以上) 项目介绍:https://github.com/bufanyun/hotgo 2、将当前插件项目拷贝进 HotGo 根目录的 server/addons 目录下 3、在 HotGo 根目录的 server/addons/modules 目录下创建go文件:@{.name}.go,内容如下: ```go package modules import _ "hotgo/addons/@{.name}" ``` 4、HotGo 后台进入 开发工具->插件管理->找到 @{.label} (@{.name}) 进行安装 5、重启服务即可生效 ### 常用命令行 ```shell # 接口维护-gen service gf gen service -s=addons/@{.name}/logic -d=addons/@{.name}/service ```