正在显示
1 个修改的文件
包含
0 行增加
和
4 行删除
@@ -210,11 +210,7 @@ class Car extends Backend | @@ -210,11 +210,7 @@ class Car extends Backend | ||
210 | ]; | 210 | ]; |
211 | $urldata="start_address=".$route['start_address']."&route_id=".$route['id']."&driver_id=".$driver['id']."&license_plate=".$car['license_plate']."&name=".$driver['name']."&end_address=".$route['end_address']."&price=".$route['price']; | 211 | $urldata="start_address=".$route['start_address']."&route_id=".$route['id']."&driver_id=".$driver['id']."&license_plate=".$car['license_plate']."&name=".$driver['name']."&end_address=".$route['end_address']."&price=".$route['price']; |
212 | $url_data=trim($urldata); | 212 | $url_data=trim($urldata); |
213 | - print_r($url_data); | ||
214 | $url_data=urlencode($url_data); | 213 | $url_data=urlencode($url_data); |
215 | - print_r("================"); | ||
216 | - print_r($url_data); | ||
217 | - return; | ||
218 | $place_image=$this->getQRCode($url_data); | 214 | $place_image=$this->getQRCode($url_data); |
219 | $result = Db::name('driver')->where('id','=',$driver["id"])->update(['place_image'=>$place_image['fileurl']]); | 215 | $result = Db::name('driver')->where('id','=',$driver["id"])->update(['place_image'=>$place_image['fileurl']]); |
220 | } | 216 | } |
-
请 注册 或 登录 后发表评论