mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-28 03:06:10 +01:00
🎨 Add membership one-time payment features https://github.com/siyuan-note/siyuan/issues/8906
This commit is contained in:
parent
c553c87c63
commit
dead5c5a7c
4 changed files with 31 additions and 31 deletions
|
|
@ -634,7 +634,7 @@ func DownloadCloudSnapshot(tag, id string) (err error) {
|
|||
return
|
||||
}
|
||||
case conf.ProviderWebDAV, conf.ProviderS3:
|
||||
if !IsThirdPartySyncPaid() {
|
||||
if !IsOneTimePaid() {
|
||||
util.PushErrMsg(Conf.Language(214), 5000)
|
||||
return
|
||||
}
|
||||
|
|
@ -676,7 +676,7 @@ func UploadCloudSnapshot(tag, id string) (err error) {
|
|||
return
|
||||
}
|
||||
case conf.ProviderWebDAV, conf.ProviderS3:
|
||||
if !IsThirdPartySyncPaid() {
|
||||
if !IsOneTimePaid() {
|
||||
util.PushErrMsg(Conf.Language(214), 5000)
|
||||
return
|
||||
}
|
||||
|
|
@ -722,7 +722,7 @@ func RemoveCloudRepoTag(tag string) (err error) {
|
|||
return
|
||||
}
|
||||
case conf.ProviderWebDAV, conf.ProviderS3:
|
||||
if !IsThirdPartySyncPaid() {
|
||||
if !IsOneTimePaid() {
|
||||
util.PushErrMsg(Conf.Language(214), 5000)
|
||||
return
|
||||
}
|
||||
|
|
@ -754,7 +754,7 @@ func GetCloudRepoTagSnapshots() (ret []*dejavu.Log, err error) {
|
|||
return
|
||||
}
|
||||
case conf.ProviderWebDAV, conf.ProviderS3:
|
||||
if !IsThirdPartySyncPaid() {
|
||||
if !IsOneTimePaid() {
|
||||
util.PushErrMsg(Conf.Language(214), 5000)
|
||||
return
|
||||
}
|
||||
|
|
@ -790,7 +790,7 @@ func GetCloudRepoSnapshots(page int) (ret []*dejavu.Log, pageCount, totalCount i
|
|||
return
|
||||
}
|
||||
case conf.ProviderWebDAV, conf.ProviderS3:
|
||||
if !IsThirdPartySyncPaid() {
|
||||
if !IsOneTimePaid() {
|
||||
util.PushErrMsg(Conf.Language(214), 5000)
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue