feat(apk): 添加文件名返回字段

- 在响应数据中增加 filename 字段
- 返回附件的原始文件名信息
This commit is contained in:
2026-04-09 11:18:55 +08:00
parent 925f891fa9
commit e2cb70911b

View File

@@ -103,6 +103,7 @@ class Apk extends Api
} }
$response = [ $response = [
'url' => $this->request->domain() . $attachment->url, 'url' => $this->request->domain() . $attachment->url,
'filename' => $attachment->filename,
]; ];
$this->success('获取成功', $response); $this->success('获取成功', $response);