增加空操作——找不到处理方法时友好提示

pull/101/head
PPPSCN 2019-03-01 22:54:18 +08:00
parent d2e55530cb
commit 73770e1b4a
1 changed files with 9 additions and 0 deletions

View File

@ -12,6 +12,15 @@ use think\Exception;
trait Backend
{
/**
* 空操作
* @internal
*/
public function _empty()
{
$this->error(__('An unexpected error occurred'));
}
/**
* 排除前台提交过来的字段
* @param $params