update admin

This commit is contained in:
全栈小学生
2023-06-05 09:26:58 +08:00
parent 92e314fc6a
commit d44fd63229
146 changed files with 268 additions and 268 deletions

View File

@@ -47,7 +47,7 @@ class SystemService extends BaseAdminService
*/
public function getUrl()
{
$site_tag = $this->site_id == 1 ? '/' : '/s' . $this->site_id . '/';
$site_tag = $this->site_id == 1 ? '/' : '/s' . $this->site_id;
$data = [
'wap_url' => ( !empty(env("system.wap_domain")) ? env("system.wap_domain") : request()->domain() ) . "/wap" . $site_tag,
'web_url' => ( !empty(env("system.web_domain")) ? env("system.web_domain") : request()->domain() ) . "/web" . $site_tag,