Roc %!s(int64=2) %!d(string=hai) anos
pai
achega
5902ab569d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)
 
 		// 获取指标详情