支付密码是6位纯数字,但 setTradePassword 调用了 Password.create() 走了登录密码的格式验证(要求≥8位+字母+数字),导致必然抛出异常。 新增 Password.createWithoutValidation() 方法,仅做 bcrypt hash 不走格式验证。支付密码的格式验证由 trade-password.service.ts 独立处理。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| .claude | ||
| api-gateway | ||
| infrastructure | ||
| mpc-system | ||
| scripts | ||
| services | ||
| .env.windows | ||
| docker-compose.windows.yml | ||