摘要:
const fs = require('fs'); const request = require("request") const progress = require('progress-stream') const https = require("https") const http = r 阅读全文
摘要:
推荐使用access fs.access(filePath, fs.constants.F_OK, (err: any) => { if (err) { // 文件存在时err = false;文件不存在时err = true resolve(false); } else { resolve(tru 阅读全文