Properties

$success

$success : 

Type

$successCode

$successCode : 

Type

$error

$error : 

Type

$errorCode

$errorCode : 

Type

Methods

jsonSuc()

jsonSuc(array  $option = array()) : \Illuminate\Http\JsonResponse

Parameters

array $option

Returns

\Illuminate\Http\JsonResponse

jsonErr()

jsonErr(array  $option = array()) : \Illuminate\Http\JsonResponse

Parameters

array $option

Returns

\Illuminate\Http\JsonResponse

result()

result(  $result,   $data = array()) 

Parameters

$result
$data

contentToArray()

contentToArray(\App\Helpers\string  $content) 

Parameters

\App\Helpers\string $content

request()

request(  $key,   $filter = '') 

Parameters

$key
$filter

theme()

theme(  $view = null,   $data = array(),   $mergeData = array()) 

模板

Parameters

$view
$data
$mergeData

view()

view(  $view = null,   $data = array(),   $mergeData = array()) 

视图

Parameters

$view
$data
$mergeData

expandType()

expandType() 

获取拓展类型及名称

index()

index(\Illuminate\Http\Request  $request) 

Display a listing of the resource.

Parameters

\Illuminate\Http\Request $request

create()

create() 

Show the form for creating a new resource.

show()

show(integer  $id) : \Illuminate\Contracts\Support\Renderable

Show the specified resource.

Parameters

integer $id

Returns

\Illuminate\Contracts\Support\Renderable

edit()

edit() 

Show the form for editing the specified resource.

password()

password() 

密码编辑页面

modify()

modify() 

修改字段

destroy()

destroy() 

Remove the specified resource from storage.

account()

account() 

变动资金页面

filter()

filter(  $value,   $filter) 

Parameters

$value
$filter

intval()

intval(  $value) 

Parameters

$value

floatval()

floatval(  $value) 

Parameters

$value

mobile()

mobile(  $value) 

Parameters

$value