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.
21 lines
467 B
21 lines
467 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 = [
|
|
'TaskOpenId' => '0742e8123ada40cb9efa6b55e8fced7a',
|
|
'Concurrency'=> 3,
|
|
'StartTime' => '2022-05-17 00:00:00',
|
|
'EndTime' => '2022-05-17 18:30:00',
|
|
'Recall' => 1,
|
|
];
|
|
|
|
$response = $client->UpdateTask($body);
|
|
echo $response; |