作者 郭文星

123

@@ -134,8 +134,8 @@ class Car extends Backend @@ -134,8 +134,8 @@ class Car extends Backend
134 &name=".$driver['name']." 134 &name=".$driver['name']."
135 &end_address=".$route['end_address']." 135 &end_address=".$route['end_address']."
136 &price=".$route['price']; 136 &price=".$route['price'];
137 - $url_data=trim($url_data);  
138 - $url_data=urlencode($urldata); 137 + $url_data=trim($urldata);
  138 + $url_data=urlencode($url_data);
139 $place_image=$this->getQRCode($url_data); 139 $place_image=$this->getQRCode($url_data);
140 //encodeURIComponent 140 //encodeURIComponent
141 $result = Db::name('driver')->where('id','=',$driver["id"])->update(['place_image'=>$place_image['fileurl']]); 141 $result = Db::name('driver')->where('id','=',$driver["id"])->update(['place_image'=>$place_image['fileurl']]);