From b84b7da911e5eb4f26cad10beefe1da196c64bba Mon Sep 17 00:00:00 2001 From: "yangsai@163.com" <2624183217@qq.com> Date: Fri, 24 May 2024 11:01:55 +0800 Subject: [PATCH] YS --- application/controllers/Api/Sysset.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/controllers/Api/Sysset.php b/application/controllers/Api/Sysset.php index 812a3b0..c11a8f8 100644 --- a/application/controllers/Api/Sysset.php +++ b/application/controllers/Api/Sysset.php @@ -99,7 +99,7 @@ class Api_SyssetController extends Ctrl_Api{ $excel = iconv('utf-8','gbk',$excel); $fileName = 'EXCEL导出鼠信息'.time(). '.csv'; file_put_contents($path.$fileName, $excel); - $data=Yaf_Registry::get("config")->web->url->img."/public/upload/excel/".$fileName; + $data['url']=Yaf_Registry::get("config")->web->url->img."/public/upload/excel/".$fileName; Tool_Fnc::apiMsg('获取成功', '200',$data); }