getsAuthConfig(); if (!empty($param_list)) { $data = $param_list; $auth_data = []; //解密 foreach ($data as $k => $item) { $a = explode(':', $item); //存入缓存 一天的有效期 if ($a[0] == 'LONGBING_AUTH_GOODS_SINGLE') { $a[0] = 'LONGBING_AUTH_GOODS'; } $auth_data[] = $a; } setCache('single_checked_auth_' . $app_model_name . $domain_name, $auth_data, 3600, $uniacid); return $auth_data; } return null; } /** * 获取s端的权限配置 * * @return array|null * @author ArtizanZhang * @DataTime: 2019/12/9 11:26 */ public static function getSAuConfig (int $uniacid): ?array { if (isset(self::$sAuthConfig[$uniacid])) { return self::$sAuthConfig[$uniacid]; } try { $sAuthConfig = self::_getsAuthConfig($uniacid); if(empty($sAuthConfig)) { $sAuthConfig = [] ; } self::$sAuthConfig[$uniacid] = $sAuthConfig; return $sAuthConfig; } catch (\Exception $exception) { } return null; } }