This commit is contained in:
Daniel 2025-09-03 17:37:27 +08:00
parent 1e95b68df6
commit cfb976eb89
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
7 changed files with 34 additions and 15 deletions

View file

@ -26,6 +26,7 @@ import (
"time"
"github.com/88250/gulu"
"github.com/88250/lute/ast"
"github.com/siyuan-note/filelock"
"github.com/siyuan-note/httpclient"
"github.com/siyuan-note/logging"
@ -289,5 +290,5 @@ func FilterUploadFileName(name string) string {
}
func AssetName(name string) string {
return util.AssetName(name)
return util.AssetName(name, ast.NewNodeID())
}