规则
'/^product\/detail-(\d+)$/' => 'Product/index?id=:1',
http://www.a.com/product/detail-1000.html (出错)
规则
'/^product\/detail_(\d+)$/' => 'Product/index?id=:1',
http://www.a.com/product/detail_1000.html (可以访问)
如果要用中横线可以吗?很奇怪的是只要不是detail就可以用中横线?请教各位这是什么原因?