mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-29 14:01:07 +00:00
19 lines
450 B
PHP
19 lines
450 B
PHP
<?php
|
|
|
|
require('../../vendor/autoload.php');
|
|
|
|
use Volc\Service\Sms;
|
|
use Volc\Models\Vod\Request\VodApplyUploadInfoRequest;
|
|
use Volc\Models\Vod\Response\VodApplyUploadInfoResponse;
|
|
|
|
$client = Sms::getInstance('');
|
|
$client->setAccessKey("your ak");
|
|
$client->setSecretKey("your sk");
|
|
|
|
$body = [
|
|
"subAccountName" => "your subAccountName",
|
|
"desc" => "your description",
|
|
];
|
|
|
|
$response = $client->insertSubAccount(['json' => $body]);
|
|
echo $response; |