Browse Source

pepPojectIds

dev
巴林闲侠 2 years ago
parent
commit
75d7ca64ee
  1. 2
      api/app/lib/controllers/control/data.js
  2. 2
      api/app/lib/service/clickHouseClient.js

2
api/app/lib/controllers/control/data.js

@ -305,7 +305,9 @@ async function getLatestDynamic(ctx) {
//查项目名称 查用户名
let pepPojectIds = new Set(), notedUserIds = new Set();
for (let p of news) {
if(p.projectCorrelation && p.projectCorrelation.pepProjectId){
pepPojectIds.add(p.projectCorrelation.pepProjectId);
}
if (p.emailSendLog) {
p.emailSendLog.toPepUserIds.map(u => {

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: true || opts.dev,
debug: opts.dev,
format: "json",
basicAuth: user && password ? {
username: user,

Loading…
Cancel
Save