From a4b758d33b51ad771a11237fb72bc856dd9059b2 Mon Sep 17 00:00:00 2001
From: chengkun <chengkun@ishangstudy.com>
Date: Thu, 29 May 2025 18:22:55 +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