auto sync data, remove crontab
This commit is contained in:
@@ -20,7 +20,7 @@ class CaptureLogsSearch extends CaptureLogs {
|
||||
public function rules() {
|
||||
return [
|
||||
[['id', 'time', 'status'], 'integer'],
|
||||
[['image', 'remark', 'staff_name'], 'safe'],
|
||||
[['image', 'remark', 'staff_name', 'confidence'], 'safe'],
|
||||
];
|
||||
}
|
||||
|
||||
@@ -47,6 +47,7 @@ class CaptureLogsSearch extends CaptureLogs {
|
||||
|
||||
$dataProvider = new ActiveDataProvider([
|
||||
'query' => $query,
|
||||
'sort' => ['defaultOrder' => ['time' => SORT_DESC]],
|
||||
]);
|
||||
|
||||
$this->load($params);
|
||||
|
||||
Reference in New Issue
Block a user