回复讨论(解决方案)
就是有两个function,一个是function index()另一个是function order(),怎样选择执行哪个
__URL__/order
__URL__/order
这个办法不行,执行不了order方法
是index()方法对应index.html文件,order()方法就要在建个order.html页面。U('Index/order');
不太明白你的意思。可以考虑把方法order()放到方法index()中
就是有两个function,一个是function index()另一个是function order(),怎样选择执行哪个
__URL__/order
__URL__/order
这个办法不行,执行不了order方法
是index()方法对应index.html文件,order()方法就要在建个order.html页面。U('Index/order');
不太明白你的意思。可以考虑把方法order()放到方法index()中