![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
tp5糯米网课程
「已注销」
这个作者很懒,什么都没留下…
展开
-
tp5糯米网课程:URL传参:parent_id={$vo.id}"
正确:<a href="{:url('category/index')}?parent_id={$vo.id}"错误:<a href="{:url('category/index',['parent_id'={$vo.id}])}"感谢高手高手高高手https://blog.csdn.net/haibo0668/article/details/7805...原创 2019-05-03 16:47:05 · 597 阅读 · 0 评论 -
ueditor.all.min.js:124 后台配置项返回格式出错,上传功能将不能正常使用!
ubuntu虚拟机做服务器。一直没在意,结果上传没办法成功参考网友原作,public\static\admin\hui\lib\ueditor\1.4.3\php\controller.phpdate_default_timezone_set("Asia/chongqing");改成:date_default_timezone_set("Asia/Chongqing");...原创 2019-05-06 11:15:03 · 4351 阅读 · 0 评论 -
tp5,url跳转多了html后缀
如图总是没有欢迎字幕。反反复复没结果。审查元素,发现src总是多了html后缀。难怪……办法:1.更改配置文件url_html_suffix=>''2.在U函数中指定伪静态后缀 如下所示$this->redirect(U('Admin/index/index','',''));参考:https://blog.csdn.net/...原创 2019-06-28 18:30:22 · 1471 阅读 · 0 评论 -
丽人,为什么会在mysql中不显示?
如下。真的是好奇怪。看看navicate,19是自己修改加进去的,结果网页显示不出来。但是看视频,却可以正常显示。是不是utf8不行,要什么utf8mb4?...原创 2019-06-28 23:42:34 · 86 阅读 · 0 评论 -
thinkphp5 URL和路由的功能详解与实例
转自:https://blog.csdn.net/weixin_39421014/article/details/82354718文章出处:https://www.jb51.net/article/131549.htmURL访问ThinkPHP采用单一入口模式访问应用,对应用的所有请求都定向到应用的入口文件,系统会从URL参数中解析当前请求的模块、控制器和操作,下面是一个标准的URL访...转载 2019-06-29 15:51:24 · 335 阅读 · 0 评论 -
composer错误,目标计算机积极拒绝,package.json could not be downloaded
https://www.cnblogs.com/Renyi-Fan/p/9742710.htmlThe "https://packagist.phpcomposer.com/packages.json" file could not be downloaded: failed to open stream: 由于目标计算机积极拒绝,无法连接。貌似不行https://blog.c...转载 2019-06-30 17:13:14 · 2067 阅读 · 0 评论 -
File "./composer.json" cannot be found in the current directory
报下面错误:[RuntimeException]File "./composer.json" cannot be found in the current directory解决:加上 -g [ --global ] 就可以了,用全局配置就不用去找 composer.json 文件了作者:蟠龙有悔链接:https://www.jianshu.com/p/ad3df5e47e...转载 2019-06-30 17:20:27 · 10428 阅读 · 4 评论 -
通过composer更新thinkphp版本
通过composer更新thinkphp版本https://blog.csdn.net/KBellX/article/details/83098187composer update 更新降低版本方法https://blog.csdn.net/qq_24909089/article/details/84983898Thinkphp5.1+Composer安装教程(踩坑填坑攻略)h...转载 2019-06-30 18:18:08 · 847 阅读 · 0 评论