zhangguidong 2 vuotta sitten
vanhempi
commit
07dd415621
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      application/api/controller/Notification.php

+ 2 - 0
application/api/controller/Notification.php

@@ -75,6 +75,7 @@ class Notification extends Api
         $time = date('H:i');
         $order_list = $order_model->where('status',2)->select();
         foreach ($order_list as &$v){
+
             $user_info =$user_model->where('id',$v['t_user_id'])->field('sms_number,duanxin')->find();
             if($time>$v['end']) {//执行退款发送信息
                 $type = 'wechat';
@@ -82,6 +83,7 @@ class Notification extends Api
                     $type = 'alipay';
                 }
                 $re = $writeoff_model->refund_order($v['order_money'],$v['order_no'],$type);
+                print_r($re);die;
                 if($re) {
                     if ($user_info['sms_number'] > 0 && $user_info['duanxin'] == 1) {
                         $sms_model->order_guoshi($v['phone'], $v['order_no'], $v['order_money'], $v['t_user_id']);