增加测试机制;完善DebugMysql日志逻辑;更新debug_log表字段格式;发布新版本

This commit is contained in:
2024-01-03 16:22:01 +08:00
parent 58bb8166c9
commit e6779f4921
14 changed files with 767 additions and 76 deletions

View File

@@ -0,0 +1,32 @@
<?php
namespace base\common\service;
use Exception;
class TestServiceBase
{
public const NAME = null;
public const DESC = null;
public const RUN = 'run';
public function getName()
{
if ($this::NAME === null) {
throw new Exception('name is not set');
}
return $this::NAME;
}
public function getDesc()
{
if ($this::DESC === null) {
throw new Exception('desc is not set');
}
return $this::DESC;
}
}