1
0
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:
Anyon 2019-07-17 17:11:42 +08:00
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()}");