This commit is contained in:
@@ -138,9 +138,9 @@ func (s *Service) CreateOrder(ctx context.Context, customerID uint, req *dto.Cli
|
|||||||
}
|
}
|
||||||
|
|
||||||
// REALNAME-03: 按卡类型判断实名需求,普通卡需要实名,行业卡不需要
|
// REALNAME-03: 按卡类型判断实名需求,普通卡需要实名,行业卡不需要
|
||||||
if assetInfo.CardCategory == "normal" && assetInfo.RealNameStatus != constants.RealNameStatusVerified {
|
// if assetInfo.CardCategory == "normal" && assetInfo.RealNameStatus != constants.RealNameStatusVerified {
|
||||||
return nil, errors.New(errors.CodeNeedRealname)
|
// return nil, errors.New(errors.CodeNeedRealname)
|
||||||
}
|
// }
|
||||||
|
|
||||||
// 先判断是否需要强充,避免普通下单时不必要地校验微信配置
|
// 先判断是否需要强充,避免普通下单时不必要地校验微信配置
|
||||||
forceRecharge := s.checkForceRechargeRequirement(skipCtx, validationResult)
|
forceRecharge := s.checkForceRechargeRequirement(skipCtx, validationResult)
|
||||||
|
|||||||
Reference in New Issue
Block a user