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.
25 lines
432 B
25 lines
432 B
10 months ago
|
<?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 = [
|
||
|
'TaskOpenId' => '106d2984fbf0480480cbc8b98d609592',
|
||
|
'PhoneList' => [
|
||
|
[
|
||
|
'Phone' => 'your phone',
|
||
|
]
|
||
|
],
|
||
|
];
|
||
|
|
||
|
$response = $client->BatchAppend($body);
|
||
|
echo $response;
|
||
|
|