thinkphp5.0跨页传参
2019-09-28 本文已影响0人
_TAPE_
controller:
<?php
namespace app\index\controller;
use think\Controller;
class Detail extends Controller
{
public function detail(){
$title = $_REQUEST['title'];
$this->assign('title',$title);
return $this->fetch();
}
}
view:<p>{$title}</p>