|
|
@ -156,6 +156,7 @@ function getClusterInfo(opts) { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
//获取restful统计信息
|
|
|
|
function getRestfulInfo(opts) { |
|
|
|
return async function (ctx, next) { |
|
|
|
const models = ctx.fs.dc.models; |
|
|
@ -209,9 +210,9 @@ function getRestfulInfo(opts) { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
//获取接入数据统计
|
|
|
|
function getAccessData(opts) { |
|
|
|
return async function (ctx, next) { |
|
|
|
const models = ctx.fs.dc.models; |
|
|
|
try { |
|
|
|
const projects = '2,35,37,45,70,111,170,187,210,275,276,279' |
|
|
|
const url = 'https://statistics.anxinyun.cn/statistic?projects=' + projects |
|
|
|