From 832443e1d21e5133a7c5ee935fbe3e91e0ff6d9f Mon Sep 17 00:00:00 2001 From: junleea <354425203@qq.com> Date: Sun, 14 Dec 2025 15:55:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0cid=E6=89=A7=E8=A1=8C?= =?UTF-8?q?=E6=88=90=E5=8A=9F=E5=A4=B1=E8=B4=A5=E6=97=B6=E9=97=B4=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dao/cid.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dao/cid.go b/dao/cid.go index 9f11f39..a5da4a1 100644 --- a/dao/cid.go +++ b/dao/cid.go @@ -41,13 +41,13 @@ func GetDB() *gorm.DB { func UpdateCIDLastSuccessTime(id int) error { db := GetDB() - res := db.Exec("UPDATE SET last_success = now() where id = ?", id) + res := db.Exec("UPDATE c_ids SET last_success = now() where id = ?", id) return res.Error } func UpdateCIDLastFailureTime(id int) error { db := GetDB() - res := db.Exec("UPDATE SET last_fail = now() where id = ?", id) + res := db.Exec("UPDATE c_ids SET last_fail = now() where id = ?", id) return res.Error }