class Console

对接 Console 中台

Traits

AppTrait

Properties

protected Resp $error error from  AppTrait
protected Resp $success success from  AppTrait

Methods

getError()

获取错误

from  AppTrait
bool
setError(string|MessageBag $error)

设置错误

from  AppTrait
getSuccess()

Get success messages;

from  AppTrait
bool
setSuccess(Resp|string $success)

No description

from  AppTrait
__construct()

No description

bool
clockworkCapture($id)

抓取 clockwork

bool
apidocCapture($type)

获取本地的文件上传

bool
generateSecret()

生成密钥并汇报

mixed
secret()

当前的密钥

string
getCpUrl()

No description

Details

in AppTrait at line 32
Resp getError()

获取错误

Return Value

Resp

in AppTrait at line 45
bool setError(string|MessageBag $error)

设置错误

Parameters

string|MessageBag $error error

Return Value

bool

in AppTrait at line 82
Resp getSuccess()

Get success messages;

Return Value

Resp

in AppTrait at line 100
bool setSuccess(Resp|string $success)

No description

Parameters

Resp|string $success 设置的成功信息

Return Value

bool

at line 46
__construct()

No description

at line 59
bool clockworkCapture($id)

抓取 clockwork

Parameters

$id

Return Value

bool

at line 93
bool apidocCapture($type)

获取本地的文件上传

Parameters

$type

Return Value

bool

at line 133
bool generateSecret()

生成密钥并汇报

Return Value

bool

at line 163
mixed secret()

当前的密钥

Return Value

mixed

at line 171
string getCpUrl()

No description

Return Value

string