Skip to content

Commit 8118e64

Browse files
authored
Update 10010.js
1 parent 7bb676e commit 8118e64

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

‎10010/10010.js‎

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -222,18 +222,19 @@ function init() {
222222
log = (message) => console.log(message)
223223
get = (url, cb) => {
224224
console.log(url)
225+
console.log(url['headers'])
225226
if (url.hasOwnProperty['headers']) {
226227
// delete url['headers']['Content-Length']
227228
// if (url.hasOwnProperty['headers'] && url['headers'].hasOwnProperty('Content-Length'))
228229
console.log("66666666666")
229230
}
230-
if (isSurge()) {
231-
$httpClient.get(url, cb)
232-
}
233-
if (isQuanX()) {
234-
url.method = 'GET'
235-
$task.fetch(url).then((resp) => cb(null, resp, resp.body))
236-
}
231+
// if (isSurge()) {
232+
// $httpClient.get(url, cb)
233+
// }
234+
// if (isQuanX()) {
235+
// url.method = 'GET'
236+
// $task.fetch(url).then((resp) => cb(null, resp, resp.body))
237+
// }
237238
}
238239
post = (url, cb) => {
239240
// if (url.hasOwnProperty['headers'] && url['headers'].hasOwnProperty('Content-Length')) delete url['headers']['Content-Length']

0 commit comments

Comments
 (0)