From 1aac044b8dc10badad0c9d833f22a585a5765da9 Mon Sep 17 00:00:00 2001 From: hdm <hdm58@qq.com> Date: Mon, 25 Apr 2022 00:10:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=A6=96=E9=A1=B5=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/home/controller/Index.php | 1 + app/home/view/index/main.html | 2 +- app/install/controller/Index.php | 1 + app/install/view/index/step1.html | 2 +- 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/home/controller/Index.php b/app/home/controller/Index.php index 639f535..2609685 100644 --- a/app/home/controller/Index.php +++ b/app/home/controller/Index.php @@ -83,6 +83,7 @@ class Index extends BaseController \think\facade\Cache::tag('adminMenu')->set('menu' . $admin['id'], $list); } View::assign('menu', $list); + View::assign('TP_VERSION',\think\facade\App::version()); return View(); } } diff --git a/app/home/view/index/main.html b/app/home/view/index/main.html index de4d019..8494b40 100644 --- a/app/home/view/index/main.html +++ b/app/home/view/index/main.html @@ -141,7 +141,7 @@ </tr> <tr> <td class="info-td">ThinkPHP版本</td> - <td colspan="3">{:TP_VERSION}<a class="layui-badge layui-bg-blue" style="margin-left:8px" href="https://www.kancloud.cn/manual/thinkphp6_0" target="_blank">TP6文档</a></td> + <td colspan="3">{TP_VERSION}<a class="layui-badge layui-bg-blue" style="margin-left:8px" href="https://www.kancloud.cn/manual/thinkphp6_0" target="_blank">TP6文档</a></td> </tr> <tr> <td class="info-td">Layui版本</td> diff --git a/app/install/controller/Index.php b/app/install/controller/Index.php index f0e62c7..501ce88 100644 --- a/app/install/controller/Index.php +++ b/app/install/controller/Index.php @@ -26,6 +26,7 @@ class Index public function index() { + View::assign('TP_version',\think\facade\App::version()); return view('step1'); } diff --git a/app/install/view/index/step1.html b/app/install/view/index/step1.html index ec1d2bd..a438c45 100644 --- a/app/install/view/index/step1.html +++ b/app/install/view/index/step1.html @@ -34,7 +34,7 @@ </ul> </div> <div style="padding:20px; background-color:#fff;line-height: 27px; border-radius:0 0 6px 6px"> - <p>勾股OA是一套基于ThinkPHP{:TP_VERSION} + Layui{:LAYUI_VERSION} + MySql打造的轻量级、高性能OA办公系统。简单实用,系统集成了九大办公基本的功能模块:系统管理、基础数据、员工管理、消息通知、企业公告、知识文章、办公审批、日常办公、财务管理、商业智能等基础模块。系统易于功能扩展,方便二次开发,让开发者更专注于业务深度需求的开发,帮助开发者简单高效降低二次开发成本,通过二次开发之后可以用来做CRM,ERP,业务管理等系统。<br><br> + <p>勾股OA是一套基于ThinkPHP{TP_VERSION} + Layui{:LAYUI_VERSION} + MySql打造的轻量级、高性能OA办公系统。简单实用,系统集成了九大办公基本的功能模块:系统管理、基础数据、员工管理、消息通知、企业公告、知识文章、办公审批、日常办公、财务管理、商业智能等基础模块。系统易于功能扩展,方便二次开发,让开发者更专注于业务深度需求的开发,帮助开发者简单高效降低二次开发成本,通过二次开发之后可以用来做CRM,ERP,业务管理等系统。<br><br> <strong>免责声明:</strong><br> 1、使用勾股OA系统构建的网站的任何信息内容以及导致的任何版权纠纷和法律争议及后果,本(勾股OA)系统不承担任何责任。<br> 2、您一旦安装使用勾股OA系统,即被视为完全理解并接受本协议的各项条款,在享有上述条款授予的权力的同时,受到相关的约束和限制。