904118851 9 bulan lalu
induk
melakukan
bf14ab3ea6
1 mengubah file dengan 1 tambahan dan 2 penghapusan
  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 res = mysqldbx.query(sql)
         local obj = {}
-        tools.dump(res)
         if #res>0 and res[1].config~=nil then
             obj = cjson.decode(res[1].config)
         else
@@ -52,7 +51,7 @@ function M.getConfig()
                 genre = 1,
                 source_filter = {"来源1","来源2"}
             }
-            M.config(obj)
+            M.modifyConfig(obj)
         end
         shaixuan_config = obj;
     end