【发布时间】:2015-03-02 10:08:45
【问题描述】:
这是我的自定义模块网址http://192.168.1.18/upload/index.php/capsync/
我想从控制器apiaction 调用下一个操作:
http://192.168.1.18/upload/index.php/capsync/index/api
但删除网址中的index:
http://192.168.1.18/upload/index.php/capsync/api
我的 config.xml 页面
<rewrite>
<Livelids_Capsync>
<from><![CDATA[#^capsync/index/api/#]]></from>
<to><![CDATA[api]]></to>
<complete>1</complete>
</Livelids_Capsync>
</rewrite>
【问题讨论】:
-
你好。清晰的前后和正确的格式有助于了解您的需求。