优化 Forbidden 提示信息

https://guangdagit.com/beike/beikeshop/issues/220
This commit is contained in:
Edward Yang 2022-09-09 19:12:56 +08:00
parent a761e03f5b
commit 7d562b04f7
3 changed files with 10 additions and 2 deletions

View File

@ -1,5 +1,5 @@
@extends('admin::layouts.master')
@section('title', __('Forbidden'))
@section('title', __('admin/common.forbidden'))
@section('code', '403')
@section('message', __($exception->getMessage() ?: 'Forbidden'))
@section('content', __('admin/common.has_no_permission'))

View File

@ -17,6 +17,10 @@ return [
'install' => 'Install',
'uninstall' => 'Uninstall',
// errors
'forbidden' => 'Forbidden',
'has_no_permission' => 'You have no permission, please contact with administrator.',
// header
'home' => 'Home',
'order' => 'Orders',

View File

@ -17,6 +17,10 @@ return [
'install' => '安装',
'uninstall' => '卸载',
// errors
'forbidden' => '禁止访问',
'has_no_permission' => '您没有权限访问该页面, 请联系系统管理员。',
// header
'home' => '管理首页',
'order' => '订单管理',