From 8eba71239d4f30bbecec2127332ceeace72c237d Mon Sep 17 00:00:00 2001 From: shenjiachi Date: Thu, 19 Dec 2024 16:38:24 +0800 Subject: [PATCH] update --- src/implement/advertising_callback_implement.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/implement/advertising_callback_implement.go b/src/implement/advertising_callback_implement.go index 6ae2f43..e86639a 100644 --- a/src/implement/advertising_callback_implement.go +++ b/src/implement/advertising_callback_implement.go @@ -67,7 +67,7 @@ func (a AdvertisingCallbackDb) AdvertisingCallbackCount(uid, startTime, endTime, } func (a AdvertisingCallbackDb) AdvertisingCallbackDeleteByDateByPage(date string, limit int) (int64, error) { - affected, err := a.Db.Where("create_at < ?", date).Limit(limit).Delete(&model.EggAccessRecords{}) + affected, err := a.Db.Where("create_at < ?", date).Limit(limit).Delete(&model.AdvertisingCallback{}) if err != nil { return 0, zhios_order_relate_logx.Error(err.Error()) }