diff --git a/app/admin/controller/api/Plugs.php b/app/admin/controller/api/Plugs.php index 261f91c07..7e6fa8357 100644 --- a/app/admin/controller/api/Plugs.php +++ b/app/admin/controller/api/Plugs.php @@ -84,7 +84,7 @@ class Plugs extends Controller { if (AdminService::instance()->isSuper()) if (input('state')) { SystemService::instance()->setRuntime([], 'product'); - $this->success('已切换为生产模式!'); + $this->success('已切换为产品模式!'); } else { SystemService::instance()->setRuntime([], 'debug'); $this->success('已切换为开发模式!'); diff --git a/app/admin/view/config/index.html b/app/admin/view/config/index.html index 7eda1812a..c3df0efe7 100644 --- a/app/admin/view/config/index.html +++ b/app/admin/view/config/index.html @@ -20,15 +20,15 @@
开发模式:开发人员或在功能调试时使用,系统异常时会显示详细的错误信息,同时还会记录操作日志及数据库 SQL 语句信息。
-生产模式:项目正式部署上线后使用,系统异常时统一显示 “{:config('app.error_message')}”,只记录重要的异常日志信息,强烈推荐上线后使用此模式。
+产品模式:项目正式部署上线后使用,系统异常时统一显示 “{:config('app.error_message')}”,只记录重要的异常日志信息,强烈推荐上线后使用此模式。