|
|
@@ -222,6 +222,7 @@ class MeiTuanNotifyController extends BaseApiController
|
|
|
if(!$order->isEmpty() && $order['verifyStatus'] != 2){
|
|
|
$un_pay = RechargeOrder::where(['work_id'=>$order['work_id'],'pay_status'=>0])->findOrEmpty();
|
|
|
if(!$un_pay->isEmpty()){
|
|
|
+ $un_pay->pay_way = 4;//美团支付
|
|
|
$un_pay->pay_status = PayEnum::ISPAID;
|
|
|
$un_pay->pay_time = time();
|
|
|
$un_pay->order_amount = $amount;
|
|
|
@@ -246,7 +247,8 @@ class MeiTuanNotifyController extends BaseApiController
|
|
|
'order_terminal'=>$good_order['order_terminal'],
|
|
|
'pay_status'=>PayEnum::ISPAID,
|
|
|
'pay_time'=>time(),
|
|
|
- 'paid_amount'=>$amount
|
|
|
+ 'paid_amount'=>$amount,
|
|
|
+ 'pay_way'=>4//美团支付
|
|
|
];
|
|
|
\app\common\model\recharge\RechargeOrder::create($order_data);
|
|
|
}
|