移除日志输出

pull/590/head
lyswhut 2021-06-16 16:24:39 +08:00
parent 198238d4b5
commit 0fa32f976c
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ const request = (url, options, callback) => {
options.json = false
}
options.response_timeout = options.timeout
console.log(options)
return needle.request(options.method || 'get', url, data, options, (err, resp, body) => {
if (!err) {
body = resp.body = resp.raw.toString()