正在显示
1 个修改的文件
包含
2 行增加
和
1 行删除
@@ -216,7 +216,8 @@ class Car extends Backend | @@ -216,7 +216,8 @@ class Car extends Backend | ||
216 | &name=".$driver['name']." | 216 | &name=".$driver['name']." |
217 | &end_address=".$route['end_address']." | 217 | &end_address=".$route['end_address']." |
218 | &price=".$route['price']; | 218 | &price=".$route['price']; |
219 | - $url_data=urlencode($urldata); | 219 | + $url_data=trim($urldata); |
220 | + $url_data=urlencode($url_data); | ||
220 | $place_image=$this->getQRCode($url_data); | 221 | $place_image=$this->getQRCode($url_data); |
221 | $result = Db::name('driver')->where('id','=',$driver["id"])->update(['place_image'=>$place_image['fileurl']]); | 222 | $result = Db::name('driver')->where('id','=',$driver["id"])->update(['place_image'=>$place_image['fileurl']]); |
222 | } | 223 | } |
-
请 注册 或 登录 后发表评论