|
|
@@ -1524,6 +1524,8 @@ class Events
|
|
|
//获取系统配置
|
|
|
private static function upsystemconfig()
|
|
|
{
|
|
|
+ $allcont = [];
|
|
|
+
|
|
|
$systemConfigData = self::$db->query("SELECT * FROM `ws_systemconfig`");
|
|
|
$arr = [];
|
|
|
if ($systemConfigData) {
|
|
|
@@ -1531,6 +1533,8 @@ class Events
|
|
|
$arr[$item['systemconfig_enName']] = $item;
|
|
|
}
|
|
|
self::$global->systemconfig = $arr;
|
|
|
+
|
|
|
+ $allcont['systemconfig'] = $arr;
|
|
|
}
|
|
|
|
|
|
$group = self::$db->query("SELECT * FROM `ws_groups` where `status` = 1");
|
|
|
@@ -1540,6 +1544,8 @@ class Events
|
|
|
$arr[$val['id']] = $val['name'];
|
|
|
}
|
|
|
self::$global->groupmap = $arr;
|
|
|
+
|
|
|
+ $allcont['groups'] = $arr;
|
|
|
}
|
|
|
|
|
|
$arr = [];
|
|
|
@@ -1552,6 +1558,9 @@ class Events
|
|
|
self::$global->systemReplay = $systemWelcome;
|
|
|
self::$global->kfReplay = $kfReplay;
|
|
|
|
|
|
+ $allcont['Replay'] = ['kf' => $kfReplay, 'sys' => $systemWelcome];
|
|
|
+
|
|
|
+
|
|
|
$arr = [];
|
|
|
$bq = self::$db->query("select * from ws_accountslabel");
|
|
|
if ($bq) {
|
|
|
@@ -1559,8 +1568,12 @@ class Events
|
|
|
$arr[$val['id']] = $val;
|
|
|
}
|
|
|
self::$global->accountslabel = $arr;
|
|
|
+
|
|
|
+ $allcont['accountslabel'] = $arr;
|
|
|
}
|
|
|
|
|
|
+ self::DebugOut($allcont, "upsystemconfig .....");
|
|
|
+
|
|
|
}
|
|
|
|
|
|
/**
|