07 2022 档案
摘要:# 301跳转要带着 permanent; 302 不带permanent rewrite ^.*$ https://www.hahaha.com/$1 permanent;
阅读全文
摘要:引自: https://blog.csdn.net/iiopsd/article/details/119572410 问题背景: 每个地点每天新增一条数据,要根据地点分组查询出每个设备最新的数据(按创建时间倒序)。 数据库结构: CREATE TABLE `ecord` ( `Id` varchar
阅读全文
摘要:之前由于 bower install 慢 去搜索方法,执行了语句: git config --global url."https://".insteadOf git:// 导致 git pull 无法执行,需要删除配置 可以在 cd ~ vim .gitconfig # 进行删除配置
阅读全文
摘要:安装fastadmin/tp5的管理后台,但我通过composer更新或安装时,总是提示我错误:composer的安装版本过高导致问题 Your requirements could not be resolved to an installable set of packages. Problem
阅读全文
摘要:MySQL5.7以上支持JSON的操作,以及增加了JSON存储类型一般数据库存储JSON类型的数据会用JSON类型或者TEXT类型 注意:用JSON类型的话1)JSON列存储的必须是JSON格式数据,否则会报错。2)JSON数据类型是没有默认值的。 mysql对json后的值进行查询 下面是对rem
阅读全文
摘要:$pattern="/<[img|IMG].*?src=[\'|\"]http\:\/\/m\.aa\.com(?:([\w\/]?|[\w\/]+)[\/$])([^\/]+)[\'|\"].*?[\/]?>/"; 匹配如 <p class="MsoNormal"> <img src="http:
阅读全文