正在显示
1 个修改的文件
包含
4 行增加
和
0 行删除
@@ -109,6 +109,10 @@ class Dashboard extends Backend | @@ -109,6 +109,10 @@ class Dashboard extends Backend | ||
109 | 109 | ||
110 | //自定义导出 | 110 | //自定义导出 |
111 | public function exportDayInner(){ | 111 | public function exportDayInner(){ |
112 | + //月 起止时间戳 | ||
113 | + $start_time = mktime(0, 0, 0, date('m'), 1, date('Y')); | ||
114 | + $end_time = mktime(23, 59, 59, date('m'), date('t'), date('Y')); | ||
115 | + $map['createtime'] = ['between', [$start_time, $end_time]]; | ||
112 | $ZhanDianArr = Db::name('zhandian')->select(); | 116 | $ZhanDianArr = Db::name('zhandian')->select(); |
113 | foreach ($ZhanDianArr as $k => $v) { | 117 | foreach ($ZhanDianArr as $k => $v) { |
114 | $data[$k]['id'] = $v['id']; | 118 | $data[$k]['id'] = $v['id']; |
-
请 注册 或 登录 后发表评论