mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update Plugs.php
This commit is contained in:
parent
e34ceb9956
commit
88498c394f
@ -116,7 +116,7 @@ class Plugs extends Controller
|
|||||||
} catch (\Exception $exception) {
|
} catch (\Exception $exception) {
|
||||||
echo '<span class="color-red">' . $exception->getMessage() . '</span>';
|
echo '<span class="color-red">' . $exception->getMessage() . '</span>';
|
||||||
} else {
|
} else {
|
||||||
$this->error('只有超级管理员才能操作!');
|
echo '<span class="color-red">只有超级管理员才能操作!</span>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user