Commit 1d998642 by trace

去掉贷超监控, 修改 title

parent 93256434
let version = '1.2'
let version = '1.0'
let release = `<div><br/>
<br/>1. <br/>
限制排名获取的监控数量, 减少监控总数量, 加快循环时间<br/>
从 Top 表单里获取的 APP 不在累积监控名单, 只监控获取当次的 APP. <br/>
监控数量控制在: (贷超 APP 数) + (OurApp 数) + Top表单(国家 * 类型 * Top获取数量[如获取 Top100, 就是100]) <br/>
单独监控菲律宾<br/>
<div/>
<br/>
<br/>
......@@ -26,7 +24,7 @@ var util = require('util')
var getPromiss = util.promisify(request.get)
// 地址
let subApi = "https://git.starwin.tech/nongyingchen/AppMonitorSubscriber/raw/master/subscriber.json"
let subApi = "https://git.starwin.tech/nongyingchen/AppMonitorSubscriber/raw/philipines/subscriber.json"
log(`当前奔跑在:${username}`)
let ding = 'https://oapi.dingtalk.com/robot/send?access_token='
let debugDingding = `${ding}bf03c69128b771107b8715911b8a76db61a55cbd8b00e1a2c955578c2a3da719`
......@@ -58,7 +56,7 @@ let daichaoNotifyEmail = []
// 外部通知客户
let outsideNotifier = {}
let crabName = `东南亚现金贷App监控${isTest() && '(Test)' || ''}`
let crabName = `菲律宾App监控${isTest() && '(Test)' || ''}`
let monitorRegion = { 'vn': '越南', 'ph': '菲律宾', 'id': '印尼' }
let monitorType = { 'FINANCE': '财务' }
let statusFile = `${process.cwd()}/status.json`
......@@ -181,7 +179,7 @@ async function startMonitor() {
newDeploy = false
}
})
.then(getDaichao)
// .then(getDaichao) 不需要再监控贷超
.then(getTop100)
.then(() => fs.writeFileSync(monitorApps, JSON.stringify(monitorNames))) // 保存到本地
.then(() => { // 动态修改间隔得值
......
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