...
|
...
|
@@ -102,13 +102,12 @@ class Index extends Api |
|
|
$wxopenid=$wct_user['wx_openid'];
|
|
|
$driver=Db::name("driver")->find($order['driver_id']);
|
|
|
$car=Db::name("car")->where("driver_id",$driver['id'])->find();
|
|
|
print_r($driver);return;
|
|
|
$sendInfo = array(
|
|
|
'first' => array('value' => "汽车票出票状态通知", 'color' => "#743A3A"),
|
|
|
'thing2' => array('value' => "{$order['starting_point']}-{$order['end_point']}", 'color' => '#173177'),
|
|
|
'time3' => array('value' =>date("Y-m-d H:i:s",$order['departure_time']), 'color' => '#173177'),
|
|
|
'thing7' => array('value' =>"{$order['position']}", 'color' => '#173177'),
|
|
|
'thing8' => array('value' => "{$driver['']}{$car['license_plate']}", 'color' => '#173177'),
|
|
|
'thing8' => array('value' => "{$driver['name']}{$car['license_plate']}", 'color' => '#173177'),
|
|
|
'phone_number5' => array('value' => "{$order['phone']}", 'color' => '#173177'),
|
|
|
);
|
|
|
if ($wxopenid) {
|
...
|
...
|
|