trim() expects parameter 1 to be string, null given关于路由中间件与登录-对“session('?admin')”的理解'name' => 'unique:user'tp6报错:Trying to access array offset on value of type null$request->domain() 获取URL信息tp6 设置任何全局过滤规则(trim去掉input两端空格)