Example #1
0
 /**
  * 查询方法
  */
 public function query()
 {
     $datas = RoleModel::orderBy('id', 'asc')->paginate($this->limit);
     $datas->limit = $this->limit;
     return $datas;
 }