setAccessKey(""); // $client->setSecretKey(""); $vid = "vid"; echo "\n获取字幕token\n"; $req = new VodGetSubtitleInfoListRequest(); $req->setVid($vid); try { $token = $client->getSubtitleAuthToken($req, 60); } catch (Throwable $e) { print($e); } echo $token;