测试 log
Some checks are pending
Build Docker / build (push) Waiting to run

This commit is contained in:
haomingming 2026-07-31 13:34:04 +08:00
parent ca120cfdc2
commit 0c5c6e68c2
2 changed files with 6 additions and 0 deletions

View File

@ -89,6 +89,11 @@ class TestController extends AbstractController
// 疾病名称
protected string $icd_name;
public function testError()
{
throw new BusinessException("测试Docker日志报错这是一个测试异常");
}
public function test(){
// $this->test_8();
// $this->test_3();

View File

@ -912,6 +912,7 @@ Router::addGroup('/case', function () {
// 测试使用
Router::addGroup('/test', function () {
Router::get('', [TestController::class, 'test']);
Router::get('/error', [TestController::class, 'testError']);
// 获取未接诊的医生
Router::get('/uninquiry', [TestController::class, 'uninquiry']);