Commit a6784398 by 冷斌

小站同步

parent e957ad74
......@@ -8,11 +8,11 @@
// 'WEBADDRESS': 'http://mengyazhibo.com/api/public/'
// }
module.exports = {
'REDISHOST' : '127.0.0.1',
'REDISHOST' : 'redis',
'REDISPASS' : '',
'REDISPORT' : '6379',
'TOKEN' : '1234567',
'sign_key' : '76576076c1f5f657b634e966c8836a06',
'socket_port': '9091',
'WEBADDRESS': 'http://mengyazhibo.com/api/public/'
}
\ No newline at end of file
'WEBADDRESS': 'http://www.seals-live.com/api/public/'
}
var site='http://mengyazhibo.com';
var site='http://www.seals-live.com';
var schedule = require("node-schedule");
var request = require('request');
......@@ -49,13 +49,13 @@ function setVal(lastid){
if(body!='NO'){
var strs=[];
strs=body.split("-");
// console.log(strs);
if(strs[0]=='OK' && strs[1]!='0'){
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