合并配置文件,增加菜单栏社区链接

This commit is contained in:
iVampireSP.com 2023-01-15 08:00:45 +08:00
parent 9e39cdfb62
commit b9ec14629a
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132
4 changed files with 7 additions and 6 deletions

View File

@ -18,7 +18,7 @@ class ForumController extends Controller
public function __construct()
{
$this->baseUrl = config('forum.base_url');
$this->baseUrl = config('settings.forum.base_url');
$this->http = Http::baseUrl($this->baseUrl . '/api')->throw();
}

View File

@ -1,5 +0,0 @@
<?php
return [
'base_url' => env('FORUM_BASEURL')
];

View File

@ -28,4 +28,7 @@
'code' => env('SUPPORT_REAL_NAME_APP_CODE')
]
],
'forum' => [
'base_url' => env('FORUM_BASEURL')
],
];

View File

@ -58,6 +58,9 @@
<a class="nav-link text-auto" target="_blank"
href="{{ config('settings.dashboard.base_url') }}">仪表盘</a>
<a class="nav-link text-auto" target="_blank"
href="{{ config('settings.forum.base_url') }}">社区</a>
<a class="nav-link text-auto"
href="{{ route('contact') }}">联系我们</a>