Commit 2275d4c5 by Li Feifei

debug

parent a066c99e
Pipeline #15628 passed with stages
in 39 seconds
...@@ -93,5 +93,7 @@ func (f *parser) docType() string { ...@@ -93,5 +93,7 @@ func (f *parser) docType() string {
// 获取文件mine // 获取文件mine
func (f *parser) mineType() string { func (f *parser) mineType() string {
_ = mime.AddExtensionType(".pptx", "application/vnd.openxmlformats-officedocument.presentationml.presentation")
_ = mime.AddExtensionType(".ppt", "application/vnd.ms-powerpoint")
return strings.Trim(mime.TypeByExtension(f.ext), "") return strings.Trim(mime.TypeByExtension(f.ext), "")
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment