|
@@ -40,7 +40,7 @@ class InnerOuterWeixinStats extends Command
|
|
|
public function handle()
|
|
|
{
|
|
|
$day = $this->option('day');
|
|
|
- if($day){
|
|
|
+ if(!$day){
|
|
|
$day = date('Y-m-d',time()-86400);
|
|
|
}
|
|
|
$this->getByDay($day);
|
|
@@ -69,9 +69,6 @@ class InnerOuterWeixinStats extends Command
|
|
|
$param = $from;
|
|
|
}
|
|
|
|
|
|
- if(str_contains($from,['custom','template'])){
|
|
|
- return ;
|
|
|
- }
|
|
|
if(str_contains($from,['template'])){
|
|
|
$type = 'template';
|
|
|
list($temp,$param) = explode('_',$from);
|