mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-08 08:14:21 +01:00
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
6588af2f32
commit
1c48345150
3 changed files with 42 additions and 0 deletions
|
|
@ -516,6 +516,15 @@ func UploadAssets2Cloud(id string) (count int, err error) {
|
|||
return
|
||||
}
|
||||
|
||||
func UploadAssets2CloudByAssetsPaths(assetPaths []string) (count int, err error) {
|
||||
if !IsSubscriber() {
|
||||
return
|
||||
}
|
||||
|
||||
count, err = uploadAssets2Cloud(assetPaths, bizTypeUploadAssets)
|
||||
return
|
||||
}
|
||||
|
||||
const (
|
||||
bizTypeUploadAssets = "upload-assets"
|
||||
bizTypeExport2Liandi = "export-liandi"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue