|
|
@ -205,7 +205,7 @@ class PresidentDepositController extends ThinkController
|
|
|
|
if ($payType == 0) {
|
|
|
|
if ($payType == 0) {
|
|
|
|
return $this->error('请选择押金付款方式');
|
|
|
|
return $this->error('请选择押金付款方式');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if ($payWay == 0) {
|
|
|
|
if ($payType != 2 && $payWay == 0) {
|
|
|
|
return $this->error('请选择付款方式');
|
|
|
|
return $this->error('请选择付款方式');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if ($amount !== '') {
|
|
|
|
if ($amount !== '') {
|
|
|
@ -221,7 +221,7 @@ class PresidentDepositController extends ThinkController
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$data = [];
|
|
|
|
$data = [];
|
|
|
|
$data['pay_way'] = $payWay;
|
|
|
|
$data['pay_way'] = $payType == 2 ? 4 : $payWay;
|
|
|
|
$data['pay_type'] = $payType;
|
|
|
|
$data['pay_type'] = $payType;
|
|
|
|
$data['promote_id'] = $promoteId;
|
|
|
|
$data['promote_id'] = $promoteId;
|
|
|
|
$data['pay_account'] = $payAccount;
|
|
|
|
$data['pay_account'] = $payAccount;
|
|
|
|