更新 app/controller/api/Auth.php
小程序判断
This commit is contained in:
parent
5aa60c34d8
commit
0274d101f5
@ -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{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user