|
@@ -39,6 +39,7 @@ class Cron
|
|
|
for($i=0; $i<=$day; $i++) {
|
|
|
$where['start'] = $start + 86400*$i;
|
|
|
$where['end'] = $start + 86400*$i + 86399;
|
|
|
+ $data = array();
|
|
|
$data['shop_id'] = $v['id'];
|
|
|
$data['day'] = $where['start'];
|
|
|
$info = Dever::db('shop/sell_stat')->find($data);
|
|
@@ -75,6 +76,7 @@ class Cron
|
|
|
$where['shop_id'] = $v['id'];
|
|
|
$where['start'] = $start;
|
|
|
$where['end'] = $end;
|
|
|
+ $data = array();
|
|
|
$data['shop_id'] = $v['id'];
|
|
|
$data['month'] = $start;
|
|
|
$info = Dever::db('shop/sell_stat_month')->find($data);
|