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.
20 lines
380 B
20 lines
380 B
6 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 = [
|
||
|
'Url'=>'公网可以访问的url,需要申请正向代理',
|
||
|
'Name'=>'测试',
|
||
|
];
|
||
|
|
||
|
$response = $client->FetchResource($body);
|
||
|
echo $response;
|