From 80759907651c659cc7e7eb0875d88f0c6333ef04 Mon Sep 17 00:00:00 2001 From: liutong <836164388@qq.com> Date: Mon, 24 Mar 2025 16:26:17 +0800 Subject: [PATCH] =?UTF-8?q?feat(upload):=20=E4=BC=98=E5=8C=96=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E4=B8=8A=E4=BC=A0=E6=8E=A5=E5=8F=A3=E8=BF=94=E5=9B=9E?= =?UTF-8?q?=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 增加文件绝对路径、文件名和文件后缀名信息 - 保留原始相对路径 - 提高接口的可用性和灵活性 --- niucloud/addon/zhjw/app/service/admin/common/CommonService.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/niucloud/addon/zhjw/app/service/admin/common/CommonService.php b/niucloud/addon/zhjw/app/service/admin/common/CommonService.php index f6b18610..0a59f5ac 100644 --- a/niucloud/addon/zhjw/app/service/admin/common/CommonService.php +++ b/niucloud/addon/zhjw/app/service/admin/common/CommonService.php @@ -55,6 +55,8 @@ class CommonService extends BaseAdminService { $tree = []; foreach ($areas as $area) { + $area['text'] = $area['name']; + $area['value'] = $area['id']; if ($area['pid'] == $pid) { $children = $this->areaBuildTree($areas, $area['id']); if ($children) {