|
...
|
...
|
@@ -157,7 +157,10 @@ class ComController extends BaseController |
|
|
|
->where('updated_date','>=',$startTime)
|
|
|
|
->where('updated_date','<=',$endTime)
|
|
|
|
->orderByDesc('count')->limit(8)->get()->toArray();
|
|
|
|
return json_encode($data);
|
|
|
|
if(!empty($data)){
|
|
|
|
$data = json_encode($data);
|
|
|
|
}
|
|
|
|
return $data;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
...
|
...
|
|