作者 陈志颖

test:过期活动列表

... ... @@ -189,3 +189,464 @@
2020/11/23 15:19:26.289 [I] [???:0] http server Running on http://:8082
2020/11/23 15:26:30.018 [I] [???:0] http server Running on http://:8082
2020/11/23 15:32:51.170 [I] [???:0] http server Running on http://:8082
2020/11/23 15:33:22.470 [I] [???:0] http server Running on http://:8082
2020/11/23 15:45:22.858 [I] [???:0] http server Running on http://:8082
2020/11/23 15:45:50.350 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./list-interval/?companyId=381&offset=0&limit=20.1606117550350218000
Auth=
BodyData:{}
2020/11/23 15:45:51.063 [D] [server.go:2843] <====Send RequestId:GET./list-interval/?companyId=381&offset=0&limit=20.1606117550350218000 BodyData:{"code":0,"data":{"count":3,"listIntervals":[{"listIntervalId":21,"companyId":381,"intervalStartTime":"2020-12-18T00:00:00+08:00","intervalEndTime":"2020-12-20T23:59:59+08:00"},{"listIntervalId":20,"companyId":381,"intervalStartTime":"2020-11-17T12:01:54.851528+08:00","intervalEndTime":"2020-11-20T12:01:54.851528+08:00"},{"listIntervalId":7,"companyId":381,"intervalStartTime":"2020-11-10T12:01:54.851528+08:00","intervalEndTime":"2020-11-16T12:01:54.851528+08:00"}]},"msg":"ok"}
2020/11/23 15:45:51.063 [D] [server.go:1925] | 127.0.0.1| 200 | 713.096446ms| match| GET  /list-interval/ r:/list-interval/
2020/11/23 15:46:09.579 [D] [server.go:2843] ====>Recv User:<nil> RequestId:DELETE./list-interval/20.1606117569579944000
Auth=
BodyData:{}
2020/11/23 15:46:09.894 [D] [server.go:2843] <====Send RequestId:DELETE./list-interval/20.1606117569579944000 BodyData:{"code":0,"data":{"listIntervalId":20,"companyId":381,"intervalStartTime":"2020-11-17T12:01:54.851528+08:00","intervalEndTime":"2020-11-20T12:01:54.851528+08:00"},"msg":"ok"}
2020/11/23 15:46:09.894 [D] [server.go:1925] | 127.0.0.1| 200 | 314.966182ms| match| DELETE  /list-interval/20 r:/list-interval/:listId
2020/11/23 15:46:13.013 [D] [server.go:2843] ====>Recv User:<nil> RequestId:DELETE./list-interval/7.1606117573013003000
Auth=
BodyData:{}
2020/11/23 15:46:13.066 [D] [server.go:2843] <====Send RequestId:DELETE./list-interval/7.1606117573013003000 BodyData:{"code":0,"data":{"listIntervalId":7,"companyId":381,"intervalStartTime":"2020-11-10T12:01:54.851528+08:00","intervalEndTime":"2020-11-16T12:01:54.851528+08:00"},"msg":"ok"}
2020/11/23 15:46:13.066 [D] [server.go:1925] | 127.0.0.1| 200 | 53.736857ms| match| DELETE  /list-interval/7 r:/list-interval/:listId
2020/11/23 15:46:52.337 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./list-interval/?companyId=381&offset=0&limit=20.1606117612337633000
Auth=
BodyData:{}
2020/11/23 15:46:52.339 [D] [server.go:2843] <====Send RequestId:GET./list-interval/?companyId=381&offset=0&limit=20.1606117612337633000 BodyData:{"code":0,"data":{"count":1,"listIntervals":[{"listIntervalId":21,"companyId":381,"intervalStartTime":"2020-12-18T00:00:00+08:00","intervalEndTime":"2020-12-20T23:59:59+08:00"}]},"msg":"ok"}
2020/11/23 15:46:52.339 [D] [server.go:1925] | 127.0.0.1| 200 | 1.991287ms| match| GET  /list-interval/ r:/list-interval/
2020/11/23 15:47:21.342 [D] [server.go:2843] ====>Recv User:<nil> RequestId:POST./list-interval/.1606117641342021000
Auth=
BodyData:{
"companyId": 381,
"listIntervalStartTime": "2020-12-18T12:02:55.851528+08:00",
"listIntervalEndTime": "2020-12-20T12:01:54.851528+08:00"
}
2020/11/23 15:47:21.353 [D] [server.go:2843] <====Send RequestId:POST./list-interval/.1606117641342021000 BodyData:{"code":501,"msg":"内部服务出错:年榜开始时间必须大于上一个年榜结束时间"}
2020/11/23 15:47:21.353 [D] [server.go:1925] | 127.0.0.1| 200 | 12.059713ms| match| POST  /list-interval/ r:/list-interval/
2020/11/23 15:47:31.436 [D] [server.go:2843] ====>Recv User:<nil> RequestId:POST./list-interval/.1606117651436187000
Auth=
BodyData:{
"companyId": 381,
"listIntervalStartTime": "2020-12-19T12:02:55.851528+08:00",
"listIntervalEndTime": "2020-12-20T12:01:54.851528+08:00"
}
2020/11/23 15:47:31.475 [D] [server.go:2843] <====Send RequestId:POST./list-interval/.1606117651436187000 BodyData:{"code":501,"msg":"内部服务出错:年榜开始时间必须大于上一个年榜结束时间"}
2020/11/23 15:47:31.475 [D] [server.go:1925] | 127.0.0.1| 200 | 39.231933ms| match| POST  /list-interval/ r:/list-interval/
2020/11/23 15:47:38.450 [D] [server.go:2843] ====>Recv User:<nil> RequestId:POST./list-interval/.1606117658450720000
Auth=
BodyData:{
"companyId": 381,
"listIntervalStartTime": "2020-12-20T12:02:55.851528+08:00",
"listIntervalEndTime": "2020-12-20T12:01:54.851528+08:00"
}
2020/11/23 15:47:38.491 [D] [server.go:2843] <====Send RequestId:POST./list-interval/.1606117658450720000 BodyData:{"code":501,"msg":"内部服务出错:年榜开始时间必须大于上一个年榜结束时间"}
2020/11/23 15:47:38.491 [D] [server.go:1925] | 127.0.0.1| 200 | 40.955595ms| match| POST  /list-interval/ r:/list-interval/
2020/11/23 15:47:44.751 [D] [server.go:2843] ====>Recv User:<nil> RequestId:POST./list-interval/.1606117664751027000
Auth=
BodyData:{
"companyId": 381,
"listIntervalStartTime": "2020-12-21T12:02:55.851528+08:00",
"listIntervalEndTime": "2020-12-21T12:01:54.851528+08:00"
}
2020/11/23 15:47:44.933 [D] [server.go:2843] <====Send RequestId:POST./list-interval/.1606117664751027000 BodyData:{"code":0,"data":{"listIntervalId":22,"companyId":381,"intervalStartTime":"2020-12-21T00:00:00+08:00","intervalEndTime":"2020-12-21T23:59:59+08:00"},"msg":"ok"}
2020/11/23 15:47:44.933 [D] [server.go:1925] | 127.0.0.1| 200 | 182.169087ms| match| POST  /list-interval/ r:/list-interval/
2020/11/23 15:48:02.309 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./list-interval/?companyId=381&offset=0&limit=20.1606117682309282000
Auth=
BodyData:{}
2020/11/23 15:48:02.377 [D] [server.go:2843] <====Send RequestId:GET./list-interval/?companyId=381&offset=0&limit=20.1606117682309282000 BodyData:{"code":0,"data":{"count":2,"listIntervals":[{"listIntervalId":22,"companyId":381,"intervalStartTime":"2020-12-21T00:00:00+08:00","intervalEndTime":"2020-12-21T23:59:59+08:00"},{"listIntervalId":21,"companyId":381,"intervalStartTime":"2020-12-18T00:00:00+08:00","intervalEndTime":"2020-12-20T23:59:59+08:00"}]},"msg":"ok"}
2020/11/23 15:48:02.384 [D] [server.go:1925] | 127.0.0.1| 200 | 75.483884ms| match| GET  /list-interval/ r:/list-interval/
2020/11/23 15:49:45.783 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606117785783000000
Auth=
BodyData:{
"listIntervalStartTime": "2020-12-21T12:01:54.851528+08:00",
"listIntervalEndTime": "2020-12-21T12:01:54.851528+08:00"
}
2020/11/23 15:49:46.472 [D] [server.go:2843] <====Send RequestId:PUT./list-interval/22.1606117785783000000 BodyData:{"code":0,"data":{"listIntervalId":22,"companyId":381,"intervalStartTime":"2020-12-21T12:01:54.851528+08:00","intervalEndTime":"2020-12-21T12:01:54.851528+08:00"},"msg":"ok"}
2020/11/23 15:49:46.472 [D] [server.go:1925] | 127.0.0.1| 200 | 689.351976ms| match| PUT  /list-interval/22 r:/list-interval/:listId
2020/11/23 15:50:05.539 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606117805539529000
Auth=
BodyData:{
"listIntervalStartTime": "2020-12-20T12:01:54.851528+08:00",
"listIntervalEndTime": "2020-12-21T12:01:54.851528+08:00"
}
2020/11/23 15:50:05.607 [D] [server.go:2843] <====Send RequestId:PUT./list-interval/22.1606117805539529000 BodyData:{"code":0,"data":{"listIntervalId":22,"companyId":381,"intervalStartTime":"2020-12-20T12:01:54.851528+08:00","intervalEndTime":"2020-12-21T12:01:54.851528+08:00"},"msg":"ok"}
2020/11/23 15:50:05.607 [D] [server.go:1925] | 127.0.0.1| 200 | 67.978885ms| match| PUT  /list-interval/22 r:/list-interval/:listId
2020/11/23 15:50:16.926 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./list-interval/?companyId=381&offset=0&limit=20.1606117816926162000
Auth=
BodyData:{}
2020/11/23 15:50:17.057 [D] [server.go:2843] <====Send RequestId:GET./list-interval/?companyId=381&offset=0&limit=20.1606117816926162000 BodyData:{"code":0,"data":{"count":2,"listIntervals":[{"listIntervalId":22,"companyId":381,"intervalStartTime":"2020-12-20T12:01:54.851528+08:00","intervalEndTime":"2020-12-21T12:01:54.851528+08:00"},{"listIntervalId":21,"companyId":381,"intervalStartTime":"2020-12-18T00:00:00+08:00","intervalEndTime":"2020-12-20T23:59:59+08:00"}]},"msg":"ok"}
2020/11/23 15:50:17.135 [D] [server.go:1925] | 127.0.0.1| 200 | 209.333878ms| match| GET  /list-interval/ r:/list-interval/
2020/11/23 15:50:55.577 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606117855577291000
Auth=
BodyData:{
"listIntervalStartTime": "2020-12-19T12:01:54.851528+08:00",
"listIntervalEndTime": "2020-12-21T12:01:54.851528+08:00"
}
2020/11/23 15:50:55.673 [D] [server.go:2843] <====Send RequestId:PUT./list-interval/22.1606117855577291000 BodyData:{"code":0,"data":{"listIntervalId":22,"companyId":381,"intervalStartTime":"2020-12-19T12:01:54.851528+08:00","intervalEndTime":"2020-12-21T12:01:54.851528+08:00"},"msg":"ok"}
2020/11/23 15:50:55.673 [D] [server.go:1925] | 127.0.0.1| 200 | 96.199882ms| match| PUT  /list-interval/22 r:/list-interval/:listId
2020/11/23 15:51:01.125 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./list-interval/?companyId=381&offset=0&limit=20.1606117861125310000
Auth=
BodyData:{}
2020/11/23 15:51:01.128 [D] [server.go:2843] <====Send RequestId:GET./list-interval/?companyId=381&offset=0&limit=20.1606117861125310000 BodyData:{"code":0,"data":{"count":2,"listIntervals":[{"listIntervalId":22,"companyId":381,"intervalStartTime":"2020-12-19T12:01:54.851528+08:00","intervalEndTime":"2020-12-21T12:01:54.851528+08:00"},{"listIntervalId":21,"companyId":381,"intervalStartTime":"2020-12-18T00:00:00+08:00","intervalEndTime":"2020-12-20T23:59:59+08:00"}]},"msg":"ok"}
2020/11/23 15:51:01.128 [D] [server.go:1925] | 127.0.0.1| 200 | 2.937177ms| match| GET  /list-interval/ r:/list-interval/
2020/11/23 15:52:39.266 [I] [???:0] http server Running on http://:8082
2020/11/23 15:53:35.958 [D] [server.go:2843] ====>Recv User:<nil> RequestId:POST./list-interval/.1606118015958230000
Auth=
BodyData:{
"companyId": 381,
"listIntervalStartTime": "2020-12-21T12:02:55.851528+08:00",
"listIntervalEndTime": "2020-12-21T12:01:54.851528+08:00"
}
2020/11/23 15:53:36.654 [D] [server.go:2843] <====Send RequestId:POST./list-interval/.1606118015958230000 BodyData:{"code":501,"msg":"内部服务出错:年榜开始时间必须大于上一个年榜结束时间"}
2020/11/23 15:53:36.655 [D] [server.go:1925] | 127.0.0.1| 200 | 697.174713ms| match| POST  /list-interval/ r:/list-interval/
2020/11/23 15:53:44.261 [D] [server.go:2843] ====>Recv User:<nil> RequestId:POST./list-interval/.1606118024261775000
Auth=
BodyData:{
"companyId": 381,
"listIntervalStartTime": "2020-12-22T12:02:55.851528+08:00",
"listIntervalEndTime": "2020-12-26T12:01:54.851528+08:00"
}
2020/11/23 15:53:44.407 [D] [server.go:2843] <====Send RequestId:POST./list-interval/.1606118024261775000 BodyData:{"code":0,"data":{"listIntervalId":23,"companyId":381,"intervalStartTime":"2020-12-22T00:00:00+08:00","intervalEndTime":"2020-12-26T23:59:59+08:00"},"msg":"ok"}
2020/11/23 15:53:44.407 [D] [server.go:1925] | 127.0.0.1| 200 | 146.154322ms| match| POST  /list-interval/ r:/list-interval/
2020/11/23 15:55:21.311 [I] [???:0] http server Running on http://:8082
2020/11/23 15:56:41.895 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606118201895683000
Auth=
BodyData:{
"listIntervalStartTime": "2020-12-19T12:01:54.851528+08:00",
"listIntervalEndTime": "2020-12-21T12:01:54.851528+08:00"
}
2020/11/23 15:56:42.039 [D] [server.go:2843] <====Send RequestId:PUT./list-interval/22.1606118201895683000 BodyData:{"code":0,"data":{"listIntervalId":22,"companyId":381,"intervalStartTime":"2020-12-19T00:00:00+08:00","intervalEndTime":"2020-12-21T23:59:59+08:00"},"msg":"ok"}
2020/11/23 15:56:42.039 [D] [server.go:1925] | 127.0.0.1| 200 | 144.476001ms| match| PUT  /list-interval/22 r:/list-interval/:listId
2020/11/23 15:57:01.044 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./list-interval/?companyId=381&offset=0&limit=20.1606118221044760000
Auth=
BodyData:{}
2020/11/23 15:57:01.193 [D] [server.go:2843] <====Send RequestId:GET./list-interval/?companyId=381&offset=0&limit=20.1606118221044760000 BodyData:{"code":0,"data":{"count":3,"listIntervals":[{"listIntervalId":23,"companyId":381,"intervalStartTime":"2020-12-22T00:00:00+08:00","intervalEndTime":"2020-12-26T23:59:59+08:00"},{"listIntervalId":22,"companyId":381,"intervalStartTime":"2020-12-19T00:00:00+08:00","intervalEndTime":"2020-12-21T23:59:59+08:00"},{"listIntervalId":21,"companyId":381,"intervalStartTime":"2020-12-18T00:00:00+08:00","intervalEndTime":"2020-12-20T23:59:59+08:00"}]},"msg":"ok"}
2020/11/23 15:57:01.193 [D] [server.go:1925] | 127.0.0.1| 200 | 148.90849ms| match| GET  /list-interval/ r:/list-interval/
2020/11/23 15:57:19.808 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606118239808811000
Auth=
BodyData:{
"listIntervalStartTime": "2020-12-19T12:01:54.851528+08:00",
"listIntervalEndTime": "2020-12-21T12:01:54.851528+08:00"
}
2020/11/23 15:57:19.834 [D] [server.go:2843] <====Send RequestId:PUT./list-interval/22.1606118239808811000 BodyData:{"code":0,"data":{"listIntervalId":22,"companyId":381,"intervalStartTime":"2020-12-19T00:00:00+08:00","intervalEndTime":"2020-12-21T23:59:59+08:00"},"msg":"ok"}
2020/11/23 15:57:19.834 [D] [server.go:1925] | 127.0.0.1| 200 | 25.71155ms| match| PUT  /list-interval/22 r:/list-interval/:listId
2020/11/23 15:57:35.592 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./list-interval/?companyId=381&offset=0&limit=20.1606118255590717000
Auth=
BodyData:{}
2020/11/23 15:57:35.648 [D] [server.go:2843] <====Send RequestId:GET./list-interval/?companyId=381&offset=0&limit=20.1606118255590717000 BodyData:{"code":0,"data":{"count":3,"listIntervals":[{"listIntervalId":23,"companyId":381,"intervalStartTime":"2020-12-22T00:00:00+08:00","intervalEndTime":"2020-12-26T23:59:59+08:00"},{"listIntervalId":22,"companyId":381,"intervalStartTime":"2020-12-19T00:00:00+08:00","intervalEndTime":"2020-12-21T23:59:59+08:00"},{"listIntervalId":21,"companyId":381,"intervalStartTime":"2020-12-18T00:00:00+08:00","intervalEndTime":"2020-12-20T23:59:59+08:00"}]},"msg":"ok"}
2020/11/23 15:57:35.648 [D] [server.go:1925] | 127.0.0.1| 200 | 58.014884ms| match| GET  /list-interval/ r:/list-interval/
2020/11/23 15:58:11.063 [I] [???:0] http server Running on http://:8082
2020/11/23 15:58:32.561 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606118312561256000
Auth=
BodyData:{
"listIntervalStartTime": "2020-12-19T12:01:54.851528+08:00",
"listIntervalEndTime": "2020-12-21T12:01:54.851528+08:00"
}
2020/11/23 15:58:32.578 [D] [server.go:2843] <====Send RequestId:PUT./list-interval/22.1606118312561256000 BodyData:{"code":501,"msg":"内部服务出错:年榜时间不能重叠"}
2020/11/23 15:58:32.578 [D] [server.go:1925] | 127.0.0.1| 200 | 17.433098ms| match| PUT  /list-interval/22 r:/list-interval/:listId
2020/11/23 16:01:39.011 [I] [???:0] http server Running on http://:8082
2020/11/23 16:01:55.734 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606118515734406000
Auth=
BodyData:{
"listIntervalStartTime": "2020-12-19T12:01:54.851528+08:00",
"listIntervalEndTime": "2020-12-21T12:01:54.851528+08:00"
}
2020/11/23 16:01:56.132 [D] [server.go:2843] <====Send RequestId:PUT./list-interval/22.1606118515734406000 BodyData:{"code":501,"msg":"内部服务出错:年榜时间不能重叠"}
2020/11/23 16:01:56.132 [D] [server.go:1925] | 127.0.0.1| 200 | 398.133463ms| match| PUT  /list-interval/22 r:/list-interval/:listId
2020/11/23 16:02:49.268 [I] [???:0] http server Running on http://:8082
2020/11/23 16:02:57.432 [I] [???:0] http server Running on http://:8082
2020/11/23 16:02:59.440 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606118579440138000
Auth=
BodyData:{
"listIntervalStartTime": "2020-12-19T12:01:54.851528+08:00",
"listIntervalEndTime": "2020-12-21T12:01:54.851528+08:00"
}
2020/11/23 16:02:59.530 [D] [server.go:2843] <====Send RequestId:PUT./list-interval/22.1606118579440138000 BodyData:{"code":501,"msg":"内部服务出错:年榜时间不能重叠"}
2020/11/23 16:02:59.530 [D] [server.go:1925] | 127.0.0.1| 200 | 90.37943ms| match| PUT  /list-interval/22 r:/list-interval/:listId
2020/11/23 16:06:12.821 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606118772821682000
Auth=
BodyData:{
"listIntervalStartTime": "2020-12-20T12:01:54.851528+08:00",
"listIntervalEndTime": "2020-12-21T12:01:54.851528+08:00"
}
2020/11/23 16:06:12.996 [D] [server.go:2843] <====Send RequestId:PUT./list-interval/22.1606118772821682000 BodyData:{"code":501,"msg":"内部服务出错:年榜时间不能重叠"}
2020/11/23 16:06:12.996 [D] [server.go:1925] | 127.0.0.1| 200 | 176.290547ms| match| PUT  /list-interval/22 r:/list-interval/:listId
2020/11/23 16:06:17.399 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606118777399422000
Auth=
BodyData:{
"listIntervalStartTime": "2020-12-20T12:01:54.851528+08:00",
"listIntervalEndTime": "2020-12-22T12:01:54.851528+08:00"
}
2020/11/23 16:06:17.483 [D] [server.go:2843] <====Send RequestId:PUT./list-interval/22.1606118777399422000 BodyData:{"code":501,"msg":"内部服务出错:年榜时间不能重叠"}
2020/11/23 16:06:17.483 [D] [server.go:1925] | 127.0.0.1| 200 | 83.771544ms| match| PUT  /list-interval/22 r:/list-interval/:listId
2020/11/23 16:06:22.988 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606118782988763000
Auth=
BodyData:{
"listIntervalStartTime": "2020-12-22T12:01:54.851528+08:00",
"listIntervalEndTime": "2020-12-23T12:01:54.851528+08:00"
}
2020/11/23 16:06:23.088 [D] [server.go:2843] <====Send RequestId:PUT./list-interval/22.1606118782988763000 BodyData:{"code":501,"msg":"内部服务出错:年榜时间不能重叠"}
2020/11/23 16:06:23.089 [D] [server.go:1925] | 127.0.0.1| 200 | 100.412059ms| match| PUT  /list-interval/22 r:/list-interval/:listId
2020/11/23 16:06:45.945 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606118805945596000
Auth=
BodyData:{
"listIntervalStartTime": "2020-12-27T12:01:54.851528+08:00",
"listIntervalEndTime": "2020-12-28T12:01:54.851528+08:00"
}
2020/11/23 16:06:46.006 [D] [server.go:2843] <====Send RequestId:PUT./list-interval/22.1606118805945596000 BodyData:{"code":501,"msg":"内部服务出错:年榜时间不能重叠"}
2020/11/23 16:06:46.006 [D] [server.go:1925] | 127.0.0.1| 200 | 60.909589ms| match| PUT  /list-interval/22 r:/list-interval/:listId
2020/11/23 16:06:53.607 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./list-interval/?companyId=381&offset=0&limit=20.1606118813607749000
Auth=
BodyData:{}
2020/11/23 16:06:53.732 [D] [server.go:2843] <====Send RequestId:GET./list-interval/?companyId=381&offset=0&limit=20.1606118813607749000 BodyData:{"code":0,"data":{"count":3,"listIntervals":[{"listIntervalId":23,"companyId":381,"intervalStartTime":"2020-12-22T00:00:00+08:00","intervalEndTime":"2020-12-26T23:59:59+08:00"},{"listIntervalId":22,"companyId":381,"intervalStartTime":"2020-12-19T00:00:00+08:00","intervalEndTime":"2020-12-21T23:59:59+08:00"},{"listIntervalId":21,"companyId":381,"intervalStartTime":"2020-12-18T00:00:00+08:00","intervalEndTime":"2020-12-20T23:59:59+08:00"}]},"msg":"ok"}
2020/11/23 16:06:53.732 [D] [server.go:1925] | 127.0.0.1| 200 | 125.112364ms| match| GET  /list-interval/ r:/list-interval/
2020/11/23 16:08:42.965 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606118922965734000
Auth=
BodyData:{
"listIntervalStartTime": "2020-12-27T12:01:54.851528+08:00",
"listIntervalEndTime": "2020-12-28T12:01:54.851528+08:00"
}
2020/11/23 16:11:11.789 [I] [???:0] http server Running on http://:8082
2020/11/23 16:11:14.278 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606119074278057000
Auth=
BodyData:{
"listIntervalStartTime": "2020-12-27T12:01:54.851528+08:00",
"listIntervalEndTime": "2020-12-28T12:01:54.851528+08:00"
}
2020/11/23 16:11:14.380 [D] [server.go:2843] <====Send RequestId:PUT./list-interval/22.1606119074278057000 BodyData:{"code":501,"msg":"内部服务出错:年榜时间不能重叠"}
2020/11/23 16:11:14.380 [D] [server.go:1925] | 127.0.0.1| 200 | 102.450167ms| match| PUT  /list-interval/22 r:/list-interval/:listId
2020/11/23 16:14:55.620 [I] [???:0] http server Running on http://:8082
2020/11/23 16:15:00.725 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./list-interval/?companyId=381&offset=0&limit=20.1606119300725600000
Auth=
BodyData:{}
2020/11/23 16:15:00.874 [D] [server.go:2843] <====Send RequestId:GET./list-interval/?companyId=381&offset=0&limit=20.1606119300725600000 BodyData:{"code":0,"data":{"count":3,"listIntervals":[{"listIntervalId":23,"companyId":381,"intervalStartTime":"2020-12-22T00:00:00+08:00","intervalEndTime":"2020-12-26T23:59:59+08:00"},{"listIntervalId":22,"companyId":381,"intervalStartTime":"2020-12-19T00:00:00+08:00","intervalEndTime":"2020-12-21T23:59:59+08:00"},{"listIntervalId":21,"companyId":381,"intervalStartTime":"2020-12-18T00:00:00+08:00","intervalEndTime":"2020-12-20T23:59:59+08:00"}]},"msg":"ok"}
2020/11/23 16:15:00.874 [D] [server.go:1925] | 127.0.0.1| 200 | 149.172184ms| match| GET  /list-interval/ r:/list-interval/
2020/11/23 16:15:05.265 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606119305265931000
Auth=
BodyData:{
"listIntervalStartTime": "2020-12-27T12:01:54.851528+08:00",
"listIntervalEndTime": "2020-12-28T12:01:54.851528+08:00"
}
2020/11/23 16:15:05.284 [D] [server.go:2843] <====Send RequestId:PUT./list-interval/22.1606119305265931000 BodyData:{"code":501,"msg":"内部服务出错:年榜时间不能重叠"}
2020/11/23 16:15:05.284 [D] [server.go:1925] | 127.0.0.1| 200 | 18.949087ms| match| PUT  /list-interval/22 r:/list-interval/:listId
2020/11/23 16:15:21.742 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606119321742450000
Auth=
BodyData:{
"listIntervalStartTime": "2020-12-27T12:01:54.851528+08:00",
"listIntervalEndTime": "2020-12-28T12:01:54.851528+08:00"
}
2020/11/23 16:15:46.080 [D] [server.go:2843] <====Send RequestId:PUT./list-interval/22.1606119321742450000 BodyData:{"code":501,"msg":"内部服务出错:年榜时间不能重叠"}
2020/11/23 16:15:46.081 [D] [server.go:1925] | 127.0.0.1| 200 |24.338806129s| match| PUT  /list-interval/22 r:/list-interval/:listId
2020/11/23 16:15:48.236 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606119348236951000
Auth=
BodyData:{
"listIntervalStartTime": "2020-12-27T12:01:54.851528+08:00",
"listIntervalEndTime": "2020-12-28T12:01:54.851528+08:00"
}
2020/11/23 16:16:09.874 [D] [server.go:2843] <====Send RequestId:PUT./list-interval/22.1606119348236951000 BodyData:{"code":501,"msg":"内部服务出错:年榜时间不能重叠"}
2020/11/23 16:16:09.876 [D] [server.go:1925] | 127.0.0.1| 200 |21.639403388s| match| PUT  /list-interval/22 r:/list-interval/:listId
2020/11/23 16:34:26.409 [I] [???:0] http server Running on http://:8082
2020/11/23 16:34:29.237 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606120469237548000
Auth=
BodyData:{
"listIntervalStartTime": "2020-12-27T12:01:54.851528+08:00",
"listIntervalEndTime": "2020-12-28T12:01:54.851528+08:00"
}
2020/11/23 16:34:29.777 [D] [server.go:2843] <====Send RequestId:PUT./list-interval/22.1606120469237548000 BodyData:{"code":0,"data":{"listIntervalId":22,"companyId":381,"intervalStartTime":"2020-12-27T00:00:00+08:00","intervalEndTime":"2020-12-28T23:59:59+08:00"},"msg":"ok"}
2020/11/23 16:34:29.777 [D] [server.go:1925] | 127.0.0.1| 200 | 540.152403ms| match| PUT  /list-interval/22 r:/list-interval/:listId
2020/11/23 16:34:39.506 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./list-interval/?companyId=381&offset=0&limit=20.1606120479506280000
Auth=
BodyData:{}
2020/11/23 16:34:39.575 [D] [server.go:2843] <====Send RequestId:GET./list-interval/?companyId=381&offset=0&limit=20.1606120479506280000 BodyData:{"code":0,"data":{"count":3,"listIntervals":[{"listIntervalId":23,"companyId":381,"intervalStartTime":"2020-12-22T00:00:00+08:00","intervalEndTime":"2020-12-26T23:59:59+08:00"},{"listIntervalId":22,"companyId":381,"intervalStartTime":"2020-12-27T00:00:00+08:00","intervalEndTime":"2020-12-28T23:59:59+08:00"},{"listIntervalId":21,"companyId":381,"intervalStartTime":"2020-12-18T00:00:00+08:00","intervalEndTime":"2020-12-20T23:59:59+08:00"}]},"msg":"ok"}
2020/11/23 16:34:39.575 [D] [server.go:1925] | 127.0.0.1| 200 | 69.137874ms| match| GET  /list-interval/ r:/list-interval/
2020/11/23 16:39:23.841 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606120763841174000
Auth=
BodyData:{
"listIntervalStartTime": "2020-12-23T12:01:54.851528+08:00",
"listIntervalEndTime": "2020-12-28T12:01:54.851528+08:00"
}
2020/11/23 16:39:23.876 [D] [server.go:2843] <====Send RequestId:PUT./list-interval/22.1606120763841174000 BodyData:{"code":0,"data":{"listIntervalId":22,"companyId":381,"intervalStartTime":"2020-12-23T00:00:00+08:00","intervalEndTime":"2020-12-28T23:59:59+08:00"},"msg":"ok"}
2020/11/23 16:39:23.876 [D] [server.go:1925] | 127.0.0.1| 200 | 35.458869ms| match| PUT  /list-interval/22 r:/list-interval/:listId
2020/11/23 16:39:29.233 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./list-interval/?companyId=381&offset=0&limit=20.1606120769233233000
Auth=
BodyData:{}
2020/11/23 16:39:29.282 [D] [server.go:2843] <====Send RequestId:GET./list-interval/?companyId=381&offset=0&limit=20.1606120769233233000 BodyData:{"code":0,"data":{"count":3,"listIntervals":[{"listIntervalId":23,"companyId":381,"intervalStartTime":"2020-12-22T00:00:00+08:00","intervalEndTime":"2020-12-26T23:59:59+08:00"},{"listIntervalId":22,"companyId":381,"intervalStartTime":"2020-12-23T00:00:00+08:00","intervalEndTime":"2020-12-28T23:59:59+08:00"},{"listIntervalId":21,"companyId":381,"intervalStartTime":"2020-12-18T00:00:00+08:00","intervalEndTime":"2020-12-20T23:59:59+08:00"}]},"msg":"ok"}
2020/11/23 16:39:29.282 [D] [server.go:1925] | 127.0.0.1| 200 | 49.186855ms| match| GET  /list-interval/ r:/list-interval/
2020/11/23 16:45:17.190 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./list-interval/?companyId=381&offset=0&limit=20.1606121117190434000
Auth=
BodyData:{}
2020/11/23 16:45:17.251 [D] [server.go:2843] <====Send RequestId:GET./list-interval/?companyId=381&offset=0&limit=20.1606121117190434000 BodyData:{"code":0,"data":{"count":3,"listIntervals":[{"listIntervalId":23,"companyId":381,"intervalStartTime":"2020-12-22T00:00:00+08:00","intervalEndTime":"2020-12-26T23:59:59+08:00"},{"listIntervalId":22,"companyId":381,"intervalStartTime":"2020-12-23T00:00:00+08:00","intervalEndTime":"2020-12-28T23:59:59+08:00"},{"listIntervalId":21,"companyId":381,"intervalStartTime":"2020-12-18T00:00:00+08:00","intervalEndTime":"2020-12-20T23:59:59+08:00"}]},"msg":"ok"}
2020/11/23 16:45:17.251 [D] [server.go:1925] | 127.0.0.1| 200 | 60.736335ms| match| GET  /list-interval/ r:/list-interval/
2020/11/23 16:48:14.777 [I] [???:0] http server Running on http://:8082
2020/11/23 16:48:16.326 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606121296326484000
Auth=
BodyData:{
"listIntervalStartTime": "2020-12-23T12:01:54.851528+08:00",
"listIntervalEndTime": "2020-12-28T12:01:54.851528+08:00"
}
2020/11/23 16:48:16.383 [D] [server.go:2843] <====Send RequestId:PUT./list-interval/22.1606121296326484000 BodyData:{"code":501,"msg":"内部服务出错:年榜时间不能重叠"}
2020/11/23 16:48:16.386 [D] [server.go:1925] | 127.0.0.1| 200 | 59.972088ms| match| PUT  /list-interval/22 r:/list-interval/:listId
2020/11/23 16:48:38.519 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606121318519690000
Auth=
BodyData:{
"listIntervalStartTime": "2020-12-21T12:01:54.851528+08:00",
"listIntervalEndTime": "2020-12-21T12:01:54.851528+08:00"
}
2020/11/23 16:48:38.626 [D] [server.go:2843] <====Send RequestId:PUT./list-interval/22.1606121318519690000 BodyData:{"code":0,"data":{"listIntervalId":22,"companyId":381,"intervalStartTime":"2020-12-21T00:00:00+08:00","intervalEndTime":"2020-12-21T23:59:59+08:00"},"msg":"ok"}
2020/11/23 16:48:38.626 [D] [server.go:1925] | 127.0.0.1| 200 | 106.824061ms| match| PUT  /list-interval/22 r:/list-interval/:listId
2020/11/23 16:48:42.387 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./list-interval/?companyId=381&offset=0&limit=20.1606121322387361000
Auth=
BodyData:{}
2020/11/23 16:48:42.396 [D] [server.go:2843] <====Send RequestId:GET./list-interval/?companyId=381&offset=0&limit=20.1606121322387361000 BodyData:{"code":0,"data":{"count":3,"listIntervals":[{"listIntervalId":23,"companyId":381,"intervalStartTime":"2020-12-22T00:00:00+08:00","intervalEndTime":"2020-12-26T23:59:59+08:00"},{"listIntervalId":22,"companyId":381,"intervalStartTime":"2020-12-21T00:00:00+08:00","intervalEndTime":"2020-12-21T23:59:59+08:00"},{"listIntervalId":21,"companyId":381,"intervalStartTime":"2020-12-18T00:00:00+08:00","intervalEndTime":"2020-12-20T23:59:59+08:00"}]},"msg":"ok"}
2020/11/23 16:48:42.396 [D] [server.go:1925] | 127.0.0.1| 200 | 9.180028ms| match| GET  /list-interval/ r:/list-interval/
2020/11/23 16:48:59.431 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606121339431440000
Auth=
BodyData:{
"listIntervalStartTime": "2020-12-18T12:01:54.851528+08:00",
"listIntervalEndTime": "2020-12-21T12:01:54.851528+08:00"
}
2020/11/23 16:48:59.485 [D] [server.go:2843] <====Send RequestId:PUT./list-interval/22.1606121339431440000 BodyData:{"code":501,"msg":"内部服务出错:年榜时间不能重叠"}
2020/11/23 16:48:59.492 [D] [server.go:1925] | 127.0.0.1| 200 | 61.202198ms| match| PUT  /list-interval/22 r:/list-interval/:listId
2020/11/23 16:49:04.801 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606121344801507000
Auth=
BodyData:{
"listIntervalStartTime": "2020-12-21T12:01:54.851528+08:00",
"listIntervalEndTime": "2020-12-21T12:01:54.851528+08:00"
}
2020/11/23 16:49:04.945 [D] [server.go:2843] <====Send RequestId:PUT./list-interval/22.1606121344801507000 BodyData:{"code":0,"data":{"listIntervalId":22,"companyId":381,"intervalStartTime":"2020-12-21T00:00:00+08:00","intervalEndTime":"2020-12-21T23:59:59+08:00"},"msg":"ok"}
2020/11/23 16:49:04.945 [D] [server.go:1925] | 127.0.0.1| 200 | 144.195997ms| match| PUT  /list-interval/22 r:/list-interval/:listId
2020/11/23 16:49:06.047 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606121346047011000
Auth=
BodyData:{
"listIntervalStartTime": "2020-12-21T12:01:54.851528+08:00",
"listIntervalEndTime": "2020-12-21T12:01:54.851528+08:00"
}
2020/11/23 16:49:06.055 [D] [server.go:2843] <====Send RequestId:PUT./list-interval/22.1606121346047011000 BodyData:{"code":0,"data":{"listIntervalId":22,"companyId":381,"intervalStartTime":"2020-12-21T00:00:00+08:00","intervalEndTime":"2020-12-21T23:59:59+08:00"},"msg":"ok"}
2020/11/23 16:49:06.055 [D] [server.go:1925] | 127.0.0.1| 200 | 8.273489ms| match| PUT  /list-interval/22 r:/list-interval/:listId
2020/11/23 16:49:06.935 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606121346935547000
Auth=
BodyData:{
"listIntervalStartTime": "2020-12-21T12:01:54.851528+08:00",
"listIntervalEndTime": "2020-12-21T12:01:54.851528+08:00"
}
2020/11/23 16:49:07.143 [D] [server.go:2843] <====Send RequestId:PUT./list-interval/22.1606121346935547000 BodyData:{"code":0,"data":{"listIntervalId":22,"companyId":381,"intervalStartTime":"2020-12-21T00:00:00+08:00","intervalEndTime":"2020-12-21T23:59:59+08:00"},"msg":"ok"}
2020/11/23 16:49:07.144 [D] [server.go:1925] | 127.0.0.1| 200 | 208.547925ms| match| PUT  /list-interval/22 r:/list-interval/:listId
2020/11/23 16:51:18.181 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606121478180970000
Auth=
BodyData:{
"listIntervalStartTime": "2020-12-21T12:01:54.851528+08:00",
"listIntervalEndTime": "2020-12-21T12:01:54.851528+08:00"
}
2020/11/23 16:51:18.200 [D] [server.go:2843] <====Send RequestId:PUT./list-interval/22.1606121478180970000 BodyData:{"code":0,"data":{"listIntervalId":22,"companyId":381,"intervalStartTime":"2020-12-21T00:00:00+08:00","intervalEndTime":"2020-12-21T23:59:59+08:00"},"msg":"ok"}
2020/11/23 16:51:18.201 [D] [server.go:1925] | 127.0.0.1| 200 | 20.237027ms| match| PUT  /list-interval/22 r:/list-interval/:listId
2020/11/23 16:52:00.829 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606121520829575000
Auth=
BodyData:{
"listIntervalStartTime": "2020-12-19T12:01:54.851528+08:00",
"listIntervalEndTime": "2020-12-21T12:01:54.851528+08:00"
}
2020/11/23 16:52:01.171 [D] [server.go:2843] <====Send RequestId:PUT./list-interval/22.1606121520829575000 BodyData:{"code":501,"msg":"内部服务出错:年榜时间不能重叠"}
2020/11/23 16:52:01.171 [D] [server.go:1925] | 127.0.0.1| 200 | 342.434902ms| match| PUT  /list-interval/22 r:/list-interval/:listId
2020/11/23 16:52:15.327 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606121535327658000
Auth=
BodyData:{
"listIntervalStartTime": "2020-12-17T12:01:54.851528+08:00",
"listIntervalEndTime": "2020-12-21T12:01:54.851528+08:00"
}
2020/11/23 16:52:15.439 [D] [server.go:2843] <====Send RequestId:PUT./list-interval/22.1606121535327658000 BodyData:{"code":501,"msg":"内部服务出错:年榜时间不能重叠"}
2020/11/23 16:52:15.441 [D] [server.go:1925] | 127.0.0.1| 200 | 113.653343ms| match| PUT  /list-interval/22 r:/list-interval/:listId
2020/11/23 16:52:25.368 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606121545368812000
Auth=
BodyData:{
"listIntervalStartTime": "2020-12-17T12:01:54.851528+08:00",
"listIntervalEndTime": "2020-12-28T12:01:54.851528+08:00"
}
2020/11/23 16:52:25.371 [D] [server.go:2843] <====Send RequestId:PUT./list-interval/22.1606121545368812000 BodyData:{"code":501,"msg":"内部服务出错:年榜时间不能重叠"}
2020/11/23 16:52:25.373 [D] [server.go:1925] | 127.0.0.1| 200 | 4.783712ms| match| PUT  /list-interval/22 r:/list-interval/:listId
2020/11/23 16:52:39.658 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606121559658846000
Auth=
BodyData:{
"listIntervalStartTime": "2020-12-21T12:01:54.851528+08:00",
"listIntervalEndTime": "2020-12-21T12:01:54.851528+08:00"
}
2020/11/23 16:52:39.707 [D] [server.go:2843] <====Send RequestId:PUT./list-interval/22.1606121559658846000 BodyData:{"code":0,"data":{"listIntervalId":22,"companyId":381,"intervalStartTime":"2020-12-21T00:00:00+08:00","intervalEndTime":"2020-12-21T23:59:59+08:00"},"msg":"ok"}
2020/11/23 16:52:39.707 [D] [server.go:1925] | 127.0.0.1| 200 | 48.938056ms| match| PUT  /list-interval/22 r:/list-interval/:listId
2020/11/23 16:52:49.178 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606121569178737000
Auth=
BodyData:{
"listIntervalStartTime": "2020-12-21T12:01:54.851528+08:00",
"listIntervalEndTime": "2020-12-28T12:01:54.851528+08:00"
}
2020/11/23 16:52:49.265 [D] [server.go:2843] <====Send RequestId:PUT./list-interval/22.1606121569178737000 BodyData:{"code":0,"data":{"listIntervalId":22,"companyId":381,"intervalStartTime":"2020-12-21T00:00:00+08:00","intervalEndTime":"2020-12-28T23:59:59+08:00"},"msg":"ok"}
2020/11/23 16:52:49.265 [D] [server.go:1925] | 127.0.0.1| 200 | 87.076038ms| match| PUT  /list-interval/22 r:/list-interval/:listId
2020/11/23 17:00:37.459 [I] [???:0] http server Running on http://:8082
2020/11/23 17:00:40.607 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606122040607841000
Auth=
BodyData:{
"listIntervalStartTime": "2020-12-21T12:01:54.851528+08:00",
"listIntervalEndTime": "2020-12-21T12:01:54.851528+08:00"
}
2020/11/23 17:00:40.705 [D] [server.go:2843] <====Send RequestId:PUT./list-interval/22.1606122040607841000 BodyData:{"code":0,"data":{"listIntervalId":22,"companyId":381,"intervalStartTime":"2020-12-21T00:00:00+08:00","intervalEndTime":"2020-12-21T23:59:59+08:00"},"msg":"ok"}
2020/11/23 17:00:40.705 [D] [server.go:1925] | 127.0.0.1| 200 | 97.650631ms| match| PUT  /list-interval/22 r:/list-interval/:listId
2020/11/23 17:00:53.852 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606122053852679000
Auth=
BodyData:{
"listIntervalStartTime": "2020-12-21T12:01:54.851528+08:00",
"listIntervalEndTime": "2020-12-28T12:01:54.851528+08:00"
}
2020/11/23 17:00:53.932 [D] [server.go:2843] <====Send RequestId:PUT./list-interval/22.1606122053852679000 BodyData:{"code":0,"data":{"listIntervalId":22,"companyId":381,"intervalStartTime":"2020-12-21T00:00:00+08:00","intervalEndTime":"2020-12-28T23:59:59+08:00"},"msg":"ok"}
2020/11/23 17:00:53.932 [D] [server.go:1925] | 127.0.0.1| 200 | 79.622678ms| match| PUT  /list-interval/22 r:/list-interval/:listId
2020/11/23 17:01:22.941 [I] [???:0] http server Running on http://:8082
2020/11/23 17:02:03.190 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606122123190381000
Auth=
BodyData:{
"listIntervalStartTime": "2020-12-21T12:01:54.851528+08:00",
"listIntervalEndTime": "2020-12-28T12:01:54.851528+08:00"
}
2020/11/23 17:02:03.292 [D] [server.go:2843] <====Send RequestId:PUT./list-interval/22.1606122123190381000 BodyData:{"code":0,"data":{"listIntervalId":22,"companyId":381,"intervalStartTime":"2020-12-21T00:00:00+08:00","intervalEndTime":"2020-12-28T23:59:59+08:00"},"msg":"ok"}
2020/11/23 17:02:03.292 [D] [server.go:1925] | 127.0.0.1| 200 | 102.686335ms| match| PUT  /list-interval/22 r:/list-interval/:listId
2020/11/23 17:02:07.578 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606122127578105000
Auth=
BodyData:{
"listIntervalStartTime": "2020-12-21T12:01:54.851528+08:00",
"listIntervalEndTime": "2020-12-21T12:01:54.851528+08:00"
}
2020/11/23 17:02:07.656 [D] [server.go:2843] <====Send RequestId:PUT./list-interval/22.1606122127578105000 BodyData:{"code":0,"data":{"listIntervalId":22,"companyId":381,"intervalStartTime":"2020-12-21T00:00:00+08:00","intervalEndTime":"2020-12-21T23:59:59+08:00"},"msg":"ok"}
2020/11/23 17:02:07.656 [D] [server.go:1925] | 127.0.0.1| 200 | 78.2779ms| match| PUT  /list-interval/22 r:/list-interval/:listId
2020/11/23 17:02:12.335 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./list-interval/?companyId=381&offset=0&limit=20.1606122132335612000
Auth=
BodyData:{}
2020/11/23 17:02:12.429 [D] [server.go:2843] <====Send RequestId:GET./list-interval/?companyId=381&offset=0&limit=20.1606122132335612000 BodyData:{"code":0,"data":{"count":3,"listIntervals":[{"listIntervalId":23,"companyId":381,"intervalStartTime":"2020-12-22T00:00:00+08:00","intervalEndTime":"2020-12-26T23:59:59+08:00"},{"listIntervalId":22,"companyId":381,"intervalStartTime":"2020-12-21T00:00:00+08:00","intervalEndTime":"2020-12-21T23:59:59+08:00"},{"listIntervalId":21,"companyId":381,"intervalStartTime":"2020-12-18T00:00:00+08:00","intervalEndTime":"2020-12-20T23:59:59+08:00"}]},"msg":"ok"}
2020/11/23 17:02:12.429 [D] [server.go:1925] | 127.0.0.1| 200 | 94.215ms| match| GET  /list-interval/ r:/list-interval/
2020/11/23 17:03:14.925 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606122194925377000
Auth=
BodyData:{
"listIntervalStartTime": "2020-12-21T12:01:54.851528+08:00",
"listIntervalEndTime": "2020-12-21T12:01:54.851528+08:00"
}
2020/11/23 17:03:14.962 [D] [server.go:2843] <====Send RequestId:PUT./list-interval/22.1606122194925377000 BodyData:{"code":0,"data":{"listIntervalId":22,"companyId":381,"intervalStartTime":"2020-12-21T00:00:00+08:00","intervalEndTime":"2020-12-21T23:59:59+08:00"},"msg":"ok"}
2020/11/23 17:03:14.962 [D] [server.go:1925] | 127.0.0.1| 200 | 36.780575ms| match| PUT  /list-interval/22 r:/list-interval/:listId
2020/11/23 17:03:22.214 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606122202214450000
Auth=
BodyData:{
"listIntervalStartTime": "2020-12-21T12:01:54.851528+08:00",
"listIntervalEndTime": "2020-12-28T12:01:54.851528+08:00"
}
2020/11/23 17:03:22.300 [D] [server.go:2843] <====Send RequestId:PUT./list-interval/22.1606122202214450000 BodyData:{"code":0,"data":{"listIntervalId":22,"companyId":381,"intervalStartTime":"2020-12-21T00:00:00+08:00","intervalEndTime":"2020-12-28T23:59:59+08:00"},"msg":"ok"}
2020/11/23 17:03:22.300 [D] [server.go:1925] | 127.0.0.1| 200 | 86.402751ms| match| PUT  /list-interval/22 r:/list-interval/:listId
2020/11/23 17:03:28.311 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606122208311334000
Auth=
BodyData:{
"listIntervalStartTime": "2020-12-21T12:01:54.851528+08:00",
"listIntervalEndTime": "2020-12-21T12:01:54.851528+08:00"
}
2020/11/23 17:03:28.395 [D] [server.go:2843] <====Send RequestId:PUT./list-interval/22.1606122208311334000 BodyData:{"code":0,"data":{"listIntervalId":22,"companyId":381,"intervalStartTime":"2020-12-21T00:00:00+08:00","intervalEndTime":"2020-12-21T23:59:59+08:00"},"msg":"ok"}
2020/11/23 17:03:28.395 [D] [server.go:1925] | 127.0.0.1| 200 | 84.646702ms| match| PUT  /list-interval/22 r:/list-interval/:listId
2020/11/23 17:11:27.621 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./list-interval/?companyId=381&offset=0&limit=20.1606122687621421000
Auth=
BodyData:{}
2020/11/23 17:11:27.741 [D] [server.go:2843] <====Send RequestId:GET./list-interval/?companyId=381&offset=0&limit=20.1606122687621421000 BodyData:{"code":0,"data":{"count":3,"listIntervals":[{"listIntervalId":23,"companyId":381,"intervalStartTime":"2020-12-22T00:00:00+08:00","intervalEndTime":"2020-12-26T23:59:59+08:00"},{"listIntervalId":22,"companyId":381,"intervalStartTime":"2020-12-21T00:00:00+08:00","intervalEndTime":"2020-12-21T23:59:59+08:00"},{"listIntervalId":21,"companyId":381,"intervalStartTime":"2020-12-18T00:00:00+08:00","intervalEndTime":"2020-12-20T23:59:59+08:00"}]},"msg":"ok"}
2020/11/23 17:11:27.741 [D] [server.go:1925] | 127.0.0.1| 200 | 120.18756ms| match| GET  /list-interval/ r:/list-interval/
2020/11/23 17:18:02.202 [I] [???:0] http server Running on http://:8082
2020/11/23 17:18:21.682 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./cash-pool/activity/?companyId=358&offset=0&limit=20&isEnd=true.1606123101682637000
Auth=
BodyData:{}
2020/11/23 17:18:21.768 [D] [server.go:2843] <====Send RequestId:GET./cash-pool/activity/?companyId=358&offset=0&limit=20&isEnd=true.1606123101682637000 BodyData:{"code":0,"data":{"activities":[],"count":0},"msg":"ok"}
2020/11/23 17:18:21.768 [D] [server.go:1925] | 127.0.0.1| 200 | 86.366848ms| match| GET  /cash-pool/activity/ r:/cash-pool/activity/
... ...
... ... @@ -211,14 +211,12 @@ func (listIntervalService *ListIntervalService) UpdateListInterval(updateListInt
return nil, application.ThrowError(application.RES_NO_FIND_ERROR, fmt.Sprintf("%s", string(updateListIntervalCommand.ListIntervalId)))
}
listIntervalFoundIntervalStartTime := listIntervalFound.IntervalStartTime.Local()
listIntervalFoundIntervalEndTime := listIntervalFound.IntervalEndTime.Local()
//listIntervalFoundIntervalStartTime := listIntervalFound.IntervalStartTime.Local()
//listIntervalFoundIntervalEndTime := listIntervalFound.IntervalEndTime.Local()
// 获取榜单命令
listListIntervalQuery := &query.ListListIntervalQuery {
CompanyId: listIntervalFound.CompanyId,
Offset: 1,
Limit: 1,
}
//获取所有年榜
... ... @@ -229,32 +227,69 @@ func (listIntervalService *ListIntervalService) UpdateListInterval(updateListInt
var currentListIntervalIndex int
// 当前更新的开始结束时间
startTime := time.Date(updateListIntervalCommand.ListIntervalStartTime.Local().Year(), updateListIntervalCommand.ListIntervalStartTime.Local().Month(), updateListIntervalCommand.ListIntervalStartTime.Local().Day(), 0, 0, 0, 0, time.Local)
endTime := time.Date(updateListIntervalCommand.ListIntervalEndTime.Local().Year(), updateListIntervalCommand.ListIntervalEndTime.Local().Month(), updateListIntervalCommand.ListIntervalEndTime.Local().Day(), 23, 59, 59, 0, time.Local)
updateListIntervalCommand.ListIntervalStartTime = startTime
updateListIntervalCommand.ListIntervalEndTime = endTime
// 判断年榜时间是否和上个年榜重叠
if len(listIntervals) > 0 {
// 找到当前排行榜所处位置
for i, listInterval := range listIntervals {
// 找到当前排行榜及排行榜所处位置
if listInterval.IntervalStartTime.Local().Equal(listIntervalFoundIntervalStartTime) && listInterval.IntervalEndTime.Local().Equal(listIntervalFoundIntervalEndTime) {
if listInterval.ListIntervalId == listIntervalFound.ListIntervalId {
currentListIntervalIndex = i
}
}
// 判断年榜时间重叠
if currentListIntervalIndex == 0 { // 当前排行榜时间为最新的,更新时开始时间不能小于等于上个活动结束时间
if startTime.Before(listIntervals[currentListIntervalIndex + 1].IntervalEndTime.Local()) || startTime.Equal(listIntervals[currentListIntervalIndex + 1].IntervalEndTime.Local()) { // 开始时间重叠判断
fmt.Print(currentListIntervalIndex, "\n")
if currentListIntervalIndex == 0 && len(listIntervals) > 1 { // 当前排行榜在首位,且不止一个活动
// 上一个活动开始结束时间
//lastIntervalStartTime := listIntervals[currentListIntervalIndex + 1].IntervalStartTime.Local()
lastIntervalEndTime := listIntervals[currentListIntervalIndex + 1].IntervalEndTime.Local()
if startTime.Before(lastIntervalEndTime) || startTime.Equal(lastIntervalEndTime) { // 开始时间重叠判断
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "年榜时间不能重叠")
}
} else if currentListIntervalIndex != 0 { // 当前排行榜不在首位
// 上一个年榜开始结束时间
lastIntervalStartTime := listIntervals[currentListIntervalIndex + 1].IntervalStartTime.Local()
lastIntervalEndTime := listIntervals[currentListIntervalIndex + 1].IntervalEndTime.Local()
// 下一个年榜开始结束时间
nextIntervalStartTime := listIntervals[currentListIntervalIndex - 1].IntervalStartTime.Local()
nextIntervalEndTime := listIntervals[currentListIntervalIndex - 1].IntervalEndTime.Local()
// 开始时间大于上一个年榜结束时间且结束时间大于下一个年榜开始时间
if startTime.Before(lastIntervalEndTime) && endTime.After(nextIntervalEndTime) {
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "年榜时间不能重叠")
}
// 开始时间小于上一个年榜结束时间且结束时间小于下一个年榜开始时间
if startTime.Before(lastIntervalEndTime) && endTime.Before(nextIntervalStartTime) {
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "年榜时间不能重叠")
}
// 开始时间小于上一个年榜结束时间且结束时间大于下一个年榜开始时间
if startTime.Before(lastIntervalEndTime) && endTime.After(nextIntervalStartTime) {
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "年榜时间不能重叠")
}
// 开始时间大于下一个年榜开始时间
if startTime.After(nextIntervalStartTime) {
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "年榜时间不能重叠")
}
} else if currentListIntervalIndex > 0 { // 当前排行榜时间非最新,需要和上一个排行榜时间以及下一个排行榜时间对比
// 结束时间不能大于下一个活动开始时间
if endTime.After(listIntervals[currentListIntervalIndex - 1].IntervalStartTime.Local()) || endTime.Equal(listIntervals[currentListIntervalIndex - 1].IntervalEndTime.Local()) { // 判断是否和上一个年榜时间重叠
// 开始时间大于下一个年榜开始时间且结束时间大于下一个年榜结束时间
if startTime.After(nextIntervalStartTime) && endTime.After(nextIntervalEndTime) {
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "年榜时间不能重叠")
}
// 开始时间不能小于上一个活动结束时间
if startTime.Before(listIntervals[currentListIntervalIndex + 1].IntervalEndTime.Local()) || startTime.Equal(listIntervals[currentListIntervalIndex + 1].IntervalEndTime.Local()) { // 判断和下一个年榜时间是否重叠
// 开始时间小于上一个年榜开始时间且结束时间小于上一个年榜结束时间
if startTime.Before(lastIntervalStartTime) && endTime.Before(lastIntervalEndTime) {
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "年榜时间不能重叠")
}
}
... ...
... ... @@ -627,10 +627,10 @@ func (cashPoolService *CashPoolService) ListExchangeCashActivity(listExchangeCas
// 兑换现金活动返回截止时间处理
var activitiesWithTs []interface{}
currentTime := time.Now().Local()
//currentTime := time.Now().Local()
//endTime := time.Date(currentTime.Year(), currentTime.Month(), currentTime.Day(), 23, 59, 59, 0, currentTime.Location())
for _, activity := range activities {
if activity.Deadline.UnixNano() / 1e6 >= currentTime.UnixNano() / 1e6 {
//if activity.Deadline.UnixNano() / 1e6 >= currentTime.UnixNano() / 1e6 {
cash, _ := strconv.ParseFloat(fmt.Sprintf("%.2f", activity.ExchangedCash), 64)
suMoney, _ := strconv.ParseFloat(fmt.Sprintf("%.2f", activity.ExchangedSuMoney), 64)
activityWithTs := map[string]interface{} {
... ... @@ -645,7 +645,7 @@ func (cashPoolService *CashPoolService) ListExchangeCashActivity(listExchangeCas
"createTime": activity.CreateTime.Local(),
}
activitiesWithTs = append(activitiesWithTs, activityWithTs)
}
//}
}
if len(activitiesWithTs) == 0 {
... ...
... ... @@ -81,7 +81,7 @@ func (repository *ExchangeCashActivityRepository) Find(queryOptions map[string]i
var exchangeCashActivityModels []*models.ExchangeCashActivity
exchangeCashActivities := make([]*domain.ExchangeCashActivity, 0)
query := tx.Model(&exchangeCashActivityModels)
fmt.Printf("查询:%+v\n", queryOptions)
//fmt.Printf("查询:%+v\n", queryOptions)
if companyId, ok := queryOptions["companyId"]; ok {
query = query.Where(`exchange_cash_activity.company_id = ?`, companyId)
}
... ...