123456789101112131415161718192021 |
- <?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;
|