Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2025-12-21 18:42:32 +08:00
parent 6588af2f32
commit 1c48345150
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
3 changed files with 42 additions and 0 deletions

View file

@ -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"