Admin JWT tokens from identity-service don't include the accountSequence field (only userId, email, role, type). This caused a 400 error with message "管理员账户序列号不能为空" when admins tried to grant authorizations. Changes: - Update AdminUserId value object to make accountSequence optional - Use 'ADMIN' as default value when accountSequence is not provided - Update all controller methods to handle optional accountSequence 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| api | ||
| application | ||
| config | ||
| domain | ||
| infrastructure | ||
| shared | ||
| app.module.ts | ||
| main.ts | ||