2026-09-23 15:15:02 +08:00

24 lines
433 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 = [
'TaskOpenId' => '106d2984fbf0480480cbc8b98d609592',
'PhoneList' => [
[
'Phone' => 'your phone',
]
],
];
$response = $client->BatchAppend($body);
echo $response;