From 0fad2b7e10a0621d14e465a641e73ae5e4c5bc0d Mon Sep 17 00:00:00 2001 From: augushong Date: Wed, 28 Jan 2026 20:36:15 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=9B=B4=E6=96=B0=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E6=96=87=E6=A1=A3=E4=B8=AD=E7=9A=84=E6=A1=86=E6=9E=B6=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.en.md | 2 +- README.md | 2 +- extend/base/admin/view/index/welcome.html | 4 ++-- extend/base/common/command/admin/VersionBase.php | 2 +- route/welcome.php | 7 +++++-- view/index/welcome.html | 6 +++--- 6 files changed, 13 insertions(+), 10 deletions(-) diff --git a/README.en.md b/README.en.md index d7223c4..48eb8ab 100644 --- a/README.en.md +++ b/README.en.md @@ -4,7 +4,7 @@ For a better development experience. Only for `developers' services, only for `demand customization' services. -A rapidly developed backend management system based on ThinkPHP6.1 and layui2.8. +A rapidly developed backend management system based on ThinkPHP and Layui 2.10. Technical exchange QQ group: [207160418](https://jq.qq.com/?_wv=1027&k=TULvsosz) diff --git a/README.md b/README.md index 1a8b5a7..e9f1e25 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ 只为`开发人员`服务,只为`需求定制`服务。 -基于ThinkPHP8和layui2.8的快速开发的后台管理系统。*自定义扩展架构,支持自动更新上游框架代码。* +基于 ThinkPHP 和 Layui 2.10 的快速开发的后台管理系统。*自定义扩展架构,支持自动更新上游框架代码。* 技术交流QQ群:[207160418](https://jq.qq.com/?_wv=1027&k=TULvsosz) diff --git a/extend/base/admin/view/index/welcome.html b/extend/base/admin/view/index/welcome.html index 2d2fc34..e132c40 100644 --- a/extend/base/admin/view/index/welcome.html +++ b/extend/base/admin/view/index/welcome.html @@ -154,7 +154,7 @@ ThinkPHP - {:\\think\\App::VERSION} + {:app()->version()} PHP @@ -178,7 +178,7 @@
作者心语
-

本模板基于layui{:\\app\\common\\command\\admin\\Version::LAYUI_VERSION}以及font-awesome-4.7.0进行实现。layui开发文档地址:本模板基于 Layui {:\\app\\common\\command\\admin\\Version::LAYUI_VERSION} 以及 font-awesome-4.7.0 进行实现。layui开发文档地址:layui文档

技术交流QQ群:ulthon_admin(加群请备注来源:如gitee、github、官网等)

diff --git a/extend/base/common/command/admin/VersionBase.php b/extend/base/common/command/admin/VersionBase.php index 508e1ae..483b3cd 100644 --- a/extend/base/common/command/admin/VersionBase.php +++ b/extend/base/common/command/admin/VersionBase.php @@ -102,7 +102,7 @@ class VersionBase extends Command } $output->info('当前ulthon_admin版本号为:' . static::VERSION); $output->info('当前Layui版本号为:' . static::LAYUI_VERSION); - $output->info('当前ThinkPHP版本号为:' . ThinkApp::VERSION); + $output->info('当前ThinkPHP版本号为:' . app()->version()); $output->writeln('当前的修改说明:'); $output->writeln('>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>'); diff --git a/route/welcome.php b/route/welcome.php index f54994f..605ee55 100644 --- a/route/welcome.php +++ b/route/welcome.php @@ -2,11 +2,14 @@ use think\facade\Route; +$tpVersion = app()->version(); +$layuiVersion = ltrim(\app\common\command\admin\Version::LAYUI_VERSION, 'v'); + Route::view('/', 'welcome', [ 'version' => time(), 'data' => [ - 'description' => '基于ThinkPHP8和Layui2.8的快速开发的后台管理系统', - 'system_description' => '框架主要使用ThinkPHP8 + layui2.8,拥有完善的权限的管理模块以及敏捷的开发方式,让你开发起来更加的舒服。项目以及文档还在持续完善,请保持关注。', + 'description' => "基于 ThinkPHP {$tpVersion} 和 Layui {$layuiVersion} 的快速开发的后台管理系统", + 'system_description' => "框架主要使用 ThinkPHP {$tpVersion} + Layui {$layuiVersion},拥有完善的权限的管理模块以及敏捷的开发方式,让你开发起来更加的舒服。项目以及文档还在持续完善,请保持关注。", ], 'navbar' => [ [ diff --git a/view/index/welcome.html b/view/index/welcome.html index 52b340e..52666b1 100644 --- a/view/index/welcome.html +++ b/view/index/welcome.html @@ -3,11 +3,11 @@ - + - + - ulthon_admin | 一款基于ThinkPHP8和Layui的快速开发的后台管理框架系统 + ulthon_admin | {$data.description|default='一款基于ThinkPHP和Layui的快速开发的后台管理框架系统'}