Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
P
project-credit
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • 互联网应用开发
  • project-credit
  • Wiki
  • api

api · Changes

Page history
chenchang created page: sql authored Aug 31, 2016 by 金小龙's avatar 金小龙
Hide whitespace changes
Inline Side-by-side
Showing with 4 additions and 4 deletions
+4 -4
  • api.md api.md +4 -4
  • No files found.
api.md
View page @ d16dde01
......@@ -72,17 +72,17 @@
参数列表:
* query_type 定值 'day'--按天查询,'month'--按月查询,'week'--按星期查询
* action: String 定值 get_charts_data
* date_start : 日期开始时间 (仅当query_type=day时有效)
* start_date : 日期开始时间 20160801
* date_end : 日期结束时间 (仅当query_type=day时有效)
* end_date : 日期结束时间 20160830
返回值说明:
返回带有两个参数的josn字符串
如:{"x":["20160810","20160811","20160812","20160813","20160814","20160815","20160816"],"data_value":["1000","2300",0,0,0,0,0]}
如:{"x":["20160810","20160811","20160812","20160813","20160814","20160815","20160816"],"data_value":["1000.00","2300.00","0.00","0.00","0.00","0.00","0.00"]}
#### 获取查询统计的图表数据
......
Clone repository
  • api
  • crontab
  • db
  • doc
  • files
  • Home
  • sql