From ae3ef6971005c7f936dfe130619bf4ba337e9f82 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Tue, 26 Nov 2024 10:18:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/svc/svc_data_center_original_data.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/svc/svc_data_center_original_data.go b/app/svc/svc_data_center_original_data.go index 4ffce47..60e04f0 100644 --- a/app/svc/svc_data_center_original_data.go +++ b/app/svc/svc_data_center_original_data.go @@ -245,6 +245,9 @@ func DataCenterOriginalDataDoing(c *gin.Context, req md.DataCenterDataCenterOrig func OriginalDataMoreApplicationDoing(c *gin.Context, req md.DataCenterOriginalDataMoreApplicationDoingReq) error { state, _ := cache.GetString(c.GetString("mid") + ":original.wx.ad.data") if state == "1" { + if c.Query("is_del") == "1" { + cache.Del(c.GetString("mid") + ":original.wx.ad.data") + } return e.NewErr(400000, "数据采集中~") } // 加锁 防止并发提取