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