🎨 订阅试用从 30 天缩短为 7 天 https://github.com/siyuan-note/siyuan/issues/6375

This commit is contained in:
Liang Ding 2022-10-27 22:50:32 +08:00
parent 3c407bdf7c
commit 28f7812fdd
No known key found for this signature in database
GPG Key ID: 136F30F901A2231D

View File

@ -180,7 +180,7 @@ func refreshSubscriptionExpirationRemind() {
remains := int((expired - time.Now().UnixMilli()) / 1000 / 60 / 60 / 24)
expireDay := 15 // 付费订阅提前 15 天提醒
if 2 == Conf.User.UserSiYuanSubscriptionPlan {
expireDay = 2 // 试用订阅提前 2 天提醒
expireDay = 3 // 试用订阅提前 3 天提醒
}
if 0 < remains && expireDay > remains {