From 1a5abae6e6051b1728f7d7f6062edaf627950f12 Mon Sep 17 00:00:00 2001 From: shengchanzhe <179998674@qq.com> Date: Tue, 17 Oct 2023 09:31:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/api/Auth.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/controller/api/Auth.php b/app/controller/api/Auth.php index 469d39d0..7293d19b 100644 --- a/app/controller/api/Auth.php +++ b/app/controller/api/Auth.php @@ -358,6 +358,12 @@ class Auth extends BaseController $thirdList[] = $temp; } $data['thirdparty'] = $thirdList; + $arr=env('APP_SHOW')??[]; + if(in_array($user['uid'],$arr )){ + $data['show_controller_applet']=true; + }else{ + $data['show_controller_applet']=false; + } return app('json')->success($data); }