接口方法

Index > PlatformAccountRoleService > insertByAccountIdAndResourceAndRoleKey

说明:

InterfaceName: PlatformAccountRoleService

MethodName: insertByAccountIdAndResourceAndRoleKey

ReturnType: Integer

_app_key [?] 必须
_app_secret 必须
_token 非必须

parameters :

accountType 参数0 可选 String
accountId 参数1 可选 Integer
resourceType 参数2 可选 String
resourceId 参数3 可选 Integer
roleKey 参数4 可选 String




JavaScript Sdk 调用示例 下载JavaScript Sdk
    sdk.PlatformAccountRoleService().insertByAccountIdAndResourceAndRoleKey({
        accountType:"" , 
        accountId:"" , 
        resourceType:"" , 
        resourceId:"" , 
        roleKey:"" 
    }).then(function(result) {
            alert("success");
        }
    );