Browse Source

测试环境参数

dev
CODE 1 year ago
parent
commit
34c1ad9576
  1. 64
      api/.vscode/launch.json
  2. 4
      api/app/lib/controllers/control/toolLink.js
  3. 2
      api/app/lib/controllers/project/group.js

64
api/.vscode/launch.json

@ -16,22 +16,30 @@
"-p 4600",
"-f http://localhost:4600",
//
"-g postgres://postgres:123@10.8.30.32:5432/orational_service",
// "-g postgres://postgres:123@10.8.30.32:5432/orational_service",
// "-g postgres://postgres:123@10.8.30.166:5432/POMS_2306",
// "-g postgres://postgres:123@10.8.30.32:5432/poms1",
//
// "-g postgres://FashionAdmin:123456@10.8.30.156:5432/POMS",
"-g postgres://FashionAdmin:123456@10.8.30.166:5432/POMS",
"-k 10.8.30.72:29092,10.8.30.73:29092,10.8.30.74:29092",
"-e http://10.8.30.60:9200",
// "-e http://10.8.30.60:5601",
"--iotaProxy http://10.8.30.157:17007",
//
"--redisHost localhost",
"--redisPort 6379",
//
// "--redisHost https://redistest.anxinyun.cn",
// "--redisPort 6378",
//
"--apMergeDeVeAnxinProjectId 1,2,3",
"--axyApiUrl http://127.0.0.1:4100",
//
// "--apiEmisUrl http://10.8.30.161:1111",
// "--apiEmisUrl http://10.8.30.161:31111/",
"--apiEmisUrl http://localhost:14000",
"--apiEmisUrl https://pepca-demo.anxinyun.cn/_api",
// "--apiEmisUrl http://localhost:14000",
"--apiVcmpUrl http://localhost:4000",
"--apiIotAuth http://localhost:4200",
"--godUrl https://restapi.amap.com/v3",
@ -44,8 +52,8 @@
// "--qndmn http://resources.anxinyun.cn",
// "--qndmn http://rhvqdivo5.hn-bkt.clouddn.com",
// click
// "--clickHouseUrl http://10.8.30.95",
// "--clickHousePort 30123",
"--clickHouseUrl http://10.8.30.95",
"--clickHousePort 30123",
// click
// "--clickHouseUrl http://10.8.30.161",
// "--clickHousePort 30123",
@ -59,20 +67,20 @@
//
//
// click
"--clickHouseUrl http://218.3.126.49",
"--clickHousePort 18123",
"--clickHouseUser default",
"--clickHousePassword Wbo@hi1I",
"--clickHouseAnxincloud anxinyun",
"--clickHousePepEmis pepca",
"--clickHouseProjectManage peppm",
"--clickHouseVcmp video_access_dev",
"--clickHouseDataAlarm alarm",
"--clickHouseIot iota",
"--clickHouseCamworkflow camworkflow",
"--confirmAlarmAnxinUserId 1",
"--vcmpAppId 5048b08d-c449-4d7f-b1ec-f741012aefe8",
"--vcmpAppSecret 5ba8c0ab-9fbd-4f07-9817-c48017c3cbad",
// "--clickHouseUrl http://218.3.126.49",
// "--clickHousePort 18123",
// "--clickHouseUser default",
// "--clickHousePassword Wbo@hi1I",
// "--clickHouseAnxincloud anxinyun",
// "--clickHousePepEmis pepca",
// "--clickHouseProjectManage peppm",
// "--clickHouseVcmp video_access_dev",
// "--clickHouseDataAlarm alarm",
// "--clickHouseIot default",
// "--clickHouseCamworkflow camworkflow",
// "--confirmAlarmAnxinUserId 1",
// "--vcmpAppId 5048b08d-c449-4d7f-b1ec-f741012aefe8",
// "--vcmpAppSecret 5ba8c0ab-9fbd-4f07-9817-c48017c3cbad",
//
//
// * 2
@ -86,16 +94,16 @@
// "--clickHouseDataAlarm default",
// "--clickHouseIot iot",
//
// "--clickHouseAnxincloud anxinyun",
// "--clickHousePepEmis pepca",
// "--clickHouseProjectManage peppm",
// "--clickHouseVcmp video_access_dev",
// "--clickHouseDataAlarm default",
// "--clickHouseIot iota",
// "--clickHouseCamworkflow camworkflow",
// "--confirmAlarmAnxinUserId 1",
// "--vcmpAppId 5048b08d-c449-4d7f-b1ec-f741012aefe8",
// "--vcmpAppSecret 5ba8c0ab-9fbd-4f07-9817-c48017c3cbad",
"--clickHouseAnxincloud anxinyun88",
"--clickHousePepEmis pepca8",
"--clickHouseProjectManage peppm8",
"--clickHouseVcmp video_access_dev",
"--clickHouseDataAlarm alarm",
"--clickHouseIot iota",
"--clickHouseCamworkflow camworkflow",
"--confirmAlarmAnxinUserId 1",
"--vcmpAppId 5048b08d-c449-4d7f-b1ec-f741012aefe8",
"--vcmpAppSecret 5ba8c0ab-9fbd-4f07-9817-c48017c3cbad",
]
},
{

4
api/app/lib/controllers/control/toolLink.js

@ -226,7 +226,6 @@ async function count (ctx) {
let dataAfter = new moment(); //验证后时间
let dataduration = moment.duration(dataAfter.diff(dataFront))._data.milliseconds
console.log('数据', dataduration);
let yingyongFront = new moment(); //验证前时间
@ -248,7 +247,6 @@ async function count (ctx) {
let yingyongAfter = new moment(); //验证后时间
let yingyongduration = moment.duration(yingyongAfter.diff(yingyongFront))._data.milliseconds
console.log('应用', yingyongduration);
let videoFront = new moment(); //验证前时间
@ -362,8 +360,6 @@ async function count (ctx) {
let videoAfter = new moment(); //验证后时间
let videoduration = moment.duration(videoAfter.diff(videoFront))._data.milliseconds
console.log('视频', videoduration);
let findOptions = {
where: {

2
api/app/lib/controllers/project/group.js

@ -223,7 +223,7 @@ async function groupStatistic (ctx) {
group by StructureId
`
).toPromise() : []
// console.log('',)
let rslt = []
for (let pg of progectGroupList) {
let strucCount = 0

Loading…
Cancel
Save