Procházet zdrojové kódy

luaconfig表迁移

maxiaoshan před 2 roky
rodič
revize
4cd9d077e6
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/spider/handler.go

+ 1 - 1
src/spider/handler.go

@@ -210,7 +210,7 @@ func QueueUpScriptList() {
 					if sp != nil && sp.IsHistoricalMend { //下载历史的爬虫执行一次后删除
 						DelLen++
 						LoopListPath.Delete(key)
-						MgoEB.Update("luaconfig", map[string]interface{}{"code": code}, map[string]interface{}{"$set": map[string]interface{}{"state": 6}}, false, false)
+						b = MgoEB.Update("luaconfig", map[string]interface{}{"code": code}, map[string]interface{}{"$set": map[string]interface{}{"state": 6}}, false, false)
 						logger.Debug("Delete History Code:", code, b)
 					}
 				}