|
|
@ -99,7 +99,7 @@ class Api_SyssetController extends Ctrl_Api{ |
|
|
|
$excel = iconv('utf-8','gbk',$excel); |
|
|
|
$excel = iconv('utf-8','gbk',$excel); |
|
|
|
$fileName = 'EXCEL导出鼠信息'.time(). '.csv'; |
|
|
|
$fileName = 'EXCEL导出鼠信息'.time(). '.csv'; |
|
|
|
file_put_contents($path.$fileName, $excel); |
|
|
|
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); |
|
|
|
Tool_Fnc::apiMsg('获取成功', '200',$data); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|