- 博客(4)
- 资源 (1)
- 收藏
- 关注
原创 安装thinkphp6
composer阿里镜像composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/thinpphp6安装composer create-project topthink/think tp多应用composer require topthink/think-multi-app视图引擎composer require topthink/think-view...
2020-08-22 22:12:29 107
原创 mysql安装
安装要在bin目录下开启CMD后执行安装# 安装命令mysqld --install# 卸载命令mysqld --remove# 数据库初始化mysqld --initialize --user=root --console# 启动mysql服务net start mysql# 停止mysql服务net stop mysql# 登录mysql -u root -p# 设...
2020-04-15 23:12:58 136
原创 thinkphp中间件
中间件写好以后需要插入到指定控制器才能使用控制器调用中间件protected $middleware = ['app\index\middleware\Admin'];
2020-04-15 10:59:54 258
原创 thinkphp6隐藏index.php
修改public/.htaccess RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L] RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L]在index.php后面加?号
2020-04-15 10:51:26 2020
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人