瀏覽代碼

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


Loading…
取消
儲存