Commit f3f5ec36 authored by 赵啸非's avatar 赵啸非

添加首页统计模块 统计近一周

parent d7e22b13
...@@ -47,7 +47,7 @@ public class SiteStatTaskImpl implements ITaskExcuteService { ...@@ -47,7 +47,7 @@ public class SiteStatTaskImpl implements ITaskExcuteService {
public void excuteTask(ITask task) throws AppException { public void excuteTask(ITask task) throws AppException {
log.info("站点评价统计任务"); log.info("站点评价统计任务");
//统计最近一周 //统计最近一周
for (int i = 1; i < 7; i++) { for (int i = 0; i < 7; i++) {
DateTime beforeDate = DateUtil.offsetDay(new Date(), -i); DateTime beforeDate = DateUtil.offsetDay(new Date(), -i);
int year = beforeDate.year(); int year = beforeDate.year();
int month = beforeDate.month() + 1; int month = beforeDate.month() + 1;
......
...@@ -14,10 +14,11 @@ client.global.set("authToken", JSON.parse(response.body).data.token); ...@@ -14,10 +14,11 @@ client.global.set("authToken", JSON.parse(response.body).data.token);
%} %}
###区域接入列表 ###区域接入列表
POST {{baseUrl}}/access/list POST {{baseUrl}}/access/interlist
Content-Type: application/json Content-Type: application/json
{ {
"orderList": [{"": ""}],
"page":1, "page":1,
"size":10 "size":10
} }
......
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