feat(hero): 新增英雄相关接口和功能

- 新增英雄信息获取接口和相关逻辑
- 实现英雄列表和详情查询功能- 添加英雄相关数据结构和VO对象
- 更新项目结构,移除不必要的文件
This commit is contained in:
hxt
2025-06-21 20:12:02 +08:00
parent 85e3a6540b
commit c5c273f0ab
19 changed files with 374 additions and 66 deletions

View File

@@ -0,0 +1,23 @@
# https://goframe.org/docs/web/server-config-file-template
server:
address: ":8283"
openapiPath: "/api.json"
swaggerPath: "/swagger"
# https://goframe.org/docs/core/glog-config
logger:
level: "all"
stdout: true
# https://goframe.org/docs/core/gdb-config-file
database:
default:
link: "mysql:root:hu123456@tcp(193.112.151.199:3306)/wow"
debug: true
# https://goframe.org/docs/core/gredis-config-file
redis:
default:
address: "193.112.151.199:6379"
db: 0
pass: "hu123"