From d3f8477559e3e74526f06aa1c8e6d713941c62bc Mon Sep 17 00:00:00 2001 From: yaooo <272523191@qq.com> Date: Wed, 11 Oct 2023 17:28:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0iat=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 | 1 + 1 file changed, 1 insertion(+) diff --git a/app/api/controller/XunFeiController.php b/app/api/controller/XunFeiController.php index 6fa894a91..fff0b9993 100644 --- a/app/api/controller/XunFeiController.php +++ b/app/api/controller/XunFeiController.php @@ -148,6 +148,7 @@ class XunFeiController extends BaseApiController $n = count($last_file_array) - 1; $last_file = $last_file_array[$n]; $copyFile = app()->getRootPath() . '/public/uploads/iat/' . $last_file; + halt($file, $copyFile); copy($file, $copyFile); $ext = pathinfo($file, PATHINFO_EXTENSION); $extArray = ['mp3', 'pcm'];