来源:https://hostloc.com/thread-745894-1-1.html 前端:https://github.com/moeYuiYui/Cloudreve-frontend 后端:https://github.com/moeYuiYui/Cloudreve 编译参考作者文档,需要将前端克隆到后端的assets文件夹里。 编译好的支持sharepoint的程序: https://github.com/moeYuiYui/Cloudreve/releases/download/3.1.1/cloudreve_sp_3.1.1_linux_amd64.tar.gz https://github.com/moeYuiYui/Cloudreve/releases/download/3.1.1/cloudreve_sp_3.1.1_windows_amd64.zip https://cloudmjj.xyz/#/s/l5Ug 先正常搭建Cloudreve,搭建cloudreve的教程我就省略了。 需要教程的话:https://docs.cloudreve.org/ 这里有作者详细的搭建教程 首先需要获取你sharepoint网站的siteid,比较方便的是搭建一次onemanage,或者搭建oneindex-j获取。 这里推荐onemanage,用onemanage添加sharepoint之后,在onemanage网站根目录的config.php里就有你的siteid。 搭建好后去后台存储策略添加onedrive。(如果是TJ需要空全局或者有能进AAD注册应用的子号) 授权完毕后,修改已经添加好的策略把Server连接最后/v1.0/me改为/v1.0/sites/{siteid} 注意最后没有斜杠 改好后 SJHL应该是这样 "https://microsoftgraph.chinacloudapi.cn/v1.0/sites/{siteid}" 国际版是这样的 "https://graph.microsoft.com/v1.0/sites/{siteid}" {siteid}替换为自己的siteid siteid 是这样的一整串 "m...