Commit b2449ba5 authored by tufengqi's avatar tufengqi

fix bug

parent 9ad211b0
......@@ -17,8 +17,6 @@ class DefaultBaseImpl
}
public static function checkTable($db_name, $table_name)
{
var_dump($db_name, $table_name);
exit;
if (!isset(TableConstant::$table_list[$db_name . TableConstant::CONNECTOR_TAG . $table_name])) {
throw new \Exception('hash table is not defined');
}
......
......@@ -4,6 +4,6 @@ namespace fpf\cache;
interface SimpleTableIntf
{
public static function getHashTableKey($db_name, $table_name, $key);
public static function getSimpleTableKey($db_name, $table_name, $key);
public static function checkTable($db_name, $table_name);
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment