From d16dbc69b485712af039e57f020023491bbdc956 Mon Sep 17 00:00:00 2001 From: lzq <357099073@qq.com> Date: Tue, 3 Nov 2026 11:15:18 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=A7=E7=BB=AD=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- go/controllers/app_notebook.go | 12 ++++++------ go/controllers/app_reminder.go | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/go/controllers/app_notebook.go b/go/controllers/app_notebook.go index e6480a8..7a9b5ea 100644 --- a/go/controllers/app_notebook.go +++ b/go/controllers/app_notebook.go @@ -71,12 +71,12 @@ func (c *AppNotebookController) GetList() { } type noteItem struct { - ID uint64 `json:"id"` - Title string `json:"title"` - Content string `json:"content"` - Pinned bool `json:"pinned"` - CreatedAt string `json:"created_at"` - UpdatedAt string `json:"updated_at"` + ID uint64 `json:"id"` + Title string `json:"title"` + Content string `json:"content"` + Pinned bool `json:"pinned"` + CreatedAt string `json:"created_at"` + UpdatedAt string `json:"updated_at"` } result := make([]noteItem, 0, len(list)) diff --git a/go/controllers/app_reminder.go b/go/controllers/app_reminder.go index 9669046..e783478 100644 --- a/go/controllers/app_reminder.go +++ b/go/controllers/app_reminder.go @@ -313,7 +313,7 @@ func (c *AppReminderController) Create() { firstSendTime := schedTime.Add(-time.Duration(p.AdvanceMinutes) * time.Minute) reminder := models.BackendScheduleReminder{ - Tid: claims.TenantId, + Tid: claims.TenantId, ScheduleID: uint64(schedID), RemindChannel: ch, AdvanceMinutes: p.AdvanceMinutes, @@ -454,7 +454,7 @@ func (c *AppReminderController) Update() { firstSendTime := schedTime.Add(-time.Duration(p.AdvanceMinutes) * time.Minute) reminder := models.BackendScheduleReminder{ - Tid: claims.TenantId, + Tid: claims.TenantId, ScheduleID: id, RemindChannel: ch, AdvanceMinutes: p.AdvanceMinutes,