本项目为阿里云盘上传工具的宝塔插件
可以将服务器内的文件快速上传到阿里云盘
yum install -y wget && wget -O install.sh https://raw.githubusercontent.com/aoaostar/aliyundrive_uploader_for_baota/master/install.sh && sh install.sh install
wget -O install.sh https://raw.githubusercontent.com/aoaostar/aliyundrive_uploader_for_baota/master/install.sh && sh install.sh install
wget -O install.sh https://raw.githubusercontent.com/aoaostar/aliyundrive_uploader_for_baota/master/install.sh && sh install.sh update
- 控制台快速获取代码
var data = JSON.parse(localStorage.getItem('token'));
console.log(`refresh_token => ${data.refresh_token}
default_drive_id => ${data.default_drive_id}
`);
使用宝塔插件需要将上传工具config.json
里的RESIDENT
值改成true
,即启用常驻运行,以常驻运行