904118851 9 月之前
父節點
當前提交
bf14ab3ea6
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      common/dbproxy/db_filter_config.lua

+ 1 - 2
common/dbproxy/db_filter_config.lua

@@ -36,7 +36,6 @@ function M.getConfig()
         local sql = string.format("select config from `db_filter_config` WHERE config_id = 1 ")
         local sql = string.format("select config from `db_filter_config` WHERE config_id = 1 ")
         local res = mysqldbx.query(sql)
         local res = mysqldbx.query(sql)
         local obj = {}
         local obj = {}
-        tools.dump(res)
         if #res>0 and res[1].config~=nil then
         if #res>0 and res[1].config~=nil then
             obj = cjson.decode(res[1].config)
             obj = cjson.decode(res[1].config)
         else
         else
@@ -52,7 +51,7 @@ function M.getConfig()
                 genre = 1,
                 genre = 1,
                 source_filter = {"来源1","来源2"}
                 source_filter = {"来源1","来源2"}
             }
             }
-            M.config(obj)
+            M.modifyConfig(obj)
         end
         end
         shaixuan_config = obj;
         shaixuan_config = obj;
     end
     end