移除日志输出
parent
198238d4b5
commit
0fa32f976c
|
@ -21,7 +21,7 @@ const request = (url, options, callback) => {
|
||||||
options.json = false
|
options.json = false
|
||||||
}
|
}
|
||||||
options.response_timeout = options.timeout
|
options.response_timeout = options.timeout
|
||||||
console.log(options)
|
|
||||||
return needle.request(options.method || 'get', url, data, options, (err, resp, body) => {
|
return needle.request(options.method || 'get', url, data, options, (err, resp, body) => {
|
||||||
if (!err) {
|
if (!err) {
|
||||||
body = resp.body = resp.raw.toString()
|
body = resp.body = resp.raw.toString()
|
||||||
|
|
Loading…
Reference in New Issue