1 | <?php |
||
15 | final class ArgusManager |
||
16 | { |
||
17 | private $auth; |
||
18 | private $config; |
||
19 | |||
20 | public function __construct(Auth $auth, Config $config = null) |
||
29 | |||
30 | /** |
||
31 | * 视频鉴黄 |
||
32 | * |
||
33 | * @param $body body信息 |
||
34 | * @param $vid videoID |
||
35 | * |
||
36 | * @return mixed 成功返回NULL,失败返回对象Qiniu\Http\Error |
||
37 | * @link https://developer.qiniu.com/dora/manual/4258/video-pulp |
||
38 | */ |
||
39 | public function pulpVideo($body, $vid) |
||
45 | |||
46 | private function getArHost() |
||
54 | |||
55 | private function arPost($path, $body = null) |
||
60 | |||
61 | private function post($url, $body) |
||
73 | } |
||
74 |
When comparing two booleans, it is generally considered safer to use the strict comparison operator.