You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
519 B
21 lines
519 B
10 months ago
|
<?php
|
||
|
use Volc\Service\SecretNumber;
|
||
|
|
||
|
require('../../vendor/autoload.php');
|
||
|
require('../../src/Service/SecretNumber.php');
|
||
|
|
||
|
$client = SecretNumber::getInstance();
|
||
|
$client->setAccessKey("your ak");
|
||
|
$client->setSecretKey("your sk");
|
||
|
|
||
|
$body = [
|
||
|
'NumberPoolNo' => 'NP162981168404095092',
|
||
|
'PhoneNoA' => '13700000001',
|
||
|
'PhoneNoB' => '13700000002',
|
||
|
'PhoneNoX' => '13700000005',
|
||
|
'ExpireTime' => '1632920195',
|
||
|
'UserData' => 'this is my user data',
|
||
|
];
|
||
|
|
||
|
$response = $client->BindAXN($body);
|
||
|
echo $response;
|