mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
更改:文件返回type
This commit is contained in:
@@ -153,7 +153,7 @@ class Api::Pm::IssuesController < Api::Pm::BaseController
|
||||
p.serialize('public/导出工作项.xlsx')
|
||||
end
|
||||
|
||||
send_file('public/导出工作项.xlsx')
|
||||
send_file('public/导出工作项.xlsx', :type => 'application/octet-stream;charset=utf-8')
|
||||
end
|
||||
|
||||
def import
|
||||
|
||||
Reference in New Issue
Block a user