会出错
但是呢
http://www.youyoufish.com/cha/%E5%8E%86%E5%8F%B2.html
就不会出错
我测了,关键字中含有情字。都会无法执行到TP中
以下是部分路由定义
Route::pattern([
'id' => '\d+',
'cid' => '\d+',
//'keywords' => '\w+',
]);
return [
'xz/:id' => ['zhongzi/resource/content', ['method' => 'get']],
'cha/:keywords' => ['zhongzi/resource/search', ['method' => 'get']],
最佳答案