增加测试机制;完善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,19 @@
<?php
namespace base\common\interface\test;
use think\console\Input;
use think\console\Output;
/**
* 测试类接口.
*
* 实现了该接口的类,会在执行命令时,自动执行该接口的方法,比如传入参数,输出结果等。
* 要注意的是并不代表该接口只能在命令行中使用也可以在其他地方使用在其他地方使用时传入不同“实现”的output和input。例如在控制器中使用传入的output会输出到Response。
*/
interface CommandTestInterfaceBase
{
public function setOutput(Output $output);
public function setInput(Input $input);
}