Fx.netdisk

Fx.netdisk:网盘

1. 导出网盘npath

Fx.netdisk.exportNpathByFolderId(<String nodeCategory>, <List folderIDs>, <Integer userId>)

参数说明

参数 类型 说明
nodeCategory String 文件夹类型(公司:Company 个人:Personal 共享 :Shared)
folderIDs List 文件夹id
userId Integer 人员id,文件的归属人

返回值类型

APIResult

返回值说明

Map

Java举例

List<String>list = Lists.newArrayList("476d9244b9304c8abfde59d0f8274933","903d7c1172e24d4198136ebfada198a1", 1000);
APIResult ret = Fx.netdisk.exportNpathByFolderId("Company", list);
if (ret.isError()) {
    log.info("error :"+ ret.message());
} else {
    log.info(ret.getData());
}

Groovy举例

def (Boolean error, Map data, String message) = Fx.netdisk.exportNpathByFolderId("Company", ["476d9244b9304c8abfde59d0f8274933","903d7c1172e24d4198136ebfada198a1"], 1000)
if (error) {
  log.info("error :" + message)
} else {
  log.info(data['fileMessageInfos'])
}

results matching ""

    No results matching ""