From 4afdef411ee4c74aa893c292466c011ed06ca31c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Sat, 16 Oct 2021 14:57:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=99=BB=E5=BD=95=E8=83=8C?= =?UTF-8?q?=E6=99=AF=E5=9B=BE=E7=89=87=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/admin/controller/Login.php | 1 + app/admin/view/config/system.html | 13 ++++++++++--- app/admin/view/login/index.html | 2 +- app/data/controller/api/auth/Order.php | 8 ++++++++ 4 files changed, 20 insertions(+), 4 deletions(-) diff --git a/app/admin/controller/Login.php b/app/admin/controller/Login.php index be77a74e3..fcda617cc 100644 --- a/app/admin/controller/Login.php +++ b/app/admin/controller/Login.php @@ -47,6 +47,7 @@ class Login extends Controller $this->captchaType = 'LoginCaptcha'; $this->captchaToken = CodeExtend::uniqidDate(18); $this->developmentMode = SystemService::instance()->checkRunMode(); + $this->loginBackground = str_replace('|', ',', sysconf('login_image') ?: ''); // 刷新当前后台域名 $host = "{$this->request->scheme()}://{$this->request->host()}"; if ($host !== sysconf('base.site_host')) sysconf('base.site_host', $host); diff --git a/app/admin/view/config/system.html b/app/admin/view/config/system.html index 0417031da..80c10cc35 100644 --- a/app/admin/view/config/system.html +++ b/app/admin/view/config/system.html @@ -2,8 +2,8 @@
- 后台登录入口 - Login + 后台登录入口 + Login Entry
+
+ 登录界面背景 + Login Background +
+ +
+