change base to confirmedCount

master
iotcat 4 years ago
parent fd15b042fa
commit e00b94aef3
  1. 4
      index.js
  2. 2
      uk.js
  3. 2
      xiangyang.js

@ -54,8 +54,8 @@ var get = (o_params)=>{
var info = await getInfo();
//console.log(info);
if(info.updateTime != updateTime){
updateTime = info.updateTime;
if(info.confirmedCount > updateTime){
updateTime = info.confirmedCount;
fs.writeFileSync(fileBck, updateTime);
await push(info);
}

@ -2,7 +2,7 @@ const coro = require('./index.js');
var uk = coro({
province: '英国',
sms: ['18118155257'],
sms: ['18118155257', '15827586269'],
mail: ['i@yimian.xyz', 'hao.zheng17@student.xjtlu.edu.cn', "mingranjia@163.com"]
});

@ -4,6 +4,6 @@ var uk = coro({
province: '湖北省',
city: '襄阳',
mail: ['i@yimian.xyz', 'hao.zheng17@student.xjtlu.edu.cn'],
sms: ['18118155257', '15827586269']
sms: ['15827586269']
});

Loading…
Cancel
Save