21 lines
327 B
PHP
21 lines
327 B
PHP
<?php
|
|
|
|
namespace app\admin\model;
|
|
|
|
|
|
use app\common\model\TimeModel;
|
|
|
|
class SystemAdmin extends TimeModel
|
|
{
|
|
|
|
protected $deleteTime = 'delete_time';
|
|
|
|
public function getAuthList()
|
|
{
|
|
$list = (new SystemAuth())
|
|
->where('status', 1)
|
|
->column('title', 'id');
|
|
return $list;
|
|
}
|
|
|
|
} |