\app\api\behaviorApiAuth

Summary

Methods
Properties
Constants
run()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
checkAccessToken()
checkVersion()
checkLogin()
$request
$apiInfo
N/A

Properties

$apiInfo

$apiInfo : 

Type

Methods

run()

run() : \think\response\Json

默认行为函数

Throws

\think\Exception
\think\exception\DbException

Returns

\think\response\Json

checkAccessToken()

checkAccessToken() 

Api接口合法性检测

checkVersion()

checkVersion() 

Api版本参数校验

checkLogin()

checkLogin() 

TODO::需要根据实际情况另外改写 检测用户登录情况 检测通过请赋予USER_INFO值