shopxo/app/api/controller/Error.php

40 lines
1.2 KiB
PHP
Raw Normal View History

2018-12-28 18:58:37 +08:00
<?php
// +----------------------------------------------------------------------
// | ShopXO 国内领先企业级B2C免费开源电商系统
// +----------------------------------------------------------------------
2021-03-16 10:34:52 +08:00
// | Copyright (c) 2011~2099 http://shopxo.net All rights reserved.
2018-12-28 18:58:37 +08:00
// +----------------------------------------------------------------------
2021-03-16 10:34:52 +08:00
// | Licensed ( https://opensource.org/licenses/mit-license.php )
2018-12-28 18:58:37 +08:00
// +----------------------------------------------------------------------
// | Author: Devil
// +----------------------------------------------------------------------
2021-07-18 23:42:10 +08:00
namespace app\api\controller;
2018-12-28 18:58:37 +08:00
2021-07-20 23:45:54 +08:00
use app\service\ApiService;
2018-12-28 18:58:37 +08:00
/**
* 空控制器响应
* @author Devil
* @blog http://gong.gg/
* @version 1.0.0
* @date 2018-11-30
* @desc description
*/
class Error extends Common
{
/**
* 空控制器响应
* @author Devil
* @blog http://gong.gg/
* @version 1.0.0
* @date 2018-11-30
* @desc description
2021-07-18 23:42:10 +08:00
* @param [string] $method [方法名称]
* @param [array] $args [参数]
2018-12-28 18:58:37 +08:00
*/
2021-07-18 23:42:10 +08:00
public function __call($method, $args)
2018-12-28 18:58:37 +08:00
{
2021-07-20 23:45:54 +08:00
return ApiService::ApiDataReturn(DataReturn(RequestController().' 控制器不存在', -1000));
2018-12-28 18:58:37 +08:00
}
}
?>