Browse Source

更新 'index.js'

Caner 3 years ago
parent
commit
3574380122
1 changed files with 3 additions and 3 deletions
  1. 3 3
      index.js

+ 3 - 3
index.js

@@ -7,15 +7,15 @@ const moment = require('moment')
 const fs = require('fs');
 const os = require('os')
 // 'C://bauer_V2/input_image';
-const username = 'huanghao@zd-junhao.com';
-const password = 'ZJJH7890';
+const username = '*****@zd-junhao.com';
+const password = '*****';
 
 (async () => {
     try {
         let onlyone = 0;
         let timers = 0; //定时器
         let TOKEN = '';
-        let mongo = await MongoClient.connect('mongodb://admin:jhgk2020@a.zd-junhao.com:63443/cutter?authSource=admin', { poolSize: 5 });
+        let mongo = await MongoClient.connect('mongodb://admin:******@a.zd-junhao.com:63443/cutter?authSource=admin', { poolSize: 5 });
         let data2 = await mongo.collection('bauerInfo') // 设备清单库
         let data3 = await mongo.collection('DeviceRealStatus') //单独设备状态
         let page = null;