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.
shipin/vendor/volcengine/volc-sdk-php/examples/SecretNumber/DemoSelectNumberAndBindAXB.php

19 lines
459 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' => 'NP161156328504091435',
'PhoneNoA' => '13700000001',
'PhoneNoB' => '13700000002',
'ExpireTime' => '1632920195',
];
$response = $client->SelectNumberAndBindAXB($body);
echo $response;