|
...
|
...
|
@@ -155,6 +155,21 @@ class ComController extends BaseController |
|
|
|
}
|
|
|
|
|
|
|
|
public function ceshi(){
|
|
|
|
return $this->projectUrlNotify('news');
|
|
|
|
$data = [];
|
|
|
|
for ($i = 1;$i <= 30 ;$i++){
|
|
|
|
$start_time = Carbon::now()->modify('-'.$i.' days')->toDateString();
|
|
|
|
$data[] = [
|
|
|
|
'project_id'=>1,
|
|
|
|
'pv_num'=>$i*(rand(10,1000)),
|
|
|
|
'ip_num'=>$i*(rand(10,1000)),
|
|
|
|
'inquiry_num'=>$i*(rand(10,1000)),
|
|
|
|
'date'=>$start_time,
|
|
|
|
'compliance_day'=>2351,
|
|
|
|
'service_day'=>1233,
|
|
|
|
'created_at'=>$start_time,
|
|
|
|
'updated_at'=>$start_time,
|
|
|
|
];
|
|
|
|
}
|
|
|
|
DB::table('gl_count')->insert($data);
|
|
|
|
}
|
|
|
|
} |
...
|
...
|
|