报错类“think\Facade\Request”未找到
namespace app\index\controller;
use app\common\controller\Base;
use app\common\model\Article;
use app\common\model\Cate;
use think\Facade\Request;
##$cateId = Request::param ('cate_id');
// dump($cateId);die;
if(isset($cateId)){
$res = Cate::get ($cateId);
# $this ->查看->分配('cateName',$res->name);
}
报错:找不到Class 'think\Facade\Request'
Class 'think\Facade \Request' 未找到
类 'think\Facade\Request' 未找到
类 'think\Facade\Request' 未找到
2234 天前2683