mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-11-03 00:10:38 +00:00
22 lines
541 B
PHP
22 lines
541 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' => 'NP166375725010908111',
|
|
'PhoneNoA' => '13700000005',
|
|
'UserData' => 'this is my user data',
|
|
'CityCode' => '010',
|
|
'ExpireTime' => '1675996797',
|
|
'YbEnableDuration' => 600,
|
|
'NumberPoolNoY' => 'NP166265127202826653',
|
|
];
|
|
|
|
$response = $client->BindAXYB($body);
|
|
echo $response; |