Commit Graph

39 Commits

Author SHA1 Message Date
zetaloop 168cec6d57 fix: admin 初始化在数据库未就绪时静默失败
initAdmin 改为后台 goroutine 并重试最多 30 秒,避免 users-rpc
启动时 PostgreSQL 尚未接受连接导致管理员账户创建失败。
2026-04-05 17:30:35 +08:00
zetaloop de32143b6d fix: 用户信息更新返回类型与关注建表缺陷
updateMeLogic 更新后重新查询并返回 User 类型,修复 converter 转换
空响应的错误。proto_string 不再丢弃含空格的字符串。userfollows
ent schema 补上 created_at 的 Default(time.Now)。
2026-04-05 17:04:48 +08:00
zetaloop 4625363d5a fix: admin 审批链路查询条件缺失与网关路由缺失
SearchUserVerifications 查询条件硬编码了 user_id=0 导致 admin 查询
始终返回空列表,改为条件构建模式。envoy 缺少 /api/v1/admin 前缀
路由导致审批接口 404。新增 users-rpc 启动时从环境变量自动初始化
管理员账户。
2026-04-05 16:53:15 +08:00
zetaloop 384471edca fix: 对齐 authz 认证链路 2026-04-05 12:06:39 +08:00
zetaloop dc87df28a4 chore: 同步 player-rpc 生成产物 2026-04-04 09:26:30 +08:00
zetaloop 4bff651f78 fix: 游戏列表按分页语义转换 offset 2026-04-04 07:44:24 +08:00
zetaloop f9cd65d809 fix: 订单创建不再写入 search_text 2026-04-04 07:38:27 +08:00
zetaloop 93679d2ff3 fix: 店铺邀请改为查找打手身份 2026-04-04 07:05:11 +08:00
zetaloop 7dc088eadf fix: shop_players 关系表主键与模型对齐 2026-04-04 07:05:11 +08:00
zetaloop 3a81aec527 fix: 打手视角订单列表改为查找打手身份 2026-04-04 04:42:21 +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 d1981c23ab fix: 审核通过后允许切换已认证角色 2026-04-03 23:29:19 +08:00
zetaloop f1baefdf47 fix: 用户信息接口补全 role 字段 2026-04-03 22:34:26 +08:00
zetaloop 7ccb97b2e2 fix: 登录和注册返回完整用户信息 2026-04-03 22:34:26 +08:00
zetaloop 15c940a3e9 fix: GetUserByUsername RPC 查询逻辑 2026-04-03 22:33:49 +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 5ff573f8fc refactor: 统一认证响应 2026-04-03 17:46:51 +08:00
zetaloop 93e6b5609c fix: 各服务 DEV CONF 配置规范化 2026-04-01 20:19:36 +08:00
zetaloop 35de3f653b fix: 删除 objectstory-api 重复的入口文件 2026-04-01 20:19:36 +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 4c823c2188 feat: 更新构建和推送工作流,添加 Node.js 和 Go 环境设置,优化 Docker 镜像构建流程
fix: 修复 order-api.yaml 中的格式问题
refactor: 在多个逻辑文件中重新排序导入语句,确保一致性
2026-02-28 19:12:42 +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
wwweww 5930fb0dde add: some user api and all api desc 2026-02-27 19:17:01 +08:00
wwweww a0c720eb2f add: user accomplished 2026-02-27 05:42:13 +08:00
wwweww 659168fe32 feat: add authz-adapter service and Envoy ext_authz integration
- Implemented authz-adapter deployment and service for Envoy gRPC authorization.
- Created PowerShell script to generate JWK for JWT authentication.
- Documented the integration of ext_authz with user-rpc.ValidateToken in ENVOY_EXT_AUTHZ_ADAPTER.md.
- Added comprehensive Envoy Gateway configuration guide with JWT authentication and access control in ENVOY_GATEWAY_GUIDE.md.
2026-02-26 06:08:35 +08:00
wwweww 60b6f40f9f add: user auth accomplished 2026-02-26 02:17:07 +08:00
wwweww 300058ad01 add: anowflake email kafka, refa: redis connectg 2026-02-25 01:16:13 +08:00
wwweww fdbcde13b2 add: 2026-02-23 20:36:21 +08:00
wwweww 4898aecd3b add: envoy redis 2026-02-23 15:54:33 +08:00
wwweww 55e8053e07 firest commit 2026-02-21 22:48:40 +08:00