一、准备工作
1、安装DocSys
具体详见:DocSys安装说明
2、安装OnlyOffice DocumentServer
具体详见:OnlyOffice DocumentServer安装说明
二、Office在线编辑设置
登录管理后台,设置OfficeEditor:
http://localhost:80/web-apps/apps/api/documents/api.js
注意:
- DocSys和DocumentServer必须能够互相访问
- 如果DocumentServer和DocSys没有安装在同一个服务器,localhost需要改成DocumentServer的IP地址
- DocumentServer默认端口号是80,如果安装时做过修改需要设置为对应的端口