/** * 读取VBA配置 */ public function doGetConfig(ZOL_Request $input, ZOL_Response $output) { $dbName = $input->get('db'); $tblName = $input->get('tbl'); $data = Helper_Dao::getOne(array('dbName' => 'Db_UserData', 'tblName' => 'vba_config', 'cols' => 'content', 'whereSql' => ' and dbName="' . $dbName . '" and tableName="' . $tblName . '"')); echo mb_convert_encoding($data, "UTF-8", "GBK"); exit; }