mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-04 14:22:04 +08:00
🎨 订阅试用从 30 天缩短为 7 天 https://github.com/siyuan-note/siyuan/issues/6375
This commit is contained in:
parent
3c407bdf7c
commit
28f7812fdd
@ -180,7 +180,7 @@ func refreshSubscriptionExpirationRemind() {
|
|||||||
remains := int((expired - time.Now().UnixMilli()) / 1000 / 60 / 60 / 24)
|
remains := int((expired - time.Now().UnixMilli()) / 1000 / 60 / 60 / 24)
|
||||||
expireDay := 15 // 付费订阅提前 15 天提醒
|
expireDay := 15 // 付费订阅提前 15 天提醒
|
||||||
if 2 == Conf.User.UserSiYuanSubscriptionPlan {
|
if 2 == Conf.User.UserSiYuanSubscriptionPlan {
|
||||||
expireDay = 2 // 试用订阅提前 2 天提醒
|
expireDay = 3 // 试用订阅提前 3 天提醒
|
||||||
}
|
}
|
||||||
|
|
||||||
if 0 < remains && expireDay > remains {
|
if 0 < remains && expireDay > remains {
|
||||||
|
Loading…
Reference in New Issue
Block a user