作者 郭文星

123

@@ -102,13 +102,13 @@ class Index extends Api @@ -102,13 +102,13 @@ class Index extends Api
102 $wxopenid=$wct_user['wx_openid']; 102 $wxopenid=$wct_user['wx_openid'];
103 $driver=Db::name("driver")->find($order['driver_id']); 103 $driver=Db::name("driver")->find($order['driver_id']);
104 $car=Db::name("car")->where("driver_id",$driver['id'])->find(); 104 $car=Db::name("car")->where("driver_id",$driver['id'])->find();
105 - print_r($car);return; 105 + print_r($driver);return;
106 $sendInfo = array( 106 $sendInfo = array(
107 'first' => array('value' => "汽车票出票状态通知", 'color' => "#743A3A"), 107 'first' => array('value' => "汽车票出票状态通知", 'color' => "#743A3A"),
108 'thing2' => array('value' => "{$order['starting_point']}-{$order['end_point']}", 'color' => '#173177'), 108 'thing2' => array('value' => "{$order['starting_point']}-{$order['end_point']}", 'color' => '#173177'),
109 'time3' => array('value' =>date("Y-m-d H:i:s",$order['departure_time']), 'color' => '#173177'), 109 'time3' => array('value' =>date("Y-m-d H:i:s",$order['departure_time']), 'color' => '#173177'),
110 'thing7' => array('value' =>"{$order['position']}", 'color' => '#173177'), 110 'thing7' => array('value' =>"{$order['position']}", 'color' => '#173177'),
111 - 'thing8' => array('value' => "李师傅云H12E41", 'color' => '#173177'), 111 + 'thing8' => array('value' => "{$driver['']}{$car['license_plate']}", 'color' => '#173177'),
112 'phone_number5' => array('value' => "{$order['phone']}", 'color' => '#173177'), 112 'phone_number5' => array('value' => "{$order['phone']}", 'color' => '#173177'),
113 ); 113 );
114 if ($wxopenid) { 114 if ($wxopenid) {