feat: 补全 _name 字段公共映射函数,修正实名认证注释

This commit is contained in:
2026-04-14 11:44:23 +08:00
parent 5e9e41db21
commit 548ec0cd6b
6 changed files with 126 additions and 41 deletions

View File

@@ -137,8 +137,8 @@ func (s *Service) CreateOrder(ctx context.Context, customerID uint, req *dto.Cli
return nil, err
}
// [待确认] 业务是否需要实名认证检查?参见 tech-debt-cleanup 提案
// REALNAME-03: 按卡类型判断实名需求,普通卡需要实名,行业卡不需要
// 暂不做实名认证拦截,由网关侧处理
// REALNAME-03: 普通卡需要实名,行业卡不需要,待后续业务明确后按卡类型分支启用
// if assetInfo.CardCategory == "normal" && assetInfo.RealNameStatus != constants.RealNameStatusVerified {
// return nil, errors.New(errors.CodeNeedRealname)
// }