From eba6521e0dce05dd6dbf893de00392875fd5a468 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E6=98=8A=E5=A4=A9?= <442384644@qq.com> Date: Mon, 19 Sep 2022 16:36:11 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E7=A8=8B=E5=BA=8F=E7=9B=AE=E5=BD=95?= =?UTF-8?q?=E3=80=91=E7=AE=A1=E7=90=86=E7=AB=AF=E7=99=BB=E5=BD=95=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E5=BA=95=E9=83=A8=E7=89=88=E6=9D=83=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crmeb/app/services/system/admin/SystemAdminServices.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crmeb/app/services/system/admin/SystemAdminServices.php b/crmeb/app/services/system/admin/SystemAdminServices.php index 8375b729a..2d78f39b0 100644 --- a/crmeb/app/services/system/admin/SystemAdminServices.php +++ b/crmeb/app/services/system/admin/SystemAdminServices.php @@ -162,6 +162,7 @@ class SystemAdminServices extends BaseServices 'logo_rectangle' => sys_config('site_logo'),//方形 'login_logo' => sys_config('login_logo'),//登陆 'site_name' => sys_config('site_name'), + 'copyright' => sys_config('nncnL_crmeb_copyright'), 'key' => $key ]; } @@ -356,12 +357,11 @@ class SystemAdminServices extends BaseServices throw new AdminException(400264); $adminInfo->pwd = $this->passwordHash($data['new_pwd']); } - if($data['file_pwd']) - { - if($adminInfo->level != 0) throw new AdminException(400611); + if ($data['file_pwd']) { + if ($adminInfo->level != 0) throw new AdminException(400611); if (!$data['conf_file_pwd']) throw new AdminException(400263); - if($data['file_pwd'] != $data['conf_file_pwd']) + if ($data['file_pwd'] != $data['conf_file_pwd']) throw new AdminException(400264); $adminInfo->file_pwd = $this->passwordHash($data['file_pwd']); }