diff --git a/nolinoli.xmind b/nolinoli.xmind index ebe6cb5..4d9a855 100644 Binary files a/nolinoli.xmind and b/nolinoli.xmind differ diff --git a/util/BtDonwold.js b/util/BtDonwold.js index e3b4823..d10038a 100644 --- a/util/BtDonwold.js +++ b/util/BtDonwold.js @@ -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: {