正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
@@ -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']]); |
-
请 注册 或 登录 后发表评论