From a34a90f03cecc7658231547270f8036bb5affe4a Mon Sep 17 00:00:00 2001 From: chengkun <chengkun@ishangstudy.com> Date: Tue, 29 Apr 2025 18:32:24 +0800 Subject: [PATCH] 提交 --- app/public/action.class.php | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/public/action.class.php b/app/public/action.class.php index ca979f6..4876c36 100644 --- a/app/public/action.class.php +++ b/app/public/action.class.php @@ -151,7 +151,7 @@ protected function _initialize() { } - function get_table_fields($tableName): array { + function get_table_fields($tableName) { include(CONFIG_PATH . 'db.config.php'); $mysqli = new mysqli($db_config['dbhost'], $db_config['dbuser'], $db_config['dbpass'], $db_config['dbname']); $query = $mysqli->query("SHOW COLUMNS FROM $tableName"); @@ -163,7 +163,7 @@ } - function insert_into($table, $data = array()): bool { + function insert_into($table, $data = array()) { $value = array(); $this->db->connect(); include(PLUS_PATH . 'dbstruct.cache.php'); -- Gitblit v1.9.0