Browse Source

更新

master
huangjiajun 4 days ago
parent
commit
ae3ef69710
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      app/svc/svc_data_center_original_data.go

+ 3
- 0
app/svc/svc_data_center_original_data.go View File

@@ -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, "数据采集中~")
}
// 加锁 防止并发提取


Loading…
Cancel
Save