diff --git a/index.html b/index.html index 3662e6e..a9dc97a 100644 --- a/index.html +++ b/index.html @@ -149,10 +149,10 @@ getClockQuery() { var that = this var timer = null; - let d = new Date() - let startTime = new Date(d).getTime() + let startTime = new Date(new Date().toLocaleDateString()).getTime(); + let endTime = new Date(new Date().toLocaleDateString()).getTime() + 24 * 60 * 60 * 1000; const params = JSON.stringify({ - param: { projectId: that.projectId,roleId: that.roleId, memberIdList: [], startTime, endTime: startTime } + param: { projectId: that.projectId,roleId: that.roleId, memberIdList: [], startTime, endTime } }); var url = 'https://www.tall.wiki/gateway/defaultwbs/clock/query'; fetch(url, {