|
@@ -2354,12 +2354,12 @@ class WholeController extends Curd
|
|
|
}
|
|
|
$params['order_amount_pay'] = $orderAmountPay;
|
|
|
}
|
|
|
- if (!empty($params['pay_category_constitute']) && in_array('MONEY', $params['pay_category_constitute'])) { // 线下支付
|
|
|
+ if (!empty($params['pay_category_constitute']) && in_array('MONEY', $params['pay_category_constitute'])) { // 现金支付
|
|
|
$params['order_status_system'] = $systemStatus;
|
|
|
$params['order_status_payment'] = 'SUCCESS';
|
|
|
$params['pay_category'] = 'MONEY';
|
|
|
|
|
|
- // 线下支付金额
|
|
|
+ // 现金支付金额
|
|
|
if (isset($constituteList['MONEY'])) {
|
|
|
$params['order_amount_pay'] = $constituteList['MONEY'];
|
|
|
// 生成支付记录
|
|
@@ -2895,6 +2895,8 @@ class WholeController extends Curd
|
|
|
$payPrepayid = $params['pay_category'];
|
|
|
} else if ($params['pay_category'] == 'OFFLINE') {
|
|
|
$payPrepayid = 'OFFLINE';
|
|
|
+ } else if ($params['pay_category'] == 'MONEY') {
|
|
|
+ $payPrepayid = 'MONEY';
|
|
|
} else {
|
|
|
$payPrepayid = $params['join_order_member_id'] . '-' . $params['pay_category'];
|
|
|
}
|