catchAdmin/app/Request.php
2019-12-12 18:52:11 +08:00

15 lines
184 B
PHP

<?php
namespace app;
// 应用请求对象类
use catchAdmin\user\Auth;
class Request extends \think\Request
{
public function user()
{
return Auth::user();
}
}