\Qiniu\StorageArgusManager

主要涉及了内容审核接口的实现,具体的接口规格可以参考

Summary

Methods
Properties
Constants
__construct()
censorVideo()
censorImage()
censorStatus()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
getArHost()
arPost()
get()
post()
$auth
$config
N/A

Properties

$auth

$auth

$config

$config

Methods

__construct()

__construct(\Qiniu\Auth  $auth, \Qiniu\Config  $config = null) : mixed

Parameters

\Qiniu\Auth $auth
\Qiniu\Config $config

Returns

mixed —

censorVideo()

censorVideo(string  $body) : array

视频审核

Parameters

string $body

body信息

Returns

array —

成功返回NULL,失败返回对象Qiniu\Http\Error

censorImage()

censorImage(string  $body) : array

图片审核

Parameters

string $body

Returns

array —

成功返回NULL,失败返回对象Qiniu\Http\Error

censorStatus()

censorStatus(string  $jobid) : array

查询视频审核结果

Parameters

string $jobid

任务ID

Returns

array —

getArHost()

getArHost() : mixed

Returns

mixed —

arPost()

arPost(mixed  $path, mixed  $body = null) : mixed

Parameters

mixed $path
mixed $body

Returns

mixed —

get()

get(mixed  $url) : mixed

Parameters

mixed $url

Returns

mixed —

post()

post(mixed  $url, mixed  $body) : mixed

Parameters

mixed $url
mixed $body

Returns

mixed —