tp5 redirect 方法无法传递参数

浏览:10569 发布日期:2017/06/15 分类:ThinkPHP5专区 关键字: tp5 redirect
使用Controller的redirect 方法跳转页面,参数无法传递。
代码类似如下:
class Seller extends Controller {
public function index() {
$this->redirect("/mobile/goods/detail",["seller_id"=>128,"shop_id"=>256]);
}
}

跳转后的Controller无法获取任何参数。

有谁遇到同样问题了吗,可以给个参考吗?
最佳答案
评论( 相关
后面还有条评论,点击查看>>