zetaloop
65787c6583
fix: 管理员认证列表按第一页返回待审批申请
2026-04-23 01:01:47 +08:00
zetaloop
2d45d7e3cb
refactor: remove redundant name fields from order service
2026-04-22 22:28:41 +08:00
zetaloop
b3db04c9cc
fix: unify user ID type to string and rename service to users-api
2026-04-22 22:03:49 +08:00
zetaloop
59256897e9
fix: add optimistic lock retry for wallet topup and withdraw
2026-04-22 20:29:35 +08:00
zetaloop
17daff03bd
fix: use snowflake for all order and state log ID generation
2026-04-22 20:25:41 +08:00
zetaloop
9ab495c7bf
fix: correct player API struct tag spacing
2026-04-22 20:17:01 +08:00
zetaloop
59a60e8126
fix: admin 登录后 JWT 未携带 is_admin 的问题
2026-04-06 12:30:03 +08:00
zetaloop
28b48736af
fix: 文件不存在时提供报错信息
...
getFileUrlLogic 捕获 S3 NotFound 返回语义明确的错误信息,
getFileLogic 将 gRPC 错误转为普通 error 避免 HTTP 500。
2026-04-05 20:02:03 +08:00
zetaloop
dc076e19ae
chore: 清理死代码与空壳中间件
...
删除 email handler/user/ 和 logic/user/ 下未被 routes.go 引用的
重复 forgotPasswordHandler。删除 jwtauthMiddleware 空壳。
2026-04-05 18:22:48 +08:00
zetaloop
d80a21fe7d
fix: 服务创建接口未返回数据
...
AddPlayerServicesResp 加 PlayerServices 字段,创建后查询回填。
PlayerService.Id 加 optional 避免请求解析时要求传 id。
2026-04-05 18:08:40 +08:00
zetaloop
62442a324a
fix: 密码重置链路断裂与店铺模板类型不兼容
...
删除 users-api 的 forgot-password 空壳路由,email-api 的
forgotPasswordLogic 复用 sendVerificationCode 实现。shop 的
UpdateTemplateReq.Sections 从 interface{} 改为 string 以兼容
go-zero 反序列化。ResetPasswordReq.Phone 加 optional tag。
2026-04-05 17:59:56 +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
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