Commit b6c0070f by lixinming

no message

parent 145c528f
.idea
/out
/public
/node_modules
/test
*test*
......
......@@ -88,6 +88,7 @@ function uvDataFormat() {
return {startTime:`${time.getFullYear()}0101`, endTime:`${time.getFullYear()}${month}${day}`};
}
//用户访问量 由于拿不到用户访问量 这里使用百度云的浏览量
export async function getUV() {
const site_id = 17390466;//这里获取的是 玑脉大平台 日活数据
let {startTime, endTime} = uvDataFormat();
......@@ -239,4 +240,5 @@ export async function getRecentlyActivityStats(startTime, endTime) {
resultList.push({key:titleList[i][0], value});
}
return resultList;
}
\ No newline at end of file
}
import { getBaiduStats } from "./data/interface/baiduStats";
import { initQueueData } from "./data/interface/queueData";
import { initUser } from "./data/user/user";
import { httpServer } from "./net/http_server";
......@@ -13,12 +12,8 @@ async function lanuch() {
}
initUser();
httpServer.createServer(getPort());
await test();
}
async function test() {
// getBaiduStats();
}
lanuch();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment