...
|
...
|
@@ -21,7 +21,7 @@ class Index extends Api |
|
|
*/
|
|
|
public function index()
|
|
|
{
|
|
|
$res=$this->senWxmsgToDriverUser(284);
|
|
|
$res=$this->senWxmsgToDriverUser(286);
|
|
|
$this->success('请求成功');
|
|
|
}
|
|
|
|
...
|
...
|
@@ -95,7 +95,6 @@ class Index extends Api |
|
|
function senWxmsgToDriverUser($order_id)
|
|
|
{
|
|
|
$order=Db::name("order")->find($order_id);
|
|
|
|
|
|
if($order['driver_id']){
|
|
|
$driver=Db::name("driver")->find($order['driver_id']);
|
|
|
$user=Db::name("user")->find($driver['user_id']);
|
...
|
...
|
@@ -105,7 +104,7 @@ class Index extends Api |
|
|
'first' => array('value' => "汽车票出票状态通知", 'color' => "#743A3A"),
|
|
|
'thing2' => array('value' => "{$order['starting_point']}-{$order['end_point']}", 'color' => '#173177'),
|
|
|
'time3' => array('value' =>urlencode(date('Y-m-d H:i:s', $order['reservation_time'])), 'color' => '#173177'),
|
|
|
'thing7' => array('value' =>"{$order['starting_point']}", 'color' => '#173177'),
|
|
|
'thing7' => array('value' =>"{$order['position']}", 'color' => '#173177'),
|
|
|
'phone_number5' => array('value' => "{$order['phone']}", 'color' => '#173177'),
|
|
|
);
|
|
|
|
...
|
...
|
|