\Modules\User\Http\Controllers\WebUserController

Summary

Methods
Properties
Constants
jsonSuc()
jsonErr()
result()
contentToArray()
request()
theme()
view()
expandType()
index()
reg()
store()
login()
auth()
regCode()
logout()
forget()
editPwd()
No public properties found
No constants found
filter()
intval()
floatval()
mobile()
$success
$successCode
$error
$errorCode
N/A
No private methods found
No private properties found
N/A

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() 

reg()

reg() 

login()

login() 

auth()

auth() 

regCode()

regCode() 

logout()

logout() 

forget()

forget() 

filter()

filter(  $value,   $filter) 

Parameters

$value
$filter

intval()

intval(  $value) 

Parameters

$value

floatval()

floatval(  $value) 

Parameters

$value

mobile()

mobile(  $value) 

Parameters

$value