mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-24 00:55:35 +08:00
update to version 2.5.4 (buid 421)
This commit is contained in:
@@ -1,8 +1,14 @@
|
|||||||
# 更新日志(v2 版本)
|
# 更新日志(v2 版本)
|
||||||
|
|
||||||
|
## v2.5.4 (buidl 421)
|
||||||
|
|
||||||
|
> 更新时间:2021.9.11
|
||||||
|
|
||||||
|
- 删除多余的调试信息
|
||||||
|
|
||||||
## v2.5.3 (build 420)
|
## v2.5.3 (build 420)
|
||||||
|
|
||||||
> 更新事件:2021.9.11
|
> 更新时间:2021.9.11
|
||||||
|
|
||||||
- 修复 DB 模块在未连接数据库的时候抛出未知异常
|
- 修复 DB 模块在未连接数据库的时候抛出未知异常
|
||||||
- 修复部分情况下打包模块出现的错误
|
- 修复部分情况下打包模块出现的错误
|
||||||
|
|||||||
@@ -28,8 +28,8 @@ class ConsoleApplication extends Application
|
|||||||
{
|
{
|
||||||
private static $obj = null;
|
private static $obj = null;
|
||||||
|
|
||||||
const VERSION_ID = 420;
|
const VERSION_ID = 421;
|
||||||
const VERSION = "2.5.3";
|
const VERSION = "2.5.4";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @throws InitException
|
* @throws InitException
|
||||||
|
|||||||
@@ -184,7 +184,6 @@ class OnWorkerStart implements SwooleEvent
|
|||||||
$obj->level = $obb_onebot["message_level"] ?? 99999;
|
$obj->level = $obb_onebot["message_level"] ?? 99999;
|
||||||
$obj->rule = 'connectIsQQ()';
|
$obj->rule = 'connectIsQQ()';
|
||||||
EventManager::addEvent(OnMessageEvent::class, $obj);
|
EventManager::addEvent(OnMessageEvent::class, $obj);
|
||||||
zm_dump(EventManager::$events[OnMessageEvent::class]);
|
|
||||||
if ($obb_onebot["single_bot_mode"]) {
|
if ($obb_onebot["single_bot_mode"]) {
|
||||||
LightCacheInside::set("connect", "conn_fd", -1);
|
LightCacheInside::set("connect", "conn_fd", -1);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user