mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-11-01 23:40:38 +00:00
20 lines
413 B
PHP
20 lines
413 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 = [
|
|
'Name' => 'siptest-chV1',
|
|
'ServiceType' => '100',
|
|
'SubServiceType' => '101',
|
|
'NumberPoolNo' => 'todo'
|
|
];
|
|
|
|
$response = $client->UpdateNumberPool($body);
|
|
echo $response; |