Explorar el Código

【程序目录】管理端登录页面底部版权显示处理

吴昊天 hace 3 años
padre
commit
eba6521e0d
Se han modificado 1 ficheros con 4 adiciones y 4 borrados
  1. 4 4
      crmeb/app/services/system/admin/SystemAdminServices.php

+ 4 - 4
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']);
         }