|
@@ -14,9 +14,9 @@ class AdminLog extends Backend
|
|
*/
|
|
*/
|
|
protected object $model;
|
|
protected object $model;
|
|
|
|
|
|
- protected string|array $preExcludeFields = ['create_time', 'admin_id', 'username'];
|
|
|
|
|
|
+ protected string|array $preExcludeFields = ['CREATE_TIME', 'ADMIN_ID', 'USERNAME'];
|
|
|
|
|
|
- protected string|array $quickSearchField = ['title'];
|
|
|
|
|
|
+ protected string|array $quickSearchField = ['TITLE'];
|
|
|
|
|
|
public function initialize(): void
|
|
public function initialize(): void
|
|
{
|
|
{
|
|
@@ -36,7 +36,7 @@ class AdminLog extends Backend
|
|
|
|
|
|
list($where, $alias, $limit, $order) = $this->queryBuilder();
|
|
list($where, $alias, $limit, $order) = $this->queryBuilder();
|
|
if (!$this->auth->isSuperAdmin()) {
|
|
if (!$this->auth->isSuperAdmin()) {
|
|
- $where[] = ['admin_id', '=', $this->auth->id];
|
|
|
|
|
|
+ $where[] = ['ADMIN_ID', '=', $this->auth->id];
|
|
}
|
|
}
|
|
$res = $this->model
|
|
$res = $this->model
|
|
->withJoin($this->withJoinTable, $this->withJoinType)
|
|
->withJoin($this->withJoinTable, $this->withJoinType)
|