作者 郭文星

1231

@@ -98,8 +98,7 @@ class Index extends Api @@ -98,8 +98,7 @@ class Index extends Api
98 if($order['user_id']){ 98 if($order['user_id']){
99 $order['start']=$order['starting_point']; 99 $order['start']=$order['starting_point'];
100 $order['to']=$order['end_point']; 100 $order['to']=$order['end_point'];
101 - $order['timeStr']=(string)$order['reservation_time'];  
102 - //$order['timeStr']=str_replace(' ','',$order['reservation_time']); 101 + $order['timeStr']=str_replace(' ','',$order['reservation_time']);
103 if($order['type']==1){ 102 if($order['type']==1){
104 $order['typeImg']='../../static/img-2.png'; 103 $order['typeImg']='../../static/img-2.png';
105 }else if($order['type']==2){ 104 }else if($order['type']==2){
@@ -121,6 +120,7 @@ class Index extends Api @@ -121,6 +120,7 @@ class Index extends Api
121 'thing8' => array('value' => "{$substring}师傅{$car['license_plate']}", 'color' => '#173177'), 120 'thing8' => array('value' => "{$substring}师傅{$car['license_plate']}", 'color' => '#173177'),
122 'phone_number5' => array('value' => "{$order['phone']}", 'color' => '#173177'), 121 'phone_number5' => array('value' => "{$order['phone']}", 'color' => '#173177'),
123 ); 122 );
  123 +
124 if ($wxopenid) { 124 if ($wxopenid) {
125 $config = get_addon_config('wechat'); 125 $config = get_addon_config('wechat');
126 $tourl = ''; 126 $tourl = '';