feat(order-service): 优化资料字段预设与游戏ID校验

This commit is contained in:
yml2213
2026-11-04 12:33:33 +08:00
parent e17f336e1c
commit 1a80521057
21 changed files with 377 additions and 37 deletions
@@ -83,8 +83,17 @@ work_orders.service_profile_snapshot_json
- 写入最新配置版本和快照;
- 同步 `requirement_json.fields`;
- 有有效拼单份额的工单不会覆盖;
- 已提交、已指派、已进入履约的工单保持不变。
字段配置优先使用标准字段:
- `gameId`:游戏 ID,按字符串保存并校验为纯数字,避免超长 ID 精度丢失;
- `gameNickname`:游戏昵称,允许中文、字母和符号;
- `serverZone`:区服;
- `system`、`gameAccount`、`roleLevel`、`contactPhone`、`orderNote` 作为可选预设;
- 自定义字段必须填写有业务含义的 Key,不再自动生成随机 Key。
## 4. 客户页面
`/o` 支持: