一、表单提交
//无参数
<form action
="{:url('Index/index/edit')}" type
="post">
二、a标签链接
// 控制器中传过来的参数
<a href
="{:url('Date/index/index'), ['id' => $item['id']}">
三、js中的location跳转
// js中的变量参数
data
= 'aaaa';
url
= "{:url("Index/index/edit
")}" +
"?param=" + data
;
location.href
= url
;
转载请注明原文地址: https://mac.8miu.com/read-500075.html