This commit is contained in:
Your Name
2026-08-05 14:37:29 +08:00
parent dd28bba354
commit 2c0b9c5afa
2 changed files with 8 additions and 3 deletions
@@ -25,6 +25,9 @@ use think\Exception;
*/
class ControllerExtendException extends Exception
{
/** PHP 8.2 不再允许通过赋值隐式创建动态属性。 */
protected string $model = '';
/**
* 构造方法
* @access public
@@ -37,4 +40,4 @@ class ControllerExtendException extends Exception
$this->message = '控制器需要继承模块的基础控制器:' . $message;
$this->model = $model;
}
}
}