浏览代码

update

master
shenjiachi 2 周前
父节点
当前提交
8eba71239d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/implement/advertising_callback_implement.go

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


正在加载...
取消
保存