<?php
/**
 * ===========================================================================
 * Veitool 快捷开发框架系统
 * Author: Niaho 26843818@qq.com
 * Copyright (c)2019-2025 www.veitool.com All rights reserved.
 * Licensed: 这不是一个自由软件，不允许对程序代码以任何形式任何目的的再发行
 * ---------------------------------------------------------------------------
 */
namespace app\api\controller;

use think\Response;
use think\exception\HttpResponseException;

/**
 * 控制器抽象基类
 */
class Error
{
    /**
     * 空方法
     */ 
    public function __call($method, $args){
        halt(1);
        $re = Response::create(app()->getRootPath().'app/v_msg.tpl','view')->assign(['msg'=>'Controller does not exist!','site'=>vconfig('site_title')])->header();
        throw new HttpResponseException($re);
    }

}