sdk.RoleApi().listPlatformRole({ appKey:"" , offset:"" , limit:"" }).then(function(result) { alert("success"); } );