sdk.PlatformPermissionService().listByRoleName({ roleName:"" }).then(function(result) { alert("success"); } );