mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-29 05:50:50 +00:00
16 lines
397 B
PHP
16 lines
397 B
PHP
<?php
|
||
require('../../vendor/autoload.php');
|
||
|
||
use Volc\Service\BusinessSecurity;
|
||
|
||
$client = BusinessSecurity::getInstance();
|
||
|
||
// call below method if you dont set ak and sk in ~/.volc/config
|
||
$client->setAccessKey("ak");
|
||
$client->setSecretKey("sk");
|
||
|
||
$response = $client->RiskDetect(1, "", "{}");
|
||
echo $response;
|
||
|
||
$response = $client->GetVideoResult(222572, "video_risk", "test");
|
||
echo $response; |