diff --git a/var/Typecho/Db/Query.php b/var/Typecho/Db/Query.php index e59b024f..ecbcedf4 100644 --- a/var/Typecho/Db/Query.php +++ b/var/Typecho/Db/Query.php @@ -215,6 +215,16 @@ class Typecho_Db_Query return '#param:' . (count($this->_params) - 1) . '#'; } + /** + * 获取参数 + * + * @return array + */ + public function getParams() + { + return $this->_params; + } + /** * set default params *