07 2022 档案

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

点击右上角即可分享
微信分享提示