|
2 | 2 |
|
3 | 3 | return [
|
4 | 4 |
|
5 |
| - /* |
6 |
| - |-------------------------------------------------------------------------- |
7 |
| - | Laravel-admin name |
8 |
| - |-------------------------------------------------------------------------- |
9 |
| - | |
10 |
| - | This value is the name of laravel-admin, This setting is displayed on the |
11 |
| - | login page. |
12 |
| - | |
13 |
| - */ |
14 |
| - 'name' => 'Laravel-admin', |
15 |
| - |
16 |
| - 'loginDesc' => 'iView Admin Pro 企业级中台前端/设计解决方案', |
17 |
| - |
18 |
| - /* |
19 |
| - |-------------------------------------------------------------------------- |
20 |
| - | Laravel-admin logo |
21 |
| - |-------------------------------------------------------------------------- |
22 |
| - | |
23 |
| - | The logo of all admin pages. You can also set it as an image by using a |
24 |
| - | `img` tag, eg '<img src="http://logo-url" alt="Admin logo">'. |
25 |
| - | |
26 |
| - */ |
| 5 | + |
| 6 | + 'name' => 'Laravel-vue-admin', |
| 7 | + |
| 8 | + 'loginDesc' => '开箱即用的 Laravel 后台扩展', |
| 9 | + |
| 10 | + |
27 | 11 | 'loginLogo' => 'https://file.iviewui.com/admin-pro-dist/img/logo.7b8cc895.png',
|
28 | 12 | 'logoDark' => 'https://file.iviewui.com/admin-pro-dist/img/logo-dark.ab519d9f.png',
|
29 | 13 | 'logo' => 'https://file.iviewui.com/admin-pro-dist/img/logo.7b8cc895.png',
|
30 | 14 |
|
31 |
| - 'copyright' => 'Copyright © 2019 广西米米资产管理有限公司', |
| 15 | + 'copyright' => 'Copyright © 2020 小土狗', |
32 | 16 | 'footerLinks' => [
|
33 | 17 | [
|
34 | 18 | 'href' => 'https://github.com/SmallRuralDog/laravel-vue-admin',
|
35 | 19 | 'title' => '官网'
|
36 | 20 | ],
|
37 |
| - [ |
38 |
| - 'href' => 'https://github.com/SmallRuralDog/laravel-vue-admin', |
39 |
| - 'title' => '社区' |
40 |
| - ], |
41 | 21 | [
|
42 | 22 | 'href' => 'https://smallruraldog.github.io/laravel-vue-admin/',
|
43 | 23 | 'title' => '文档'
|
44 | 24 | ]
|
45 | 25 | ],
|
46 | 26 |
|
47 |
| - |
48 |
| - /* |
49 |
| - |-------------------------------------------------------------------------- |
50 |
| - | Laravel-admin mini logo |
51 |
| - |-------------------------------------------------------------------------- |
52 |
| - | |
53 |
| - | The logo of all admin pages when the sidebar menu is collapsed. You can |
54 |
| - | also set it as an image by using a `img` tag, eg |
55 |
| - | '<img src="http://logo-url" alt="Admin logo">'. |
56 |
| - | |
57 |
| - */ |
58 | 27 | 'logo-mini' => 'https://file.iviewui.com/admin-pro-dist/img/logo-small.4a34a883.png',
|
59 | 28 |
|
60 |
| - /* |
61 |
| - |-------------------------------------------------------------------------- |
62 |
| - | Laravel-admin bootstrap setting |
63 |
| - |-------------------------------------------------------------------------- |
64 |
| - | |
65 |
| - | This value is the path of laravel-admin bootstrap file. |
66 |
| - | |
67 |
| - */ |
68 | 29 | 'bootstrap' => app_path('Admin/bootstrap.php'),
|
69 | 30 |
|
70 |
| - /* |
71 |
| - |-------------------------------------------------------------------------- |
72 |
| - | Laravel-admin route settings |
73 |
| - |-------------------------------------------------------------------------- |
74 |
| - | |
75 |
| - | The routing configuration of the admin page, including the path prefix, |
76 |
| - | the controller namespace, and the default middleware. If you want to |
77 |
| - | access through the root path, just set the prefix to empty string. |
78 |
| - | |
79 |
| - */ |
| 31 | + |
80 | 32 | 'route' => [
|
81 | 33 |
|
82 | 34 | 'prefix' => env('ADMIN_ROUTE_PREFIX', 'admin'),
|
|
87 | 39 | 'middleware' => ['web', 'admin'],
|
88 | 40 | ],
|
89 | 41 |
|
90 |
| - /* |
91 |
| - |-------------------------------------------------------------------------- |
92 |
| - | Laravel-admin install directory |
93 |
| - |-------------------------------------------------------------------------- |
94 |
| - | |
95 |
| - | The installation directory of the controller and routing configuration |
96 |
| - | files of the administration page. The default is `app/Admin`, which must |
97 |
| - | be set before running `artisan admin::install` to take effect. |
98 |
| - | |
99 |
| - */ |
| 42 | + |
100 | 43 | 'directory' => app_path('Admin'),
|
101 | 44 |
|
102 |
| - /* |
103 |
| - |-------------------------------------------------------------------------- |
104 |
| - | Laravel-admin html title |
105 |
| - |-------------------------------------------------------------------------- |
106 |
| - | |
107 |
| - | Html title for all pages. |
108 |
| - | |
109 |
| - */ |
| 45 | + |
110 | 46 | 'title' => 'Admin',
|
111 | 47 |
|
112 |
| - /* |
113 |
| - |-------------------------------------------------------------------------- |
114 |
| - | Access via `https` |
115 |
| - |-------------------------------------------------------------------------- |
116 |
| - | |
117 |
| - | If your page is going to be accessed via https, set it to `true`. |
118 |
| - | |
119 |
| - */ |
| 48 | + |
120 | 49 | 'https' => env('ADMIN_HTTPS', false),
|
121 | 50 |
|
122 |
| - /* |
123 |
| - |-------------------------------------------------------------------------- |
124 |
| - | Laravel-admin auth setting |
125 |
| - |-------------------------------------------------------------------------- |
126 |
| - | |
127 |
| - | Authentication settings for all admin pages. Include an authentication |
128 |
| - | guard and a user provider setting of authentication driver. |
129 |
| - | |
130 |
| - | You can specify a controller for `login` `logout` and other auth routes. |
131 |
| - | |
132 |
| - */ |
133 | 51 | 'auth' => [
|
134 | 52 |
|
135 | 53 | 'controller' => App\Admin\Controllers\AuthController::class,
|
|
164 | 82 | ],
|
165 | 83 | ],
|
166 | 84 |
|
167 |
| - /* |
168 |
| - |-------------------------------------------------------------------------- |
169 |
| - | Laravel-admin upload setting |
170 |
| - |-------------------------------------------------------------------------- |
171 |
| - | |
172 |
| - | File system configuration for form upload files and images, including |
173 |
| - | disk and upload path. |
174 |
| - | |
175 |
| - */ |
176 | 85 | 'upload' => [
|
177 | 86 |
|
178 | 87 | // Disk in `config/filesystem.php`.
|
|
185 | 94 | ],
|
186 | 95 | ],
|
187 | 96 |
|
188 |
| - /* |
189 |
| - |-------------------------------------------------------------------------- |
190 |
| - | Laravel-admin database settings |
191 |
| - |-------------------------------------------------------------------------- |
192 |
| - | |
193 |
| - | Here are database settings for laravel-admin builtin model & tables. |
194 |
| - | |
195 |
| - */ |
196 | 97 | 'database' => [
|
197 | 98 |
|
198 | 99 | // Database connection for following tables.
|
|
222 | 123 | 'role_menu_table' => 'admin_role_menu',
|
223 | 124 | ],
|
224 | 125 |
|
225 |
| - /* |
226 |
| - |-------------------------------------------------------------------------- |
227 |
| - | User operation log setting |
228 |
| - |-------------------------------------------------------------------------- |
229 |
| - | |
230 |
| - | By setting this option to open or close operation log in laravel-admin. |
231 |
| - | |
232 |
| - */ |
233 | 126 | 'operation_log' => [
|
234 | 127 |
|
235 | 128 | 'enable' => true,
|
|
250 | 143 | ],
|
251 | 144 | ],
|
252 | 145 |
|
253 |
| - /* |
254 |
| - |-------------------------------------------------------------------------- |
255 |
| - | Indicates whether to check route permission. |
256 |
| - |-------------------------------------------------------------------------- |
257 |
| - */ |
258 | 146 | 'check_route_permission' => true,
|
259 | 147 |
|
260 |
| - /* |
261 |
| - |-------------------------------------------------------------------------- |
262 |
| - | Indicates whether to check menu roles. |
263 |
| - |-------------------------------------------------------------------------- |
264 |
| - */ |
| 148 | + |
265 | 149 | 'check_menu_roles' => true,
|
266 | 150 |
|
267 |
| - /* |
268 |
| - |-------------------------------------------------------------------------- |
269 |
| - | User default avatar |
270 |
| - |-------------------------------------------------------------------------- |
271 |
| - | |
272 |
| - | Set a default avatar for newly created users. |
273 |
| - | |
274 |
| - */ |
275 | 151 | 'default_avatar' => 'https://dev-file.iviewui.com/userinfoPDvn9gKWYihR24SpgC319vXY8qniCqj4/avatar',
|
276 | 152 |
|
277 |
| - /* |
278 |
| - |-------------------------------------------------------------------------- |
279 |
| - | Admin map field provider |
280 |
| - |-------------------------------------------------------------------------- |
281 |
| - | |
282 |
| - | Supported: "tencent", "google", "yandex". |
283 |
| - | |
284 |
| - */ |
| 153 | + |
285 | 154 | 'map_provider' => 'google',
|
286 | 155 |
|
287 |
| - /* |
288 |
| - |-------------------------------------------------------------------------- |
289 |
| - | Application Skin |
290 |
| - |-------------------------------------------------------------------------- |
291 |
| - | |
292 |
| - | This value is the skin of admin pages. |
293 |
| - | @see https://adminlte.io/docs/2.4/layout |
294 |
| - | |
295 |
| - | Supported: |
296 |
| - | "skin-blue", "skin-blue-light", "skin-yellow", "skin-yellow-light", |
297 |
| - | "skin-green", "skin-green-light", "skin-purple", "skin-purple-light", |
298 |
| - | "skin-red", "skin-red-light", "skin-black", "skin-black-light". |
299 |
| - | |
300 |
| - */ |
301 |
| - 'skin' => 'skin-blue-light', |
302 |
| - |
303 |
| - /* |
304 |
| - |-------------------------------------------------------------------------- |
305 |
| - | Application layout |
306 |
| - |-------------------------------------------------------------------------- |
307 |
| - | |
308 |
| - | This value is the layout of admin pages. |
309 |
| - | @see https://adminlte.io/docs/2.4/layout |
310 |
| - | |
311 |
| - | Supported: "fixed", "layout-boxed", "layout-top-nav", "sidebar-collapse", |
312 |
| - | "sidebar-mini". |
313 |
| - | |
314 |
| - */ |
315 |
| - 'layout' => ['sidebar-mini', 'sidebar-collapse'], |
316 |
| - |
317 |
| - /* |
318 |
| - |-------------------------------------------------------------------------- |
319 |
| - | Login page background image |
320 |
| - |-------------------------------------------------------------------------- |
321 |
| - | |
322 |
| - | This value is used to set the background image of login page. |
323 |
| - | |
324 |
| - */ |
| 156 | + |
325 | 157 | 'login_background_image' => 'https://file.iviewui.com/admin-pro-dist/img/body.8aa7c4a6.svg',
|
326 | 158 |
|
327 | 159 |
|
328 |
| - /* |
329 |
| - |-------------------------------------------------------------------------- |
330 |
| - | Show version at footer |
331 |
| - |-------------------------------------------------------------------------- |
332 |
| - | |
333 |
| - | Whether to display the version number of laravel-admin at the footer of |
334 |
| - | each page |
335 |
| - | |
336 |
| - */ |
337 | 160 | 'show_version' => true,
|
338 | 161 |
|
339 |
| - /* |
340 |
| - |-------------------------------------------------------------------------- |
341 |
| - | Show environment at footer |
342 |
| - |-------------------------------------------------------------------------- |
343 |
| - | |
344 |
| - | Whether to display the environment at the footer of each page |
345 |
| - | |
346 |
| - */ |
347 | 162 | 'show_environment' => true,
|
348 | 163 |
|
349 |
| - /* |
350 |
| - |-------------------------------------------------------------------------- |
351 |
| - | Menu bind to permission |
352 |
| - |-------------------------------------------------------------------------- |
353 |
| - | |
354 |
| - | whether enable menu bind to a permission |
355 |
| - */ |
356 | 164 | 'menu_bind_permission' => true,
|
357 | 165 |
|
358 |
| - /* |
359 |
| - |-------------------------------------------------------------------------- |
360 |
| - | Enable default breadcrumb |
361 |
| - |-------------------------------------------------------------------------- |
362 |
| - | |
363 |
| - | Whether enable default breadcrumb for every page content. |
364 |
| - */ |
| 166 | + |
365 | 167 | 'enable_default_breadcrumb' => true,
|
366 | 168 |
|
367 |
| - /* |
368 |
| - |-------------------------------------------------------------------------- |
369 |
| - | Enable/Disable assets minify |
370 |
| - |-------------------------------------------------------------------------- |
371 |
| - */ |
372 | 169 | 'minify_assets' => [
|
373 | 170 |
|
374 | 171 | // Assets will not be minified.
|
|
377 | 174 | ],
|
378 | 175 |
|
379 | 176 | ],
|
380 |
| - |
381 |
| - /* |
382 |
| - |-------------------------------------------------------------------------- |
383 |
| - | Enable/Disable sidebar menu search |
384 |
| - |-------------------------------------------------------------------------- |
385 |
| - */ |
386 |
| - 'enable_menu_search' => true, |
387 |
| - |
388 |
| - /* |
389 |
| - |-------------------------------------------------------------------------- |
390 |
| - | Alert message that will displayed on top of the page. |
391 |
| - |-------------------------------------------------------------------------- |
392 |
| - */ |
393 |
| - 'top_alert' => '', |
394 |
| - |
395 |
| - /* |
396 |
| - |-------------------------------------------------------------------------- |
397 |
| - | The global Grid action display class. |
398 |
| - |-------------------------------------------------------------------------- |
399 |
| - */ |
400 |
| - //'grid_action_class' => \Encore\Admin\Grid\Displayers\DropdownActions::class, |
401 |
| - |
402 |
| - /* |
403 |
| - |-------------------------------------------------------------------------- |
404 |
| - | Extension Directory |
405 |
| - |-------------------------------------------------------------------------- |
406 |
| - | |
407 |
| - | When you use command `php artisan admin:extend` to generate extensions, |
408 |
| - | the extension files will be generated in this directory. |
409 |
| - */ |
410 | 177 | 'extension_dir' => app_path('Admin/Extensions'),
|
411 |
| - |
412 |
| - /* |
413 |
| - |-------------------------------------------------------------------------- |
414 |
| - | Settings for extensions. |
415 |
| - |-------------------------------------------------------------------------- |
416 |
| - | |
417 |
| - | You can find all available extensions here |
418 |
| - | https://github.com/laravel-admin-extensions. |
419 |
| - | |
420 |
| - */ |
421 | 178 | 'extensions' => [
|
422 | 179 |
|
423 | 180 | ],
|
|
0 commit comments