引入easyadmin'

This commit is contained in:
augushong
2021-11-12 11:21:14 +08:00
parent b999be97ab
commit f7d3bc3827
680 changed files with 44615 additions and 22811 deletions

View File

@@ -9,9 +9,3 @@
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\facade\Route;
Route::get('think', function () {
return 'hello,ThinkPHP6!';
});
Route::get('hello/:name', 'index/hello');

71
route/welcome.php Normal file
View File

@@ -0,0 +1,71 @@
<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\facade\Route;
Route::view('/', 'welcome', [
'version' => time(),
'data' => [
'description' => '基于ThinkPHP6.0和Layui的快速开发的后台管理系统',
'system_description' => '框架主要使用ThinkPHP6.0 + layui拥有完善的权限的管理模块以及敏捷的开发方式让你开发起来更加的舒服。项目以及文档还在持续完善请保持关注。',
],
'navbar' => [
[
'name' => '首页',
'active' => true,
'href' => 'http://easyadmin.99php.cn',
'target' => '_self',
],
[
'name' => '文档',
'active' => false,
'href' => 'http://easyadmin.99php.cn/docs',
'target' => '_blank',
],
[
'name' => '演示',
'active' => false,
'href' => 'http://easyadmin.99php.cn/admindemo',
'target' => '_blank',
],
[
'name' => 'QQ群',
'active' => false,
'href' => 'https://jq.qq.com/?_wv=1027&k=5IHJawE',
'target' => '_blank',
],
],
'feature' => [
[
'name' => '内置权限管理',
'description' => '内置基于auth的权限系统使用注解方式自动更新权限节点无需手动维护。',
],
[
'name' => '表格&表单的二次封装',
'description' => '对layui的数据表格和表单进行二次封装开发起来更舒服流畅。',
],
[
'name' => '上传&附件管理',
'description' => '内置封装上传方法以及上传的附件管理支持上传到本地以及OSS可以在此基础上自己去扩展。',
],
[
'name' => '快速生成CURD模块',
'description' => '完善的命令行开发模式, 一键生成控制器、模型、视图、JS等文件, 使开发速度快速提升。',
],
[
'name' => '公众号&小程序模块',
'description' => '待开发。。。',
],
[
'name' => '插件管理模块',
'description' => '待开发。。。',
],
],
]);