Browse Source

(*)项目数据配置修改

master
peng.peng 2 years ago
parent
commit
2a5be32fcf
  1. 2
      api/app/lib/controllers/homepage/index.js

2
api/app/lib/controllers/homepage/index.js

@ -213,7 +213,7 @@ function getAccessData(opts) {
return async function (ctx, next) {
const models = ctx.fs.dc.models;
try {
const projects = '1,2,3,4,5,6,7,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38'
const projects = '2,35,37,45,70,111,170,187,210,275,276,279'
const url = 'https://statistics.anxinyun.cn/statistic?projects=' + projects
let res = await request.get(url)
ctx.status = 200;

Loading…
Cancel
Save