摘要: 一、生成某个范围内的随机时间 /** * 生成某个范围内的随机时间 * @param <type> $begintime 起始时间 格式为 Y-m-d H:i:s * @param <type> $endtime 结束时间 格式为 Y-m-d H:i:s * @param <type> $now 是 阅读全文
posted @ 2023-04-07 14:04 晨光浅夏 阅读(38) 评论(0) 推荐(0) 编辑
摘要: PHPCMS 后台访问特别慢的原因? 因为PHPCMS默认连接数据库,使用的HOST是“localhost”,而“localhost”如果没有被“127.0.0.1”解析到,就会导致PHPCMS访问数据库会很慢,所以也导致后端页面访问很慢。 解决方法 将localhost进行解析或将localhos 阅读全文
posted @ 2023-04-07 09:45 晨光浅夏 阅读(56) 评论(0) 推荐(0) 编辑