From 21e524fbdba0c3e8983b5100f3ec24554fd0f899 Mon Sep 17 00:00:00 2001 From: yaooo <272523191@qq.com> Date: Tue, 10 Oct 2023 14:55:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=AF=AD=E9=9F=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/controller/XunFeiController.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/api/controller/XunFeiController.php b/app/api/controller/XunFeiController.php index 4818e64c6..88a4be3b3 100644 --- a/app/api/controller/XunFeiController.php +++ b/app/api/controller/XunFeiController.php @@ -125,7 +125,6 @@ class XunFeiController extends BaseApiController { header('X-Accel-Buffering: no'); $file = request()->file('audio'); - /* if(empty($file)){ //return $this->fail('未上传音频文件'); } @@ -135,8 +134,7 @@ class XunFeiController extends BaseApiController if (!file_exists($file)) { //return $this->fail('未上传音频文件'); } - */ - $file = "https://lihai001.oss-cn-chengdu.aliyuncs.com/media/iat_mp3_16k.mp3"; + // $file = "https://lihai001.oss-cn-chengdu.aliyuncs.com/media/iat_mp3_16k.mp3"; $audioFile = fopen($file, 'rb'); if ($audioFile === false) { return $this->fail('音频文件异常');