public static function __callStatic($method, $params) { // 自动初始化数据库 return call_user_func_array([self::connect(), $method], $params); }