摘要: 控制器文件 $info 报false 修改Thinkphp 中的QiniuStorage.class.php类 public $QINIU_UP_HOST 修改成对应的存储空间地址 查询空间地址链接 https://developer.qiniu.com/kodo/manual/1671/regio 阅读全文
posted @ 2018-02-01 18:48 不一样的开始 阅读(265) 评论(0) 推荐(0)
摘要: 1 $Y = 2015;//获取年 2 $m = 8;//获取月 3 $month = $Y."-".$m;//当前年月 4 $month_start = strtotime($month);//指定月份月初时间戳 5 $month_end = mktime(23, 59, 59, date('m', strtotime($month))+1, 00);//指定月份月末时间戳 阅读全文
posted @ 2018-02-01 14:15 不一样的开始 阅读(379) 评论(0) 推荐(0)
摘要: 1 $time1 = strtotime('2014-02-04'); // 自动为00:00:00 时分秒 两个时间之间的年和月份 2 $time2 = strtotime('2015-02-06'); 3 4 $monarr = array(); 5 $monarr[] = '2014-02'; // 当前月; 6 while( ($time1 = str... 阅读全文
posted @ 2018-02-01 14:13 不一样的开始 阅读(1018) 评论(0) 推荐(0)