文档中心 cloud2 开发 接口

计算文件md5

接口发布于 2018-07-03更新于 2026-07-01 14:08

方法名称:check_file

json参数:id,pathLoc

 

示例代码(JavaScript)

, checkFile: function (f)

{

    var param = { name: "check_file", config: this.Config };

    jQuery.extend(param, f);

    this.postMessage(param);

}

 

示例代码(C#)

static void check_file_test()

{

    HttpUploaderAppLib.HttpPartitionClass part = new HttpUploaderAppLib.HttpPartitionClass();

    JObject o = new JObject();

    o["name"] = "check_file";

    o["id"] = "";

    o["pathLoc"] = "";

 

    part.postMessage(o.ToString());

}