首页  >  问答  >  正文

thinkphp5 url 问题

先有一个问题 thinkphp5 url美化的问题,我设置配置文件'url_param_type'=> 1, 生成的路由为http://www.art-school.com/about/index/1.html     重新定义路由规则 'about/index/[:pid]' => ['index/about/index', ['method' => 'get'], ['pid' => '\d{4}']],  但是在方法里打印接收的get值却为空 这是什么原因  如果能打印到get值

太子太子2175 天前969

全部回复(0)我来回复

暂无回复
  • 取消回复