更新 app/controller/api/Auth.php

小程序判断
This commit is contained in:
mkm 2023-10-18 09:52:26 +08:00
parent 5aa60c34d8
commit 0274d101f5

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{