Browse Source

Revert "fix"

This reverts commit 5902ab569dfbc803344df6a3315841b4b97d597e.
Roc 2 years ago
parent
commit
e9dca13509
1 changed files with 1 additions and 1 deletions
  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)
 
 		// 获取指标详情