|
@@ -737,6 +737,7 @@ class Manage
|
|
|
);
|
|
|
# 传入day,获取月开始和月结束日期
|
|
|
list($where['start'], $where['end']) = Dever::month();
|
|
|
+ $month = Dever::maketime(date('Y-m', $where['start']));
|
|
|
|
|
|
# 获取区域
|
|
|
$area = array();
|
|
@@ -765,7 +766,7 @@ class Manage
|
|
|
$area_id = array();
|
|
|
foreach ($area as $k => $v) {
|
|
|
$update = array();
|
|
|
- $update['month'] = date('Y-m', $where['start']);
|
|
|
+ $update['month'] = $month;
|
|
|
$update['name'] = $k;
|
|
|
$info = Dever::db('mail/area_stat')->find($update);
|
|
|
|