rwadurian/backend/services/identity-service/src
hailin cad7ebe832 feat(payment-password): 添加支付密码功能(全栈)
后端(identity-service):
- Prisma schema 新增 paymentPasswordHash 字段及手动迁移脚本
- user-application.service 添加 4 个方法:isPaymentPasswordSet / setPaymentPassword /
  changePaymentPassword / verifyPaymentPassword(纯新增,不修改已有逻辑)
- user-account.controller 新增 4 个端点:
  GET /user/payment-password-status
  POST /user/set-payment-password
  POST /user/change-payment-password
  POST /user/verify-payment-password → { valid: bool }

前端(mobile-app):
- account_service 新增 4 个方法对应后端 4 个接口
- 新建 change_payment_password_page.dart:6 位数字支付密码设置/修改页面
- 路由:RoutePaths / RouteNames / AppRouter 注册 /security/payment-password
- profile_page:'修改登录密码' 改为 '修改密码',下方新增 '支付密码' 入口
- PasswordVerifyDialog:新增 title / subtitle / hint 可选参数,支持登录/支付双模式
- planting_location_page:认种确认改为验证支付密码(verifyPaymentPassword)
- pre_planting_purchase_page:预种确认后追加支付密码验证步骤

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-05 06:18:40 -08:00
..
api feat(payment-password): 添加支付密码功能(全栈) 2026-03-05 06:18:40 -08:00
application feat(payment-password): 添加支付密码功能(全栈) 2026-03-05 06:18:40 -08:00
config feat: 实现手机号+密码登录和账号恢复功能 2025-12-20 20:35:44 -08:00
domain fix: 修复 mining-blockchain-service Kafka consumer group 冲突 2026-01-28 22:05:55 -08:00
infrastructure fix(kafka): 修复 MPC Kafka consumer 启动订阅失败后不重试的问题 2026-02-02 19:18:10 -08:00
shared feat(identity): 改用创意组合名字替代序号命名 2025-12-24 00:25:03 -08:00
app.module.ts feat(pending-actions): add user pending actions system 2026-01-02 18:22:51 -08:00
main.ts feat: 实现手机号+密码登录和账号恢复功能 2025-12-20 20:35:44 -08:00