格式为
U('地址','参数','伪静态','是否跳转','显示域名');
基本用法
U('User/add')//生成user模块的add操作地址
U('Home/User/add')//生成Home分组的。。。
U('add')//生成当前模块的
U('Blog/read?id=1')//生成Blog模块的read操作并且ID为1的URL地址
U方法的第二个参数支持传入参数,支持字符和数组两种形式,以下的几种方法是等效的
U('Blog/cate',array('id'=>1,'status'=>1))
U('Blog/cate','id=1&status=1')
U('Blog/cate?id=1&status=1')