diff --git a/app/admin/controller/Login.php b/app/admin/controller/Login.php index fa88f3e9f..8da3c740b 100644 --- a/app/admin/controller/Login.php +++ b/app/admin/controller/Login.php @@ -83,7 +83,7 @@ class Login extends Controller 'login_at' => $this->app->db->raw('now()'), 'login_num' => $this->app->db->raw('login_num+1'), ]); - sysoplog('用户登录', '登录系统后台成功'); + sysoplog('后台用户登录', '系统后台登录成功'); $GLOBALS['oplogs'] = []; $this->success('登录成功', sysuri('admin/index/index')); } diff --git a/app/admin/controller/api/Plugs.php b/app/admin/controller/api/Plugs.php index ff5f1d441..dd9a8d1e2 100644 --- a/app/admin/controller/api/Plugs.php +++ b/app/admin/controller/api/Plugs.php @@ -47,11 +47,11 @@ class Plugs extends Controller { if (AdminService::instance()->isSuper()) if (input('state')) { SystemService::instance()->setRuntime('product'); - sysoplog('切换运行模式', '由开发模式切为为产品模式!'); + sysoplog('切换运行模式', '由开发模式切为为产品模式'); $this->success('已切换为产品模式!'); } else { SystemService::instance()->setRuntime('debug'); - sysoplog('切换运行模式', '由产品模式切为为开发模式!'); + sysoplog('切换运行模式', '由产品模式切为为开发模式'); $this->success('已切换为开发模式!'); } else { $this->error('只有超级管理员才能操作!');