|
@@ -1092,7 +1092,7 @@ public class UserPaymentCoreServiceImpl implements UserPaymentCoreService {
|
|
|
|
|
|
// 结算给机构的,检测机构的主账户,没有主账户的,查询-1的主账户
|
|
|
String defaultService = paymentServiceContext.getProperties().getDefaultService();
|
|
|
- if (EPayerType.ORIGINAL.getCode().toLowerCase().equals(defaultService)) {
|
|
|
+ if (EPayerType.ORIGINAL.getCode().toLowerCase().equals(defaultService) || resp.getPaymentVersion() == EPaymentVersion.V1) {
|
|
|
// 微信、支付宝原生支付
|
|
|
if (Objects.isNull(payTypeReq.getClientType())) {
|
|
|
throw new BizException("支付客户端类型不能为空");
|