资源简介


基于 ThinkPHP5 和 Layui 开发

环境要求

  • Apache / Nginx / IIS

  • PHP >= 7.0

  • MySQL >= 5.5.0

  • PDO PHP Extension

  • MBstring PHP Extension

  • CURL PHP Extension


安装使用

  • 下载代码至本地,搭建虚拟域名指向根目录,并开启URL重写

  • 安装数据库文件(在/data目录下),并修改数据库配置/application/database.php

  • 后台默认账号:admin 密码:admin


代码片段和文件信息

// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st 
// +----------------------------------------------------------------------

return [
    // 生成应用公共文件
    ‘__file__‘ => [‘common.php‘ ‘config.php‘ ‘database.php‘]

    // 定义demo模块的自动生成 (按照实际定义的文件名生成)
    ‘demo‘     => [
        ‘__file__‘   => [‘common.php‘]
 

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-11-22 14:51  5815_thinkphp5后台\
     文件         225  2017-03-28 09:23  5815_thinkphp5后台\.htaccess
     目录           0  2018-11-22 14:49  5815_thinkphp5后台\application\
     文件          13  2017-03-28 09:23  5815_thinkphp5后台\application\.htaccess
     目录           0  2018-11-22 14:49  5815_thinkphp5后台\application\admin\
     文件         308  2017-03-28 09:23  5815_thinkphp5后台\application\admin\config.php
     目录           0  2018-11-22 14:49  5815_thinkphp5后台\application\admin\controller\
     文件        4579  2017-03-28 09:23  5815_thinkphp5后台\application\admin\controller\AdminUser.php
     文件        4732  2017-03-28 09:23  5815_thinkphp5后台\application\admin\controller\Article.php
     文件        3906  2017-03-28 09:23  5815_thinkphp5后台\application\admin\controller\AuthGroup.php
     文件        3534  2017-03-28 09:23  5815_thinkphp5后台\application\admin\controller\Category.php
     文件        1522  2017-03-28 09:23  5815_thinkphp5后台\application\admin\controller\ChangePassword.php
     文件         997  2017-03-28 09:23  5815_thinkphp5后台\application\admin\controller\Index.php
     文件        2569  2017-03-28 09:23  5815_thinkphp5后台\application\admin\controller\link.php
     文件        2225  2017-03-28 09:23  5815_thinkphp5后台\application\admin\controller\Login.php
     文件        2976  2017-03-28 09:23  5815_thinkphp5后台\application\admin\controller\Menu.php
     文件        2666  2017-03-28 09:23  5815_thinkphp5后台\application\admin\controller\Nav.php
     文件        3051  2017-03-28 09:23  5815_thinkphp5后台\application\admin\controller\Slide.php
     文件        2113  2017-03-28 09:23  5815_thinkphp5后台\application\admin\controller\SlideCategory.php
     文件        1545  2017-03-28 09:23  5815_thinkphp5后台\application\admin\controller\System.php
     文件        3403  2017-03-28 09:23  5815_thinkphp5后台\application\admin\controller\User.php
     目录           0  2018-11-22 14:49  5815_thinkphp5后台\application\admin\validate\
     文件         896  2017-04-19 10:58  5815_thinkphp5后台\application\admin\validate\AdminUser.php
     文件         471  2017-03-28 09:23  5815_thinkphp5后台\application\admin\validate\Article.php
     文件         471  2017-03-28 09:23  5815_thinkphp5后台\application\admin\validate\Category.php
     文件         324  2017-03-28 09:23  5815_thinkphp5后台\application\admin\validate\link.php
     文件         566  2017-03-28 09:23  5815_thinkphp5后台\application\admin\validate\Login.php
     文件         561  2017-03-28 09:23  5815_thinkphp5后台\application\admin\validate\Menu.php
     文件         466  2017-03-28 09:23  5815_thinkphp5后台\application\admin\validate\Nav.php
     文件         543  2017-03-28 09:23  5815_thinkphp5后台\application\admin\validate\Slide.php
     文件         972  2017-03-28 09:23  5815_thinkphp5后台\application\admin\validate\User.php
............此处省略850个文件信息

评论

共有 条评论