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()) }