mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-11-16 06:50:33 +00:00
19 lines
399 B
PHP
19 lines
399 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 = [
|
|
'CustomerNumberList' => 'Number1,Number2',
|
|
'BusinessLineId' => '2000000001',
|
|
'CallType' => '1',
|
|
];
|
|
|
|
$response = $client->QueryCanCall($body);
|
|
echo $response; |