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 2121 'login_background_image ' => 'https://gw.alipayobjects.com/zos/rmsportal/TVYTbAXWheQpRcWDaDMu.svg ' ,
2222 //登录框默认用户
2323 'auto_user ' => [
24- 'username ' => '' ,
25- 'password ' => ''
24+ 'username ' => env ( ' ADMIN_AUTO_USERNAME ' , '' ) ,
25+ 'password ' => env ( ' ADMIN_AUTO_PASSWORD ' , '' ),
2626 ],
2727 //底部菜单
2828 'footerLinks ' => [
4141 'route ' => [
4242 'domain ' => null ,
4343 '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 ' ),
4545 'namespace ' => 'App \\Admin \\Controllers ' ,
4646 'middleware ' => ['web ' , 'admin ' ],
4747 ],
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ function admin_base_path($path = '')
5353 */
5454 function admin_api_base_path ($ path = '' )
5555 {
56- $ prefix = '/ ' . trim (config ('admin.route.prefix_api ' ), '/ ' );
56+ $ prefix = '/ ' . trim (config ('admin.route.api_prefix ' ), '/ ' );
5757
5858 $ prefix = ($ prefix == '/ ' ) ? '' : $ prefix ;
5959
You can’t perform that action at this time.
0 commit comments