namespace app\index\controller;
use think\Controller;
use think\Request;
class IndexController extends Controller
{
function index2(Request $request, $id = 0){
print_r($request->param());
echo $id;
}
}
TP 方法中包含Request参数的用法
最新推荐文章于 2023-09-22 09:03:32 发布