diff --git a/app/controller/api/user/User.php b/app/controller/api/user/User.php index b584233f..85dea752 100644 --- a/app/controller/api/user/User.php +++ b/app/controller/api/user/User.php @@ -541,7 +541,8 @@ class User extends BaseController */ public function qrcode(){ $common= app()->make(Common::class); - $data=$common->Qrcode(['code'=>'shop_'.$this->user->uid,'id'=>$this->user->uid]); + $siteUrl = systemConfig('site_url'); + $data=$common->Qrcode(['code'=>$siteUrl.'download/index.html?code=shop_'.$this->user->uid,'id'=>$this->user->uid]); return app('json')->success(['url'=>$data]); } }