...
|
...
|
@@ -107,6 +107,7 @@ class Pay extends Api |
|
|
$arr['total_price'] = $data['total_price'];
|
|
|
//支付金额为0,直接更新为支付成功
|
|
|
if($data['total_price'] == 0){
|
|
|
$arr['status'] = $status[2];
|
|
|
$res1 = $orderModel->where(['order_sn'=>$order_sn,'uid'=>$this->uid])->update($arr);
|
|
|
if($res1){
|
|
|
$res2 = Common::findSoftWhereData('order',['order_sn'=>$order_sn,'uid'=>$this->uid],'id order_id');
|
...
|
...
|
|