mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-29 05:50:50 +00:00
20 lines
483 B
PHP
20 lines
483 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 = [
|
|
"subAccount" => "your subAccountName",
|
|
"signatures" => ["sig1, sig2"],
|
|
"id" => 1, // 资质id
|
|
];
|
|
|
|
$response = $client->batchBindSignatureIdent(['json' => $body]);
|
|
echo $response; |