Commit 15641d71 by 冷斌

debug

parent f49f1660
var site='http://47.108.74.79'; var site='http://www.xiaozhanzhibo.cn';
var schedule = require("node-schedule"); var schedule = require("node-schedule");
var request = require('request'); var request = require('request');
...@@ -49,13 +49,13 @@ function setVal(lastid){ ...@@ -49,13 +49,13 @@ function setVal(lastid){
if(body!='NO'){ if(body!='NO'){
var strs=[]; var strs=[];
strs=body.split("-"); strs=body.split("-");
// console.log(strs); // console.log(strs);
if(strs[0]=='OK' && strs[1]!='0'){ if(strs[0]=='OK' && strs[1]!='0'){
setVal(strs[1]); setVal(strs[1]);
} }
} }
}); });
} }
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