|
@@ -60,9 +60,9 @@ class My extends Core
|
|
|
$month = Dever::input('month');
|
|
|
if ($month) {
|
|
|
$start = $month . '-01 00:00:00';
|
|
|
- $end = strtotime("$start +1 month -1 day");
|
|
|
+ $end = date('Y-m-d', strtotime("$start +1 month -1 day"));
|
|
|
$where['start'] = Dever::maketime($start);
|
|
|
- $where['end'] = $end;
|
|
|
+ $where['end'] = Dever::maketime($end . ' 23:59:59');
|
|
|
}
|
|
|
$this->data['list'] = Dever::db('shop/user_money')->getData($where);
|
|
|
if ($this->data['list']) {
|