Shuo.Wu
Shuo.Wu
直接调用青龙API接口,操作变量,如: --获取Token-- const axios = require('axios'); class QinglongAuth { constructor(panelAddress, clientId, clientSecret) { this.panelAddress = panelAddress; this.clientId = clientId; this.clientSecret = clientSecret; } async getToken() { const getTokenUrl = `http://${this.panelAddress}/open/auth/token`;...
再不行你写出到JSON到本地不就完了。。。。
我现在使用倒是也能正常用,我会使用自身的定时任务调用自身的API去更新环境变量到系统内,使用黑白名单依赖等去做拉库筛选,最然某些地方绕圈子,起码到现在没出现过问题。  