fix xmind

This commit is contained in:
2021-11-07 22:11:33 +08:00
parent 8829f1c938
commit c524d9754d
2 changed files with 3 additions and 0 deletions

Binary file not shown.

View File

@@ -13,6 +13,9 @@ class BtDonwold {
this.baseURL = `http://${this.ip}:${this.port}`
// this.getTokne()
}
/**
* 失效函数
*/
async getTokne() {
axios.post(`/transmission/rpc`, { "method": "torrent-get", "arguments": { "fields": ["id", "error", "errorString", "eta", "isFinished", "isStalled", "leftUntilDone", "metadataPercentComplete", "peersConnected", "peersGettingFromUs", "peersSendingToUs", "percentDone", "queuePosition", "rateDownload", "rateUpload", "recheckProgress", "seedRatioMode", "seedRatioLimit", "sizeWhenDone", "status", "trackers", "downloadDir", "uploadedEver", "uploadRatio", "webseedsSendingToUs"], "ids": "recently-active" } }, {
headers: {