代码
<?php
namespace appcontroller;
use appRequest;
use thinkacadeRequest as BaseRequest;
class Learm
{
public function index(Request $request)
{
dump($request->param('abc'));
dump(input('abc'));
dump(
equest()->param('abc'));
dd(BaseRequest::param('abc'));
}
}
课程效果
"1"
我的输出结果
^ "1"