config()函数获取配置参数为空
来源:3-5 后台登录功能开发(下)

彭睿
2018-02-11
if (!$user || $user->status != config('code.status_normal')){
$this->error('用户不存在!');
}
这里调用的时候需要use吗
写回答
1回答
-
singwa
2018-02-22
不需要
00
相似问题
config()函数获取配置参数为空
来源:3-5 后台登录功能开发(下)
彭睿
2018-02-11
if (!$user || $user->status != config('code.status_normal')){
$this->error('用户不存在!');
}
这里调用的时候需要use吗
1回答
singwa
2018-02-22
不需要
相似问题