mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-09-18 17:48:00 +08:00
1、实现富文本编辑器
2、实现文档转换为PDF、MOBI、EPUB、Word格式 3、实现登录后跳转到来源地址
This commit is contained in:
@@ -13,7 +13,7 @@ import (
|
||||
// 将图片保存到指定的路径
|
||||
func SaveImage(p string, src image.Image) error {
|
||||
|
||||
os.MkdirAll(filepath.Dir(p),0666)
|
||||
os.MkdirAll(filepath.Dir(p), 0666)
|
||||
|
||||
f, err := os.OpenFile(p, os.O_SYNC|os.O_RDWR|os.O_CREATE, 0666)
|
||||
|
||||
|
Reference in New Issue
Block a user