var data = {"sortOrder":"asc","pageSize":10,"pageNumber":1,"acls": [{"resourceSn":"bbbb"},{"resourceSn":"aaaa"}]}
$.post('../../sys/role/awardAclToRole?_=' + $.now(), JSON.stringify(data),function(r){
var code = r.code;
var data = r.data;
alert(r.code);
});
后台接收的方法是
@At("/awardAclToRole")
@Ok("json")
public Object awardAclToRole(@Param("..") NutMap params){