WingsMan
- WingsMan 2015-07-14 已签到连续签到1天,获得了5个金钱
<a href="/product.html?id=<?php echo $row['product_id'];?>" target="_blank"><?php echo GlobalFunc::globalSubstr($row['name'],10);?></a>
代码在回复里看不到,
'rules'=>array( 'sites'=>'site/index', ),
这一句是必须得么?
@╃巡洋艦㊣ 我设置了这一条以后,会我请求moduleID/controllerID/actionID这样的路由的actionID后面加".html",但是我在视图里有写了/controllerID/actionID.html的链接却出现不能访问的提示,这个又是因为什么?提示是:Unable to resolve the request "order/index.html".这个异常是有YiiBase、CWebApplication等一些框架里的代码抛出来的。