| xqd
@@ -152,6 +152,9 @@ class RoleController extends Controller
|
|
|
*/
|
|
|
public function destroy()
|
|
|
{
|
|
|
+ if (Request::input('id') == 7) {
|
|
|
+ $this->showWarning("该权限为基础权限,不可删除");
|
|
|
+ }
|
|
|
$bool = $this->_service->destroy(Request::input('id'));
|
|
|
if($bool) {
|
|
|
$this->showMessage('操作成功');
|