Commit Graph

46 Commits

Author SHA1 Message Date
hu xiaotong
cc482ca167 ci: 添加 Gitea Actions 示例工作流
- 新增 ci.yaml 文件,定义 Gitea Actions 示例
2025-06-26 17:27:34 +08:00
hu xiaotong
7d4440b6ea ci: 添加 Gitea Actions 示例工作流
- 新增 ci.yaml 文件,定义 Gitea Actions 示例
2025-06-26 16:54:26 +08:00
hu xiaotong
5f52884d96 ci: 添加 Gitea Actions 示例工作流
- 新增 ci.yaml 文件,定义 Gitea Actions 示例
2025-06-26 16:48:57 +08:00
hu xiaotong
55a94eb143 ci: 添加 Gitea Actions 示例工作流
- 新增 ci.yaml 文件,定义 Gitea Actions 示例
2025-06-26 16:46:23 +08:00
hu xiaotong
ae7c922f8e ci: 添加 Gitea Actions 示例工作流
- 新增 ci.yaml 文件,定义 Gitea Actions 示例
2025-06-26 16:36:28 +08:00
hu xiaotong
2b62bba157 ci: 添加 Gitea Actions 示例工作流
- 新增 ci.yaml 文件,定义 Gitea Actions 示例
2025-06-26 16:25:00 +08:00
hu xiaotong
a223a2ca41 ci: 添加 Gitea Actions 示例工作流
- 新增 ci.yaml 文件,定义 Gitea Actions 示例
2025-06-26 16:10:10 +08:00
hu xiaotong
6e6bdde96e ci: 添加 Gitea Actions 示例工作流
- 新增 ci.yaml 文件,定义 Gitea Actions 示例
2025-06-26 16:03:59 +08:00
hu xiaotong
decf7bf74b ci: 添加 Gitea Actions 示例工作流
- 新增 ci.yaml 文件,定义 Gitea Actions 示例
2025-06-26 15:55:31 +08:00
hu xiaotong
5fd766bf06 ci: 添加 Gitea Actions 示例工作流
- 新增 ci.yaml 文件,定义 Gitea Actions 示例
2025-06-26 15:51:07 +08:00
hu xiaotong
c9ef6382ce ci: 添加 Gitea Actions 示例工作流
- 新增 ci.yaml 文件,定义 Gitea Actions 示例
2025-06-26 15:44:15 +08:00
hu xiaotong
d7b3fa12cb ci: 添加 Gitea Actions 示例工作流
- 新增 ci.yaml 文件,定义 Gitea Actions 示例
2025-06-26 15:29:06 +08:00
hu xiaotong
3b46f90c71 ci: 添加 Gitea Actions 示例工作流
- 新增 ci.yaml 文件,定义 Gitea Actions 示例
2025-06-26 15:28:00 +08:00
hu xiaotong
25bf5edfa4 ci: 添加 Gitea Actions 示例工作流
- 新增 ci.yaml 文件,定义 Gitea Actions 示例
2025-06-26 15:21:26 +08:00
hu xiaotong
1046c760df ci: 添加 Gitea Actions 示例工作流
- 新增 ci.yaml 文件,定义 Gitea Actions 示例
2025-06-26 15:13:58 +08:00
hu xiaotong
3719222151 ci: 添加 Gitea Actions 示例工作流
- 新增 ci.yaml 文件,定义 Gitea Actions 示例
2025-06-26 14:45:02 +08:00
hu xiaotong
76dfd3335c ci: 添加 Gitea Actions 示例工作流
- 新增 ci.yaml 文件,定义 Gitea Actions 示例
2025-06-26 14:43:43 +08:00
hu xiaotong
f6250b3e2e ci: 添加 Gitea Actions 示例工作流
- 新增 ci.yaml 文件,定义 Gitea Actions 示例
2025-06-26 14:39:56 +08:00
hu xiaotong
b4da7bce11 ci: 添加 Gitea Actions 示例工作流
- 新增 ci.yaml 文件,定义 Gitea Actions 示例
2025-06-26 14:33:27 +08:00
hu xiaotong
c19ae59133 ci: 添加 Gitea Actions 示例工作流
- 新增 ci.yaml 文件,定义 Gitea Actions 示例
2025-06-26 14:20:00 +08:00
hu xiaotong
027a22bede ci: 添加 Gitea Actions 示例工作流
- 新增 ci.yaml 文件,定义 Gitea Actions 示例
2025-06-26 14:08:43 +08:00
hu xiaotong
740d3b1856 ci: 添加 Gitea Actions 示例工作流
- 新增 ci.yaml 文件,定义 Gitea Actions 示例
2025-06-26 13:59:00 +08:00
hu xiaotong
fecfdeec64 ci: 添加 Gitea Actions 示例工作流
- 新增 ci.yaml 文件,定义 Gitea Actions 示例
2025-06-26 13:55:27 +08:00
hu xiaotong
ee88885d6b ci: 添加 Gitea Actions 示例工作流
- 新增 ci.yaml 文件,定义 Gitea Actions 示例
2025-06-26 13:54:19 +08:00
hu xiaotong
69c95de5c5 ci: 添加 Gitea Actions 示例工作流
- 新增 ci.yaml 文件,定义 Gitea Actions 示例
2025-06-26 13:50:56 +08:00
hu xiaotong
ee313a8133 ci: 添加 Gitea Actions 示例工作流
- 新增 ci.yaml 文件,定义 Gitea Actions 示例
2025-06-26 13:43:02 +08:00
hu xiaotong
b127e23c15 ci: 添加 Gitea Actions 示例工作流
- 新增 ci.yaml 文件,定义 Gitea Actions 示例
2025-06-26 13:34:30 +08:00
hu xiaotong
62e8a6a89e ci: 添加 Gitea Actions 示例工作流
- 新增 ci.yaml 文件,定义 Gitea Actions 示例
2025-06-26 13:27:46 +08:00
hu xiaotong
084020668d ci: 添加 Gitea Actions 示例工作流
- 新增 ci.yaml 文件,定义 Gitea Actions 示例
2025-06-26 13:21:33 +08:00
hu xiaotong
e7a38754e1 ci: 添加 Gitea Actions 示例工作流
- 新增 ci.yaml 文件,定义 Gitea Actions 示例
2025-06-26 12:35:11 +08:00
hu xiaotong
46b488cfe6 ci: 添加 Gitea Actions 示例工作流
- 新增 ci.yaml 文件,定义 Gitea Actions 示例
2025-06-26 12:34:16 +08:00
hu xiaotong
49b940b2a9 ci: 添加 Gitea Actions 示例工作流
- 新增 ci.yaml 文件,定义 Gitea Actions 示例
2025-06-26 12:32:13 +08:00
hu xiaotong
8de8913e67 ci: 添加 Gitea Actions 示例工作流
- 新增 ci.yaml 文件,定义 Gitea Actions 示例
2025-06-26 12:28:51 +08:00
hu xiaotong
2dc8eda650 ci: 添加 Gitea Actions 示例工作流
- 新增 ci.yaml 文件,定义 Gitea Actions 示例
2025-06-26 12:23:37 +08:00
hu xiaotong
404771cd64 ci: 添加 Gitea Actions 示例工作流
- 新增 ci.yaml 文件,定义 Gitea Actions 示例
2025-06-26 12:22:30 +08:00
hu xiaotong
0425f13637 ci: 添加 Gitea Actions 示例工作流
- 新增 ci.yaml 文件,定义 Gitea Actions 示例工作流
- 配置工作流在 push 事件时自动触发
- 使用 Ubuntu 最新版本作为运行环境
- 示例步骤包括打印事件信息、检出代码仓库、
2025-06-26 12:20:59 +08:00
hu xiaotong
714b440cd8 build(hack): 配置 gfcli 工具的构建参数- 添加 build 配置,设置可执行文件名称为 "epic-app"
- 指定目标架构为 amd64,支持 Linux 和 Windows 系统
-禁用 CGO,使用 mod none 模式
- 配置资源文件打包选项
2025-06-23 17:15:18 +08:00
hu xiaotong
cecb19e497 feat(cron): 实现定时任务管理功能
- 新增 cron模块,支持定时任务管理- 实现了任务列表获取、任务添加、任务移除和任务状态获取等接口
- 添加了默认任务,包括数据同步、数据清理、健康检查和缓存刷新等
- 实现了优雅关闭功能,确保在服务停止时正确停止所有任务
- 添加了定时任务相关文档和使用指南
2025-06-23 15:19:38 +08:00
hu xiaotong
89a6cdc001 refactor(hero): 重构英雄相关接口和数据结构
- 修改 GetDetailReq 结构体,将 Code 字段改为 HeroCode
- 更新 GetDetailRes 结构体,将 Rarity 字段改为 Stars,类型从 string 改为 int
-调整 EpicHeroVO 结构体,移除 orm 标签,将 Rarity 改为 Stars- 更新相关控制器和逻辑层代码,以适应上述变更
2025-06-23 09:22:57 +08:00
hxt
1fbea6ad9f feat(internal): 添加 CORS 支持并更新 API 路径- 在 cmd.go 中添加了 CORS 中间件,用于支持跨域请求
- 更新了 hero.go 中的 API 路径,使其符合新的命名规范
- 优化了 hero_v1.go 中的响应构造方式,提高了代码效率
2025-06-22 23:50:57 +08:00
hxt
eac06dfed3 feat(hero): 英雄详情页面增加套装和神器统计功能
- 新增英雄详情接口,包含60级属性、套装平均属性、套装占比、神器占比等信息- 优化数据处理逻辑,提高查询效率
- 增加缓存机制,减少数据库访问- 新增数据传输对象HeroSetData和HeroSetItem,用于处理套装数据
2025-06-22 22:37:17 +08:00
hxt
e0cd5d3428 feat(hero): 英雄详情页面增加套装和神器统计功能
- 新增英雄详情接口,包含60级属性、套装平均属性、套装占比、神器占比等信息- 优化数据处理逻辑,提高查询效率
- 增加缓存机制,减少数据库访问- 新增数据传输对象HeroSetData和HeroSetItem,用于处理套装数据
2025-06-22 22:29:12 +08:00
hxt
61cb21fdc7 refactor(cache): 抽离 Redis 缓存初始化逻辑
- 新增 utility/cache.go 文件,定义全局的 RedisCache 变量
- 修改 hero.go 中的缓存使用方式,使用新的 RedisCache 全局变量
- 更新 main.go,移除冗余的包引用
2025-06-21 23:06:45 +08:00
hxt
9926dfea9e feat(internal): 集成 Redis 缓存并更新相关逻辑- 在 config.yaml 中修改 Redis配置,使用 db 1- 在 go.mod 中添加 redis相关依赖
- 更新 hero
2025-06-21 20:57:42 +08:00
hxt
c5c273f0ab feat(hero): 新增英雄相关接口和功能
- 新增英雄信息获取接口和相关逻辑
- 实现英雄列表和详情查询功能- 添加英雄相关数据结构和VO对象
- 更新项目结构,移除不必要的文件
2025-06-21 20:12:02 +08:00
hu xiaotong
85e3a6540b init 2025-06-20 17:17:02 +08:00