...
|
...
|
@@ -8,6 +8,7 @@ |
|
|
|
|
|
namespace app\api\controller\v1;
|
|
|
|
|
|
use app\admin\controller\Car;
|
|
|
use app\api\controller\inspection\Task;
|
|
|
use lib\WXBizDataCrypt;
|
|
|
use think\Db;
|
...
|
...
|
@@ -106,7 +107,8 @@ class Login extends Base |
|
|
&end_address=".$route['end_address']."
|
|
|
&price=".$route['price'];
|
|
|
$url_data=urlencode($urldata);
|
|
|
$place_image=$this->getQRCode($url_data);
|
|
|
$carc=new Car();
|
|
|
$place_image=$carc->getQRCode($url_data);
|
|
|
//encodeURIComponent
|
|
|
$result = Db::name('driver')->where('id','=',$driver["id"])->update(['place_image'=>$place_image['fileurl']]);
|
|
|
}
|
...
|
...
|
|