\app\api\controller\v1User

Summary

Methods
Properties
Constants
fetch()
assign()
checktoken()
getUserInfo()
bindUser()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

fetch()

fetch(  $tpl = "") 

Parameters

$tpl

assign()

assign(  $name,   $data) 

Parameters

$name
$data

checktoken()

checktoken(  $token = "") 

Parameters

$token

getUserInfo()

getUserInfo(\app\Request  $request) : \think\response\Json

根据token获取用户信息

Parameters

\app\Request $request

Returns

\think\response\Json

bindUser()

bindUser(\app\Request  $request) : \think\response\Json

绑定禅道用户

Parameters

\app\Request $request

Returns

\think\response\Json