Skip to content

服务端的更改 #25

@terryoy

Description

@terryoy

目前有以下需要改动的API

  1. 缺少summary的API,今日,昨日,本月,上月总量。

  2. 按天返回的API和按时返回的API,设计需要优化(减少查询数据量和时间)。[已完成]

3. [优化] 对提交的读数进行校验,如果时间已存在则报错,插入按时间排序。(另建新任务)

  1. 增加一个按日取数据的接口,获取某日的详细读数。[已完成]

5. 过去24hours的数据,语意和实际数据不一致。[24hours是只取当天的,48hours是取今天和昨天的]

已知Bug:

  1. 提交读数的时候会创建新的node[已完成]

  2. datetime.date.fromtimstamp方法报错。 [已完成]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions