Commit Graph

19 Commits

Author SHA1 Message Date
zetaloop 809dbf2cac fix: 统一所有 RPC 分页校验为 max=100 并补齐默认值 2026-04-24 06:46:40 +08:00
zetaloop d153b5cf51 fix: 统一分页请求的 offset 语义 2026-04-23 01:06:58 +08:00
zetaloop 9ab495c7bf fix: correct player API struct tag spacing 2026-04-22 20:17:01 +08:00
zetaloop d80a21fe7d fix: 服务创建接口未返回数据
AddPlayerServicesResp 加 PlayerServices 字段,创建后查询回填。
PlayerService.Id 加 optional 避免请求解析时要求传 id。
2026-04-05 18:08:40 +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 dc87df28a4 chore: 同步 player-rpc 生成产物 2026-04-04 09:26:30 +08:00
zetaloop e7dff1fc1a fix: 打手自操作改为查找打手身份 2026-04-04 04:34:08 +08:00
zetaloop 32d58ef462 add: 打手初始化接口 2026-04-04 03:49:34 +08:00
zetaloop 85ce6a45c5 add: player-rpc 增加按用户查询打手 2026-04-04 02:42:52 +08:00
zetaloop 98aac81b43 fix: 修正打手更新执行缺失与店铺 owner_id 持久化错误 2026-04-04 01:43:02 +08:00
zetaloop 82e83ca30f fix: 修正 player-api 列表返回逻辑与分页偏移转换 2026-04-04 01:43:02 +08:00
zetaloop 9bbc54ea66 fix: 修正 player_services 数组字段的 SQL 序列化错误 2026-04-04 01:43:02 +08:00
zetaloop 64223ada67 fix: 修正 service 创建接口误设的 ID 路径参数 2026-04-04 00:20:38 +08:00
zetaloop f04f6cbcfd fix: player-api 和 community-api 缺少认证中间件 2026-04-03 20:39:28 +08:00
zetaloop c30abd7a67 fix: player-rpc 启动 panic 2026-04-03 18:20:40 +08:00
zetaloop c1c23a5cd0 fix: player-rpc SetGender 类型不匹配 2026-04-01 20:19:36 +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