一款基于github仓库实现附件储存的typecho插件
插件逻辑整体调整 授权服务器最近会上去
PHP Version:8.0 及其以上
PHP Http Support:Curl or Socket
1.下载插件
2.解压到插件目录,将插件文件夹更名GithubFile
3.启用插件,到设置面板获取Token
4.填入其它插件设置
5.开启伪静态(未开启可导致授权失败)
6.上传附件即可使用插件
1.下载Auth.php
2.放置到网站主目录
3.申请github oauth 获取client_id client_secret
4.打开Auth.php修改相应参数 (https_open 在https可开启)
5.到插件设置修改插件的授权服务器
切换GithubAPI为 https://v2.kkpp.cc/
该Api已经失效(使用第三方Api请注意Api安全)
1.开启调试模式
2.执行错误操作
3.打开日志记录面板下载日志
快进来玩 QGroup 加入群聊【雪风的茶楼】
By Mail : [email protected]
By QQ : 946735494
本插件通过第三方Oauth如果你对此方法介意
- 可以获取官方personsal key填入token
- 搭建自己的授权服务器