diff --git a/catch/system/model/LoginLog.php b/catch/system/model/LoginLog.php new file mode 100644 index 0000000..7933805 --- /dev/null +++ b/catch/system/model/LoginLog.php @@ -0,0 +1,22 @@ +field([$this->aliasField('*')]) + ->catchJoin(Users::class, 'id', 'creator_id', ['username as creator']) + ->order($this->aliasField('id'), 'desc') + ->paginate(); + } +} \ No newline at end of file