Commit Graph

8 Commits

Author SHA1 Message Date
zetaloop 429a1df32a refactor: 启用 conf.UseEnv 并将 etc 配置统一为 env 占位 2026-05-03 07:57:19 +08:00
zetaloop cf639f1bca fix: int64 ID 字段序列化为 JSON string 2026-05-03 05:58:21 +08:00
zetaloop d153b5cf51 fix: 统一分页请求的 offset 语义 2026-04-23 01:06:58 +08:00
zetaloop f0048f9e12 fix: 游戏创建与打手详情接口未返回数据
AddGamesResp 加 Games 字段,创建后查询回填。Game.Id 加 optional
避免请求解析时要求传 id。getPlayerLogic 初始化 resp 避免 copier
写入 nil 指针。补跑 ent go generate 确保 userfollows schema 与
生成代码一致。
2026-04-05 17:43:57 +08:00
zetaloop 4bff651f78 fix: 游戏列表按分页语义转换 offset 2026-04-04 07:44:24 +08:00
wwweww e7970ac25f fix: some api bug 2026-03-31 22:12:06 +08:00
wwweww 19cc7a778c Refactor: Remove deprecated gRPC service files and implement new API structure
- Deleted old gRPC service definitions in `game_grpc.pb.go` and `public.go`.
- Added new API server implementations for objectstory, player, and shop services.
- Introduced configuration files for new APIs in `etc/*.yaml`.
- Created main entry points for each service in `objectstory.go`, `player.go`, and `shop.go`.
- Removed unused user update handler and user API files.
- Added utility functions for context management and HTTP header parsing.
- Introduced PostgreSQL backup configuration in `backup/postgreSql.yaml`.
2026-02-28 18:35:56 +08:00
wwweww d2f33b4b96 fix: api descript 2026-02-28 05:33:16 +08:00