dzzoffice默认的zoho插件是国际版的,速度比较慢。
zoho中国版本API申请地址:zapi.zoho.com.cn
拿到key后,上传zoho插件文件夹到dzz文件夹,
打开dzz/zoho/index.php文件,
将
if(in_array($data['ext'],$docexts)){
$posturl='https://exportwriter.zoho.com/remotedoc.im';
}elseif(in_array($data['ext'],$sheetexts)){
$posturl='https://sheet.zoho.com/remotedoc.im';
}elseif(in_array($data['ext'],$showexts)){
$posturl='https://show.zoho.com/remotedoc.im';
}else{
exit(json_encode(array('error'=>'不支持的格式')));
}
修改为
if(in_array($data['ext'],$docexts)){
$posturl='https://writer.zoho.com.cn/remotedoc.im';
}elseif(in_array($data['ext'],$sheetexts)){
$posturl='https://sheet.zoho.com.cn/remotedoc.im';
}elseif(in_array($data['ext'],$showexts)){
$posturl='https://show.zoho.com.cn/remotedoc.im';
}else{
exit(json_encode(array('error'=>'不支持的格式')));
}