Browse Source

Error: Syntax error debug

dev
CODE 1 year ago
parent
commit
51c1c17d47
  1. 5
      api/app/lib/schedule/alarms_push.js
  2. 2
      api/app/lib/service/clickHouseClient.js

5
api/app/lib/schedule/alarms_push.js

@ -1526,10 +1526,7 @@ module.exports = function (app, opts) {
`).toPromise()
}
if (proDebug) {
console.log(`相关设备及测点信息:`);
// console.log(deviceSensorRes);
}
let alarmTitle = dataAlarmTitle.concat(
videoAlarmTitle.slice(2).map(v => {
return {

2
api/app/lib/service/clickHouseClient.js

@ -11,7 +11,7 @@ function factory (app, opts) {
app.fs.clickHouse[d.name] = new ClickHouse({
url: url,
port: port,
debug: opts.dev,
debug: true || opts.dev,
format: "json",
basicAuth: user && password ? {
username: user,

Loading…
Cancel
Save