修改方法:
url = "${ctx}/roleController.do?updateAuthority";
$.post(url,{rolefunctions:node,roleId:roleId},function(result){
if(result.success == true){
hint(result.msg,1,0);
} else {
hint(result.msg,2,0);
}
});
注:参数不要写在url后面,单独拿出来写即可