Skip to content

Instantly share code, notes, and snippets.

@xiezefan
Created October 28, 2014 02:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xiezefan/ddc83b4ec11c1d7f6848 to your computer and use it in GitHub Desktop.
Save xiezefan/ddc83b4ec11c1d7f6848 to your computer and use it in GitHub Desktop.
API v3/users 接口返回BUG
//参数 time_unit=day start=2014-09-25 duration=50
//BUG
//1.出现这种非法的日期 2014-09-32
//2.返回的JSON中,步长这个属性,文档显示是step, 但返回的是duration
{
"time_unit": "day",
"start": "2014-09-25",
"duration": 50,
"items": [
{
"time": "2014-09-25",
"android": {
"online": 17,
"active": 12,
"new": 2
}
},
{
"time": "2014-09-26",
"android": {
"online": 27,
"active": 21,
"new": 16
}
},
{
"time": "2014-09-27",
"android": {
"online": 22,
"new": 6,
"active": 7
}
},
{
"time": "2014-09-28",
"android": {
"online": 24,
"active": 15,
"new": 3
}
},
{
"time": "2014-09-29",
"android": {
"online": 27,
"new": 7,
"active": 15
}
},
{
"time": "2014-09-30",
"android": {
"new": 2,
"online": 20,
"active": 9
}
},
{
"time": "2014-09-31"
},
{
"time": "2014-09-32"
},
{
"time": "2014-09-33"
},
{
"time": "2014-09-34"
},
{
"time": "2014-09-35"
},
{
"time": "2014-09-36"
},
{
"time": "2014-09-37"
},
{
"time": "2014-09-38"
},
{
"time": "2014-09-39"
},
{
"time": "2014-09-40"
},
{
"time": "2014-09-41"
},
{
"time": "2014-09-42"
},
{
"time": "2014-09-43"
},
{
"time": "2014-09-44"
},
{
"time": "2014-09-45"
},
{
"time": "2014-09-46"
},
{
"time": "2014-09-47"
},
{
"time": "2014-09-48"
},
{
"time": "2014-09-49"
},
{
"time": "2014-09-50"
},
{
"time": "2014-09-51"
},
{
"time": "2014-09-52"
},
{
"time": "2014-09-53"
},
{
"time": "2014-09-54"
},
{
"time": "2014-09-55"
},
{
"time": "2014-09-56"
},
{
"time": "2014-09-57"
},
{
"time": "2014-09-58"
},
{
"time": "2014-09-59"
},
{
"time": "2014-09-60"
},
{
"time": "2014-09-61"
},
{
"time": "2014-09-62"
},
{
"time": "2014-09-63"
},
{
"time": "2014-09-64"
},
{
"time": "2014-09-65"
},
{
"time": "2014-09-66"
},
{
"time": "2014-09-67"
},
{
"time": "2014-09-68"
},
{
"time": "2014-09-69"
},
{
"time": "2014-09-70"
},
{
"time": "2014-09-71"
},
{
"time": "2014-09-72"
},
{
"time": "2014-09-73"
},
{
"time": "2014-09-74"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment