Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2026-01-18 09:43:06 +08:00
parent e855f92d99
commit 2e3220e2e9
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -251,6 +251,10 @@ func updateRecentDocViewTime(c *gin.Context) {
return
}
if nil == arg["rootID"] {
return
}
rootID := arg["rootID"].(string)
err := model.UpdateRecentDocViewTime(rootID)
if err != nil {
@ -269,6 +273,10 @@ func updateRecentDocOpenTime(c *gin.Context) {
return
}
if nil == arg["rootID"] {
return
}
rootID := arg["rootID"].(string)
err := model.UpdateRecentDocOpenTime(rootID)
if err != nil {