mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-11-02 16:00:40 +00:00
20 lines
382 B
PHP
20 lines
382 B
PHP
<?php
|
||
|
||
|
||
use Volc\Service\Vms\Vms;
|
||
|
||
require('../../../vendor/autoload.php');
|
||
require('../../../src/Service/Vms/Vms.php');
|
||
|
||
$client = Vms::getInstance();
|
||
$client->setAccessKey("your ak");
|
||
$client->setSecretKey("your sk");
|
||
|
||
|
||
$body = [
|
||
'Url'=>'公网可以访问的url,需要申请正向代理',
|
||
'Name'=>'测试',
|
||
];
|
||
|
||
$response = $client->FetchResource($body);
|
||
echo $response; |