作者 郭文星

123

@@ -101,7 +101,8 @@ class Index extends Api @@ -101,7 +101,8 @@ class Index extends Api
101 $wct_user=Db::name("wct_user")->where("unionid",$user['unionid'])->find(); 101 $wct_user=Db::name("wct_user")->where("unionid",$user['unionid'])->find();
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 - print_r($driver);return; 104 + $car=Db::name("car")->where("driver_id",$driver['id'])->find();
  105 + print_r($car);return;
105 $sendInfo = array( 106 $sendInfo = array(
106 'first' => array('value' => "汽车票出票状态通知", 'color' => "#743A3A"), 107 'first' => array('value' => "汽车票出票状态通知", 'color' => "#743A3A"),
107 'thing2' => array('value' => "{$order['starting_point']}-{$order['end_point']}", 'color' => '#173177'), 108 'thing2' => array('value' => "{$order['starting_point']}-{$order['end_point']}", 'color' => '#173177'),