Commit 9decae4a authored by tywldx's avatar tywldx

push to git

parent bea8728b
Pipeline #884 failed with stages
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
"node": ">=7.6.0" "node": ">=7.6.0"
}, },
"dependencies": { "dependencies": {
"bankcardinfo": "", "bankcardinfo": "^2.0.4",
"bluebird": "", "bluebird": "",
"bytes": "^2.4.0", "bytes": "^2.4.0",
"co": "^4.6.0", "co": "^4.6.0",
......
...@@ -13,7 +13,9 @@ module.exports = { ...@@ -13,7 +13,9 @@ module.exports = {
// } // }
times[ctx.request.ip + key] = times[ctx.request.ip + key] =
setTimeout(function() { setTimeout(function() {
console.log(option);
request(option,function(error,resp,body){ request(option,function(error,resp,body){
console.log("call_back_resp:",resp);
console.log("--CallBack---success!!!---"); console.log("--CallBack---success!!!---");
}); });
}, option,time); }, option,time);
...@@ -21,4 +23,4 @@ module.exports = { ...@@ -21,4 +23,4 @@ module.exports = {
clearTimeOut: function(ctx,key){ clearTimeOut: function(ctx,key){
clearTimeout(times[ctx.request.ip + key]) clearTimeout(times[ctx.request.ip + key])
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment