继续更新

This commit is contained in:
hero920103 committed 2026-11-03 11:15:18 +08:00
1 parent 36ff960fbd
commit d16dbc69b4
2 files changed
+8 -8

No files matched your search

+6 -6
View File
@@ -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))
+2 -2
View File
@@ -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,