mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update Auth.php
This commit is contained in:
parent
e34db41cdc
commit
4593b54fc8
@ -18,7 +18,6 @@ namespace app\admin\controller;
|
||||
use app\admin\service\NodeService;
|
||||
use library\Controller;
|
||||
use think\Db;
|
||||
use think\exception\HttpResponseException;
|
||||
|
||||
/**
|
||||
* 系统权限管理
|
||||
@ -118,7 +117,7 @@ class Auth extends Controller
|
||||
try {
|
||||
NodeService::applyUserAuth(true);
|
||||
$this->success('刷新系统授权成功!');
|
||||
} catch (HttpResponseException $exception) {
|
||||
} catch (\think\exception\HttpResponseException $exception) {
|
||||
throw $exception;
|
||||
} catch (\Exception $e) {
|
||||
$this->error("刷新系统授权失败<br>{$e->getMessage()}");
|
||||
|
Loading…
x
Reference in New Issue
Block a user