浏览代码

Revert "fix"

This reverts commit 5902ab569dfbc803344df6a3315841b4b97d597e.
Roc 2 年之前
父节点
当前提交
e9dca13509
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      controllers/base_from_cffex.go

+ 1 - 1
controllers/base_from_cffex.go

@@ -89,7 +89,7 @@ func (this *CffexController) Refresh() {
 	}
 
 	cacheKey = utils.CACHE_EDB_DATA_REFRESH + strconv.Itoa(source) + "_" + req.EdbCode
-	if utils.Rc.IsExist(cacheKey) {
+	if !utils.Rc.IsExist(cacheKey) {
 		utils.Rc.SetNX(cacheKey, 1, 1*time.Minute)
 
 		// 获取指标详情