正在显示
1 个修改的文件
包含
3 行增加
和
1 行删除
@@ -8,6 +8,7 @@ | @@ -8,6 +8,7 @@ | ||
8 | 8 | ||
9 | namespace app\api\controller\v1; | 9 | namespace app\api\controller\v1; |
10 | 10 | ||
11 | +use app\admin\controller\Car; | ||
11 | use app\api\controller\inspection\Task; | 12 | use app\api\controller\inspection\Task; |
12 | use lib\WXBizDataCrypt; | 13 | use lib\WXBizDataCrypt; |
13 | use think\Db; | 14 | use think\Db; |
@@ -106,7 +107,8 @@ class Login extends Base | @@ -106,7 +107,8 @@ class Login extends Base | ||
106 | &end_address=".$route['end_address']." | 107 | &end_address=".$route['end_address']." |
107 | &price=".$route['price']; | 108 | &price=".$route['price']; |
108 | $url_data=urlencode($urldata); | 109 | $url_data=urlencode($urldata); |
109 | - $place_image=$this->getQRCode($url_data); | 110 | + $carc=new Car(); |
111 | + $place_image=$carc->getQRCode($url_data); | ||
110 | //encodeURIComponent | 112 | //encodeURIComponent |
111 | $result = Db::name('driver')->where('id','=',$driver["id"])->update(['place_image'=>$place_image['fileurl']]); | 113 | $result = Db::name('driver')->where('id','=',$driver["id"])->update(['place_image'=>$place_image['fileurl']]); |
112 | } | 114 | } |
-
请 注册 或 登录 后发表评论