ajax传参数
$.ajax({
headers: {'token': },
url:,
type: 'post',
data:"roleId="+id,//一个值
data:"roleId="+id+"&menuIds="+mId,//多个值
//获取序列化表单等等各种方式~~
data: {"ids":arrId,"folderId":aa},//arrId为数组 aa为字符串
traditional: true, //当传值为数组时 这个值一定要为true!!!!
dataType: 'json',
success: function (obj) {
}
});