|
|
@@ -492,7 +492,7 @@ class PaymentService extends BaseService
|
|
|
// 生活充值
|
|
|
else if ($scene == 'pay') {
|
|
|
$orderInfo = PayOrdersModel::where(['order_no' => $orderNo, 'mark' => 1])
|
|
|
- ->select(['id as order_id', 'user_id','meal_id','product_id', 'order_no','transaction_id','account', 'total as pay_money','pay_total', 'pay_at as pay_time', 'remark', 'status'])
|
|
|
+ ->select(['id as order_id', 'user_id','meal_id','product_id', 'order_no','transaction_id','account', 'total as pay_money','area','ytype','city','id_card_no','pay_total', 'pay_at as pay_time', 'remark', 'status'])
|
|
|
->first();
|
|
|
$orderStatus = isset($orderInfo['status']) ? $orderInfo['status'] : 0;
|
|
|
// 验证订单
|
|
|
@@ -567,7 +567,7 @@ class PaymentService extends BaseService
|
|
|
$total = isset($orderInfo['pay_money'])? $orderInfo['pay_money'] : 0;
|
|
|
$amount = $total;
|
|
|
|
|
|
- $result = DyrPayService::make()->recharge($orderNo, $account, $productId, $amount);
|
|
|
+ $result = DyrPayService::make()->recharge($orderNo, $account, $productId, $amount, $orderInfo);
|
|
|
$errno = isset($result['errno'])?$result['errno'] : -1;
|
|
|
$errmsg = isset($result['errmsg'])?$result['errmsg'] : '';
|
|
|
$res = isset($result['data'])?$result['data']:[];
|