mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-11-02 16:00:40 +00:00
19 lines
454 B
PHP
19 lines
454 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 = [
|
|
'NumberPoolNo' => 'NP161156328504091435',
|
|
'SubId' => 'S163290034831599ce523b',
|
|
'PhoneNoB' => '13700000002',
|
|
'UserData' => 'this is my user data',
|
|
];
|
|
|
|
$response = $client->UpgradeAXToAXB($body);
|
|
echo $response; |