|
@@ -315,7 +315,7 @@ class My extends Core
|
|
|
|
|
|
$this->data['data'] = Dever::db('shop/sell_stat_month')->getAll($where);
|
|
|
|
|
|
- $type = Dever::db('shop/sell_stat_month')->config['type'];
|
|
|
+ $type = Dever::db('shop/sell_stat_month')->config['config_type'];
|
|
|
|
|
|
if ($this->data['data']) {
|
|
|
foreach ($this->data['data'] as $k => $v) {
|
|
@@ -359,7 +359,7 @@ class My extends Core
|
|
|
if (!$this->data['info']) {
|
|
|
Dever::alert('账单不存在');
|
|
|
}
|
|
|
- $type = Dever::db('shop/sell_stat_month')->config['type'];
|
|
|
+ $type = Dever::db('shop/sell_stat_month')->config['config_type'];
|
|
|
|
|
|
$this->data['info']['name'] = date('Y年m月', $this->data['info']['month']);
|
|
|
$this->data['info']['start'] = date('Y-m-01', $this->data['info']['month']);
|