PHP Class Api\StarterKit\Controllers\ApiController

Inheritance: extends Illuminate\Routing\Controller, use trait Api\StarterKit\Utils\ApiValidatesRequests, use trait Api\StarterKit\Utils\ApiResponse
显示文件 Open project: qijitech/api-starter-kit

Public Methods

Method Description
getMaxId ( Illuminate\Http\Request $request ) : mixed
getPage ( Illuminate\Http\Request $request ) : mixed 获取当前页
getPageSize ( Illuminate\Http\Request $request ) : mixed 获取当前页面大小
getSinceId ( Illuminate\Http\Request $request ) : mixed

Method Details

getMaxId() public method

public getMaxId ( Illuminate\Http\Request $request ) : mixed
$request Illuminate\Http\Request
return mixed

getPage() public method

获取当前页
public getPage ( Illuminate\Http\Request $request ) : mixed
$request Illuminate\Http\Request
return mixed

getPageSize() public method

获取当前页面大小
public getPageSize ( Illuminate\Http\Request $request ) : mixed
$request Illuminate\Http\Request
return mixed

getSinceId() public method

public getSinceId ( Illuminate\Http\Request $request ) : mixed
$request Illuminate\Http\Request
return mixed