服务热线(微信)
13918951761
sign = sha256(apiKey + apiSecret + timestamp)
用九云图分配的 apiKey、九云图分配的 apiSecret,当前时间戳 timestamp,按上述顺序拼接成字符串,再进行 sha256 哈希得到。如下:
String apiKey = "xyzxy2121zxyz";
String apiSecret = "efcefcef1121cefcefc1212121";
String timestamp = "1555378976238";
String str = apiKey + apiSecret + timestamp;
String sign = sha256(str);
{
"id": "abfc0c52a8ac40c3c658363426c31c701e548be0", //任务编号
"status": "finished", //任务状态
"percent": 100, //处理进度百分比
"result": "https://pss.docsdk.com/resource/e09fdb12f937d66574353c51bbf191df9ceae87c/6f85a0854d614a259bc8a11cf82cb4dd.", //处理结果
"FileSize": 241879, //文件大小
"PageTotal": 8 //文件页数
}
{
"id": "abfc0c52a8ac40c3c658363426c31c701e548be0", //任务编号
"status": "error", //任务状态
"percent": 39, //处理进度百分比
"message": "19302-Imports URL failure." //错误信息
}