sdk.RolePermissionApi().updateIgnoreNull({ rolePermission:{} // RolePermission 对象 }).then(function(result) { alert("success"); } );