This commit is contained in:
2024-07-12 16:20:47 +08:00
parent 1e1ad29da6
commit cbd1a6574e

View File

@@ -234,6 +234,7 @@ class Events extends \think\worker\Events
// $filePath为待转写的本地文件路径返回taskId作为后续查询进度、获取结果操作的参数
$taskId = $client->combineUpload($filePath);
Tools::log_to_write_txt(['taskId'=>$taskId]);
// 查询进度json格式
$progress = $client->getProgress($taskId)->getBody()->getContents();