本文最后更新于 1672 天前,其中的信息可能已经有所发展或是发生改变。
root权限修改文件
修改 /opt/cxoffice/lib/python/demoutils.py这个文件
- 将第
250行修改为如下:
request = urllib_request.Request(URL, request_body.encode("utf-8"), header)
- 将第
253行修改如下:
responseBuffer = response.read().decode("utf-8")