Roc 2 年之前
父節點
當前提交
5902ab569d
共有 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)
 
 		// 获取指标详情