18 lines
307 B
PHP
18 lines
307 B
PHP
<?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 = [
|
|
'Type' => 0,
|
|
];
|
|
|
|
$response = $client->QueryResource($body);
|
|
echo $response; |