File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 21
21
'login_background_image ' => 'https://gw.alipayobjects.com/zos/rmsportal/TVYTbAXWheQpRcWDaDMu.svg ' ,
22
22
//登录框默认用户
23
23
'auto_user ' => [
24
- 'username ' => '' ,
25
- 'password ' => ''
24
+ 'username ' => env ( ' ADMIN_AUTO_USERNAME ' , '' ) ,
25
+ 'password ' => env ( ' ADMIN_AUTO_PASSWORD ' , '' ),
26
26
],
27
27
//底部菜单
28
28
'footerLinks ' => [
41
41
'route ' => [
42
42
'domain ' => null ,
43
43
'prefix ' => env ('ADMIN_ROUTE_PREFIX ' , 'admin ' ),
44
- 'api_prefix ' => env ('ADMIN_ROUTE_PREFIX ' , 'admin-api ' ),
44
+ 'api_prefix ' => env ('ADMIN_API_ROUTE_PREFIX ' , 'admin-api ' ),
45
45
'namespace ' => 'App \\Admin \\Controllers ' ,
46
46
'middleware ' => ['web ' , 'admin ' ],
47
47
],
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ function admin_base_path($path = '')
53
53
*/
54
54
function admin_api_base_path ($ path = '' )
55
55
{
56
- $ prefix = '/ ' . trim (config ('admin.route.prefix_api ' ), '/ ' );
56
+ $ prefix = '/ ' . trim (config ('admin.route.api_prefix ' ), '/ ' );
57
57
58
58
$ prefix = ($ prefix == '/ ' ) ? '' : $ prefix ;
59
59
You can’t perform that action at this time.
0 commit comments