mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-01 15:32:48 +08:00
引入easyadmin'
This commit is contained in:
@@ -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
71
route/welcome.php
Normal 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' => '待开发。。。',
|
||||
],
|
||||
],
|
||||
]);
|
||||
Reference in New Issue
Block a user