|
@@ -2263,12 +2263,13 @@ class WholeController extends Curd
|
|
|
$account->member_account_expend = $account->member_account_expend + $params['order_amount_pay'];
|
|
|
$account->save();
|
|
|
|
|
|
+ $params['order_status_system'] = $systemStatus;
|
|
|
+ $params['order_status_payment'] = 'SUCCESS';
|
|
|
+
|
|
|
// 生成支付记录
|
|
|
OrderService::createPayDetail($params);
|
|
|
-
|
|
|
$params['order_amount_pay'] = $orderAmountPay;
|
|
|
- $params['order_status_system'] = $systemStatus;
|
|
|
- $params['order_status_payment'] = 'SUCCESS';
|
|
|
+
|
|
|
}
|
|
|
// if ($params['settlement_now'] == 'Y' && $params['pay_category'] == 'WELFARE') { // 福利账户
|
|
|
// $account = MemberAccount::where('join_account_member_id', $params['join_order_member_id'])
|
|
@@ -2338,12 +2339,13 @@ class WholeController extends Curd
|
|
|
$account->member_account_expend = $account->member_account_expend + $params['order_amount_pay'];
|
|
|
$account->save();
|
|
|
|
|
|
+
|
|
|
+ $params['order_status_system'] = $systemStatus;
|
|
|
+ $params['order_status_payment'] = 'SUCCESS';
|
|
|
// 生成支付记录
|
|
|
OrderService::createPayDetail($params);
|
|
|
|
|
|
$params['order_amount_pay'] = $orderAmountPay;
|
|
|
- $params['order_status_system'] = $systemStatus;
|
|
|
- $params['order_status_payment'] = 'SUCCESS';
|
|
|
}
|
|
|
//!empty($params['pay_category_constitute']) && in_array('CARD',$params['pay_category_constitute'])
|
|
|
// if(($params['pay_constitute'] == 'Y' || $params['pay_category'] == 'QRCODE') && $params['settlement_now'] == 'Y' && !empty($params['qrcode_nbr'])){ // 付款码
|
|
@@ -2370,7 +2372,6 @@ class WholeController extends Curd
|
|
|
} else {
|
|
|
$params['order_status_system'] = $systemStatus;
|
|
|
$params['order_status_payment'] = 'SUCCESS';
|
|
|
- $params['order_is_complete'] = 'N';
|
|
|
}
|
|
|
} else if (in_array($prefix, [25, 26, 27, 28, 29, 30])) {
|
|
|
$params['pay_category'] = 'ALIPAY';
|
|
@@ -4013,8 +4014,10 @@ class WholeController extends Curd
|
|
|
}
|
|
|
}
|
|
|
Db::rollBack();
|
|
|
+ return json_fail('查询失败');
|
|
|
} catch (\Exception $e) {
|
|
|
Db::rollBack();
|
|
|
+ return json_fail('查询失败');
|
|
|
}
|
|
|
}
|
|
|
|