其余文件
This commit is contained in:
22
app/admin/controller/Dispatch.php
Normal file
22
app/admin/controller/Dispatch.php
Normal file
@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
|
||||
namespace app\admin\controller;
|
||||
|
||||
|
||||
use think\facade\View;
|
||||
|
||||
class Dispatch
|
||||
{
|
||||
/**
|
||||
* @Notes: 错误提示
|
||||
* @Author: 张无忌
|
||||
* @param $msg
|
||||
* @return \think\response\View
|
||||
*/
|
||||
public static function dispatch_error($msg)
|
||||
{
|
||||
View::assign('msg', $msg);
|
||||
return view('dispatch_error');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user