mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-10 07:03:16 +08:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
b017c4c356
@ -584,6 +584,7 @@ func ImportFromLocalPath(boxID, localPath string, toPath string) (err error) {
|
||||
tree.Box = boxID
|
||||
tree.Path = targetPath
|
||||
tree.HPath = path.Join(baseHPath, title)
|
||||
tree.Root.Spec = "1"
|
||||
luteEngine.NestedInlines2FlattedSpans(tree)
|
||||
|
||||
docDirLocalPath := filepath.Dir(filepath.Join(boxLocalPath, targetPath))
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user