Merge pull request 'preview' (#52) from preview into master

Reviewed-on: #52
This commit is contained in:
mkm 2023-10-18 09:53:03 +08:00
commit 70d6e561d7

View File

@ -358,7 +358,8 @@ class Auth extends BaseController
$thirdList[] = $temp; $thirdList[] = $temp;
} }
$data['thirdparty'] = $thirdList; $data['thirdparty'] = $thirdList;
$arr=env('APP_SHOW')??[]; $arr=env('APP_SHOW')??'';
$arr=explode(',',$arr);
if(in_array($user['uid'],$arr )){ if(in_array($user['uid'],$arr )){
$data['show_controller_applet']=true; $data['show_controller_applet']=true;
}else{ }else{