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.
28 lines
654 B
28 lines
654 B
<?php
|
|
|
|
use Volc\Service\Notify;
|
|
|
|
require('../../../vendor/autoload.php');
|
|
require('../../src/Service/Notify.php');
|
|
|
|
$client = Notify::getInstance();
|
|
$client->setAccessKey("your ak");
|
|
$client->setSecretKey("your sk");
|
|
|
|
|
|
$body = [
|
|
'List' => [
|
|
[
|
|
'Phone'=>'your phone',
|
|
'Resource' => '9b39e17fb12444c78f20d6551469a6f0',
|
|
'NumberPoolNo'=>'NP162213338604093530',
|
|
'NumberType'=>0,
|
|
'TriggerTime'=>'2022-05-18 19:18:00',
|
|
'Type'=>0,
|
|
'SingleOpenId'=>'9b39e17fb12444c78f20d6551469a6e3',
|
|
],
|
|
],
|
|
];
|
|
|
|
$response = $client->SingleBatchAppend($body);
|
|
echo $response; |