From e2cb70911b5103eb93951c13c5c5f0f4e1c7e928 Mon Sep 17 00:00:00 2001 From: leon <916117771@qq.com> Date: Thu, 9 Apr 2026 11:18:55 +0800 Subject: [PATCH] =?UTF-8?q?feat(apk):=20=E6=B7=BB=E5=8A=A0=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=90=8D=E8=BF=94=E5=9B=9E=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在响应数据中增加 filename 字段 - 返回附件的原始文件名信息 --- application/api/controller/Apk.php | 1 + 1 file changed, 1 insertion(+) diff --git a/application/api/controller/Apk.php b/application/api/controller/Apk.php index 42a7d0f..d8f7f8e 100644 --- a/application/api/controller/Apk.php +++ b/application/api/controller/Apk.php @@ -103,6 +103,7 @@ class Apk extends Api } $response = [ 'url' => $this->request->domain() . $attachment->url, + 'filename' => $attachment->filename, ]; $this->success('获取成功', $response);