mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-11-02 16:00:40 +00:00
24 lines
433 B
PHP
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;
|
|
|