multi-store/app/common/exception/ControllerExtendException.php

14 lines
316 B
PHP
Raw Normal View History

2024-05-30 21:37:55 +08:00
<?php
namespace app\common\exception;
class ControllerExtendException extends \Exception
{
public function __construct(string $message, string $model = '', array $config = [])
{
$this->message = '控制器需要继承模块的基础控制器:' . $message;
$this->model = $model;
}
}