fixed
This commit is contained in:
@@ -203,6 +203,8 @@ class Events extends \think\worker\Events
|
|||||||
|
|
||||||
// 将音频数据转换为文件,以便传递给iFLYTEK SDK
|
// 将音频数据转换为文件,以便传递给iFLYTEK SDK
|
||||||
$tempFile = tempnam(sys_get_temp_dir(), 'audio');
|
$tempFile = tempnam(sys_get_temp_dir(), 'audio');
|
||||||
|
Tools::log_to_write_txt(['tempFile:',$tempFile]);
|
||||||
|
|
||||||
file_put_contents($tempFile, $audioData);
|
file_put_contents($tempFile, $audioData);
|
||||||
// 设置请求参数
|
// 设置请求参数
|
||||||
//$params = [
|
//$params = [
|
||||||
|
|||||||
Reference in New Issue
Block a user