Ban
class Ban
用户禁用
Traits
AppTrait
Properties
protected Resp | $error | error | from AppTrait |
protected Resp | $success | success | from AppTrait |
Methods
__construct()
No description
bool
establish(array $input)
封禁
bool
delete(int $id)
删除
bool
checkIn(string $account_type, string $type, string $value)
检测给定内容是否在缓存中
bool
type($id, $type)
禁用 Ban
void
initCache()
初始化所有
parseIpRange($value)
No description
Details
in
AppTrait at line 45
bool
setError(string|MessageBag $error)
设置错误
at line 31
__construct()
No description
at line 41
bool
establish(array $input)
封禁
at line 108
bool
delete(int $id)
删除
at line 141
bool
checkIn(string $account_type, string $type, string $value)
检测给定内容是否在缓存中
at line 184
bool
type($id, $type)
禁用 Ban
at line 212
void
initCache()
初始化所有
at line 219
parseIpRange($value)
No description