作者 陈志颖

test:过期活动列表

@@ -189,3 +189,464 @@ @@ -189,3 +189,464 @@
189 2020/11/23 15:19:26.289 [I] [???:0] http server Running on http://:8082 189 2020/11/23 15:19:26.289 [I] [???:0] http server Running on http://:8082
190 2020/11/23 15:26:30.018 [I] [???:0] http server Running on http://:8082 190 2020/11/23 15:26:30.018 [I] [???:0] http server Running on http://:8082
191 2020/11/23 15:32:51.170 [I] [???:0] http server Running on http://:8082 191 2020/11/23 15:32:51.170 [I] [???:0] http server Running on http://:8082
  192 +2020/11/23 15:33:22.470 [I] [???:0] http server Running on http://:8082
  193 +2020/11/23 15:45:22.858 [I] [???:0] http server Running on http://:8082
  194 +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
  195 + Auth=
  196 + BodyData:{}
  197 +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"}
  198 +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/
  199 +2020/11/23 15:46:09.579 [D] [server.go:2843] ====>Recv User:<nil> RequestId:DELETE./list-interval/20.1606117569579944000
  200 + Auth=
  201 + BodyData:{}
  202 +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"}
  203 +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
  204 +2020/11/23 15:46:13.013 [D] [server.go:2843] ====>Recv User:<nil> RequestId:DELETE./list-interval/7.1606117573013003000
  205 + Auth=
  206 + BodyData:{}
  207 +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"}
  208 +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
  209 +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
  210 + Auth=
  211 + BodyData:{}
  212 +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"}
  213 +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/
  214 +2020/11/23 15:47:21.342 [D] [server.go:2843] ====>Recv User:<nil> RequestId:POST./list-interval/.1606117641342021000
  215 + Auth=
  216 + BodyData:{
  217 + "companyId": 381,
  218 + "listIntervalStartTime": "2020-12-18T12:02:55.851528+08:00",
  219 + "listIntervalEndTime": "2020-12-20T12:01:54.851528+08:00"
  220 +}
  221 +2020/11/23 15:47:21.353 [D] [server.go:2843] <====Send RequestId:POST./list-interval/.1606117641342021000 BodyData:{"code":501,"msg":"内部服务出错:年榜开始时间必须大于上一个年榜结束时间"}
  222 +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/
  223 +2020/11/23 15:47:31.436 [D] [server.go:2843] ====>Recv User:<nil> RequestId:POST./list-interval/.1606117651436187000
  224 + Auth=
  225 + BodyData:{
  226 + "companyId": 381,
  227 + "listIntervalStartTime": "2020-12-19T12:02:55.851528+08:00",
  228 + "listIntervalEndTime": "2020-12-20T12:01:54.851528+08:00"
  229 +}
  230 +2020/11/23 15:47:31.475 [D] [server.go:2843] <====Send RequestId:POST./list-interval/.1606117651436187000 BodyData:{"code":501,"msg":"内部服务出错:年榜开始时间必须大于上一个年榜结束时间"}
  231 +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/
  232 +2020/11/23 15:47:38.450 [D] [server.go:2843] ====>Recv User:<nil> RequestId:POST./list-interval/.1606117658450720000
  233 + Auth=
  234 + BodyData:{
  235 + "companyId": 381,
  236 + "listIntervalStartTime": "2020-12-20T12:02:55.851528+08:00",
  237 + "listIntervalEndTime": "2020-12-20T12:01:54.851528+08:00"
  238 +}
  239 +2020/11/23 15:47:38.491 [D] [server.go:2843] <====Send RequestId:POST./list-interval/.1606117658450720000 BodyData:{"code":501,"msg":"内部服务出错:年榜开始时间必须大于上一个年榜结束时间"}
  240 +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/
  241 +2020/11/23 15:47:44.751 [D] [server.go:2843] ====>Recv User:<nil> RequestId:POST./list-interval/.1606117664751027000
  242 + Auth=
  243 + BodyData:{
  244 + "companyId": 381,
  245 + "listIntervalStartTime": "2020-12-21T12:02:55.851528+08:00",
  246 + "listIntervalEndTime": "2020-12-21T12:01:54.851528+08:00"
  247 +}
  248 +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"}
  249 +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/
  250 +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
  251 + Auth=
  252 + BodyData:{}
  253 +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"}
  254 +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/
  255 +2020/11/23 15:49:45.783 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606117785783000000
  256 + Auth=
  257 + BodyData:{
  258 + "listIntervalStartTime": "2020-12-21T12:01:54.851528+08:00",
  259 + "listIntervalEndTime": "2020-12-21T12:01:54.851528+08:00"
  260 +}
  261 +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"}
  262 +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
  263 +2020/11/23 15:50:05.539 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606117805539529000
  264 + Auth=
  265 + BodyData:{
  266 + "listIntervalStartTime": "2020-12-20T12:01:54.851528+08:00",
  267 + "listIntervalEndTime": "2020-12-21T12:01:54.851528+08:00"
  268 +}
  269 +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"}
  270 +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
  271 +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
  272 + Auth=
  273 + BodyData:{}
  274 +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"}
  275 +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/
  276 +2020/11/23 15:50:55.577 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606117855577291000
  277 + Auth=
  278 + BodyData:{
  279 + "listIntervalStartTime": "2020-12-19T12:01:54.851528+08:00",
  280 + "listIntervalEndTime": "2020-12-21T12:01:54.851528+08:00"
  281 +}
  282 +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"}
  283 +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
  284 +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
  285 + Auth=
  286 + BodyData:{}
  287 +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"}
  288 +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/
  289 +2020/11/23 15:52:39.266 [I] [???:0] http server Running on http://:8082
  290 +2020/11/23 15:53:35.958 [D] [server.go:2843] ====>Recv User:<nil> RequestId:POST./list-interval/.1606118015958230000
  291 + Auth=
  292 + BodyData:{
  293 + "companyId": 381,
  294 + "listIntervalStartTime": "2020-12-21T12:02:55.851528+08:00",
  295 + "listIntervalEndTime": "2020-12-21T12:01:54.851528+08:00"
  296 +}
  297 +2020/11/23 15:53:36.654 [D] [server.go:2843] <====Send RequestId:POST./list-interval/.1606118015958230000 BodyData:{"code":501,"msg":"内部服务出错:年榜开始时间必须大于上一个年榜结束时间"}
  298 +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/
  299 +2020/11/23 15:53:44.261 [D] [server.go:2843] ====>Recv User:<nil> RequestId:POST./list-interval/.1606118024261775000
  300 + Auth=
  301 + BodyData:{
  302 + "companyId": 381,
  303 + "listIntervalStartTime": "2020-12-22T12:02:55.851528+08:00",
  304 + "listIntervalEndTime": "2020-12-26T12:01:54.851528+08:00"
  305 +}
  306 +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"}
  307 +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/
  308 +2020/11/23 15:55:21.311 [I] [???:0] http server Running on http://:8082
  309 +2020/11/23 15:56:41.895 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606118201895683000
  310 + Auth=
  311 + BodyData:{
  312 + "listIntervalStartTime": "2020-12-19T12:01:54.851528+08:00",
  313 + "listIntervalEndTime": "2020-12-21T12:01:54.851528+08:00"
  314 +}
  315 +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"}
  316 +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
  317 +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
  318 + Auth=
  319 + BodyData:{}
  320 +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"}
  321 +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/
  322 +2020/11/23 15:57:19.808 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606118239808811000
  323 + Auth=
  324 + BodyData:{
  325 + "listIntervalStartTime": "2020-12-19T12:01:54.851528+08:00",
  326 + "listIntervalEndTime": "2020-12-21T12:01:54.851528+08:00"
  327 +}
  328 +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"}
  329 +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
  330 +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
  331 + Auth=
  332 + BodyData:{}
  333 +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"}
  334 +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/
  335 +2020/11/23 15:58:11.063 [I] [???:0] http server Running on http://:8082
  336 +2020/11/23 15:58:32.561 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606118312561256000
  337 + Auth=
  338 + BodyData:{
  339 + "listIntervalStartTime": "2020-12-19T12:01:54.851528+08:00",
  340 + "listIntervalEndTime": "2020-12-21T12:01:54.851528+08:00"
  341 +}
  342 +2020/11/23 15:58:32.578 [D] [server.go:2843] <====Send RequestId:PUT./list-interval/22.1606118312561256000 BodyData:{"code":501,"msg":"内部服务出错:年榜时间不能重叠"}
  343 +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
  344 +2020/11/23 16:01:39.011 [I] [???:0] http server Running on http://:8082
  345 +2020/11/23 16:01:55.734 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606118515734406000
  346 + Auth=
  347 + BodyData:{
  348 + "listIntervalStartTime": "2020-12-19T12:01:54.851528+08:00",
  349 + "listIntervalEndTime": "2020-12-21T12:01:54.851528+08:00"
  350 +}
  351 +2020/11/23 16:01:56.132 [D] [server.go:2843] <====Send RequestId:PUT./list-interval/22.1606118515734406000 BodyData:{"code":501,"msg":"内部服务出错:年榜时间不能重叠"}
  352 +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
  353 +2020/11/23 16:02:49.268 [I] [???:0] http server Running on http://:8082
  354 +2020/11/23 16:02:57.432 [I] [???:0] http server Running on http://:8082
  355 +2020/11/23 16:02:59.440 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606118579440138000
  356 + Auth=
  357 + BodyData:{
  358 + "listIntervalStartTime": "2020-12-19T12:01:54.851528+08:00",
  359 + "listIntervalEndTime": "2020-12-21T12:01:54.851528+08:00"
  360 +}
  361 +2020/11/23 16:02:59.530 [D] [server.go:2843] <====Send RequestId:PUT./list-interval/22.1606118579440138000 BodyData:{"code":501,"msg":"内部服务出错:年榜时间不能重叠"}
  362 +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
  363 +2020/11/23 16:06:12.821 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606118772821682000
  364 + Auth=
  365 + BodyData:{
  366 + "listIntervalStartTime": "2020-12-20T12:01:54.851528+08:00",
  367 + "listIntervalEndTime": "2020-12-21T12:01:54.851528+08:00"
  368 +}
  369 +2020/11/23 16:06:12.996 [D] [server.go:2843] <====Send RequestId:PUT./list-interval/22.1606118772821682000 BodyData:{"code":501,"msg":"内部服务出错:年榜时间不能重叠"}
  370 +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
  371 +2020/11/23 16:06:17.399 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606118777399422000
  372 + Auth=
  373 + BodyData:{
  374 + "listIntervalStartTime": "2020-12-20T12:01:54.851528+08:00",
  375 + "listIntervalEndTime": "2020-12-22T12:01:54.851528+08:00"
  376 +}
  377 +2020/11/23 16:06:17.483 [D] [server.go:2843] <====Send RequestId:PUT./list-interval/22.1606118777399422000 BodyData:{"code":501,"msg":"内部服务出错:年榜时间不能重叠"}
  378 +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
  379 +2020/11/23 16:06:22.988 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606118782988763000
  380 + Auth=
  381 + BodyData:{
  382 + "listIntervalStartTime": "2020-12-22T12:01:54.851528+08:00",
  383 + "listIntervalEndTime": "2020-12-23T12:01:54.851528+08:00"
  384 +}
  385 +2020/11/23 16:06:23.088 [D] [server.go:2843] <====Send RequestId:PUT./list-interval/22.1606118782988763000 BodyData:{"code":501,"msg":"内部服务出错:年榜时间不能重叠"}
  386 +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
  387 +2020/11/23 16:06:45.945 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606118805945596000
  388 + Auth=
  389 + BodyData:{
  390 + "listIntervalStartTime": "2020-12-27T12:01:54.851528+08:00",
  391 + "listIntervalEndTime": "2020-12-28T12:01:54.851528+08:00"
  392 +}
  393 +2020/11/23 16:06:46.006 [D] [server.go:2843] <====Send RequestId:PUT./list-interval/22.1606118805945596000 BodyData:{"code":501,"msg":"内部服务出错:年榜时间不能重叠"}
  394 +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
  395 +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
  396 + Auth=
  397 + BodyData:{}
  398 +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"}
  399 +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/
  400 +2020/11/23 16:08:42.965 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606118922965734000
  401 + Auth=
  402 + BodyData:{
  403 + "listIntervalStartTime": "2020-12-27T12:01:54.851528+08:00",
  404 + "listIntervalEndTime": "2020-12-28T12:01:54.851528+08:00"
  405 +}
  406 +2020/11/23 16:11:11.789 [I] [???:0] http server Running on http://:8082
  407 +2020/11/23 16:11:14.278 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606119074278057000
  408 + Auth=
  409 + BodyData:{
  410 + "listIntervalStartTime": "2020-12-27T12:01:54.851528+08:00",
  411 + "listIntervalEndTime": "2020-12-28T12:01:54.851528+08:00"
  412 +}
  413 +2020/11/23 16:11:14.380 [D] [server.go:2843] <====Send RequestId:PUT./list-interval/22.1606119074278057000 BodyData:{"code":501,"msg":"内部服务出错:年榜时间不能重叠"}
  414 +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
  415 +2020/11/23 16:14:55.620 [I] [???:0] http server Running on http://:8082
  416 +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
  417 + Auth=
  418 + BodyData:{}
  419 +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"}
  420 +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/
  421 +2020/11/23 16:15:05.265 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606119305265931000
  422 + Auth=
  423 + BodyData:{
  424 + "listIntervalStartTime": "2020-12-27T12:01:54.851528+08:00",
  425 + "listIntervalEndTime": "2020-12-28T12:01:54.851528+08:00"
  426 +}
  427 +2020/11/23 16:15:05.284 [D] [server.go:2843] <====Send RequestId:PUT./list-interval/22.1606119305265931000 BodyData:{"code":501,"msg":"内部服务出错:年榜时间不能重叠"}
  428 +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
  429 +2020/11/23 16:15:21.742 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606119321742450000
  430 + Auth=
  431 + BodyData:{
  432 + "listIntervalStartTime": "2020-12-27T12:01:54.851528+08:00",
  433 + "listIntervalEndTime": "2020-12-28T12:01:54.851528+08:00"
  434 +}
  435 +2020/11/23 16:15:46.080 [D] [server.go:2843] <====Send RequestId:PUT./list-interval/22.1606119321742450000 BodyData:{"code":501,"msg":"内部服务出错:年榜时间不能重叠"}
  436 +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
  437 +2020/11/23 16:15:48.236 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606119348236951000
  438 + Auth=
  439 + BodyData:{
  440 + "listIntervalStartTime": "2020-12-27T12:01:54.851528+08:00",
  441 + "listIntervalEndTime": "2020-12-28T12:01:54.851528+08:00"
  442 +}
  443 +2020/11/23 16:16:09.874 [D] [server.go:2843] <====Send RequestId:PUT./list-interval/22.1606119348236951000 BodyData:{"code":501,"msg":"内部服务出错:年榜时间不能重叠"}
  444 +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
  445 +2020/11/23 16:34:26.409 [I] [???:0] http server Running on http://:8082
  446 +2020/11/23 16:34:29.237 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606120469237548000
  447 + Auth=
  448 + BodyData:{
  449 + "listIntervalStartTime": "2020-12-27T12:01:54.851528+08:00",
  450 + "listIntervalEndTime": "2020-12-28T12:01:54.851528+08:00"
  451 +}
  452 +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"}
  453 +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
  454 +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
  455 + Auth=
  456 + BodyData:{}
  457 +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"}
  458 +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/
  459 +2020/11/23 16:39:23.841 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606120763841174000
  460 + Auth=
  461 + BodyData:{
  462 + "listIntervalStartTime": "2020-12-23T12:01:54.851528+08:00",
  463 + "listIntervalEndTime": "2020-12-28T12:01:54.851528+08:00"
  464 +}
  465 +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"}
  466 +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
  467 +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
  468 + Auth=
  469 + BodyData:{}
  470 +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"}
  471 +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/
  472 +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
  473 + Auth=
  474 + BodyData:{}
  475 +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"}
  476 +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/
  477 +2020/11/23 16:48:14.777 [I] [???:0] http server Running on http://:8082
  478 +2020/11/23 16:48:16.326 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606121296326484000
  479 + Auth=
  480 + BodyData:{
  481 + "listIntervalStartTime": "2020-12-23T12:01:54.851528+08:00",
  482 + "listIntervalEndTime": "2020-12-28T12:01:54.851528+08:00"
  483 +}
  484 +2020/11/23 16:48:16.383 [D] [server.go:2843] <====Send RequestId:PUT./list-interval/22.1606121296326484000 BodyData:{"code":501,"msg":"内部服务出错:年榜时间不能重叠"}
  485 +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
  486 +2020/11/23 16:48:38.519 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606121318519690000
  487 + Auth=
  488 + BodyData:{
  489 + "listIntervalStartTime": "2020-12-21T12:01:54.851528+08:00",
  490 + "listIntervalEndTime": "2020-12-21T12:01:54.851528+08:00"
  491 +}
  492 +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"}
  493 +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
  494 +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
  495 + Auth=
  496 + BodyData:{}
  497 +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"}
  498 +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/
  499 +2020/11/23 16:48:59.431 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606121339431440000
  500 + Auth=
  501 + BodyData:{
  502 + "listIntervalStartTime": "2020-12-18T12:01:54.851528+08:00",
  503 + "listIntervalEndTime": "2020-12-21T12:01:54.851528+08:00"
  504 +}
  505 +2020/11/23 16:48:59.485 [D] [server.go:2843] <====Send RequestId:PUT./list-interval/22.1606121339431440000 BodyData:{"code":501,"msg":"内部服务出错:年榜时间不能重叠"}
  506 +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
  507 +2020/11/23 16:49:04.801 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606121344801507000
  508 + Auth=
  509 + BodyData:{
  510 + "listIntervalStartTime": "2020-12-21T12:01:54.851528+08:00",
  511 + "listIntervalEndTime": "2020-12-21T12:01:54.851528+08:00"
  512 +}
  513 +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"}
  514 +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
  515 +2020/11/23 16:49:06.047 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606121346047011000
  516 + Auth=
  517 + BodyData:{
  518 + "listIntervalStartTime": "2020-12-21T12:01:54.851528+08:00",
  519 + "listIntervalEndTime": "2020-12-21T12:01:54.851528+08:00"
  520 +}
  521 +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"}
  522 +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
  523 +2020/11/23 16:49:06.935 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606121346935547000
  524 + Auth=
  525 + BodyData:{
  526 + "listIntervalStartTime": "2020-12-21T12:01:54.851528+08:00",
  527 + "listIntervalEndTime": "2020-12-21T12:01:54.851528+08:00"
  528 +}
  529 +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"}
  530 +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
  531 +2020/11/23 16:51:18.181 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606121478180970000
  532 + Auth=
  533 + BodyData:{
  534 + "listIntervalStartTime": "2020-12-21T12:01:54.851528+08:00",
  535 + "listIntervalEndTime": "2020-12-21T12:01:54.851528+08:00"
  536 +}
  537 +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"}
  538 +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
  539 +2020/11/23 16:52:00.829 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606121520829575000
  540 + Auth=
  541 + BodyData:{
  542 + "listIntervalStartTime": "2020-12-19T12:01:54.851528+08:00",
  543 + "listIntervalEndTime": "2020-12-21T12:01:54.851528+08:00"
  544 +}
  545 +2020/11/23 16:52:01.171 [D] [server.go:2843] <====Send RequestId:PUT./list-interval/22.1606121520829575000 BodyData:{"code":501,"msg":"内部服务出错:年榜时间不能重叠"}
  546 +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
  547 +2020/11/23 16:52:15.327 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606121535327658000
  548 + Auth=
  549 + BodyData:{
  550 + "listIntervalStartTime": "2020-12-17T12:01:54.851528+08:00",
  551 + "listIntervalEndTime": "2020-12-21T12:01:54.851528+08:00"
  552 +}
  553 +2020/11/23 16:52:15.439 [D] [server.go:2843] <====Send RequestId:PUT./list-interval/22.1606121535327658000 BodyData:{"code":501,"msg":"内部服务出错:年榜时间不能重叠"}
  554 +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
  555 +2020/11/23 16:52:25.368 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606121545368812000
  556 + Auth=
  557 + BodyData:{
  558 + "listIntervalStartTime": "2020-12-17T12:01:54.851528+08:00",
  559 + "listIntervalEndTime": "2020-12-28T12:01:54.851528+08:00"
  560 +}
  561 +2020/11/23 16:52:25.371 [D] [server.go:2843] <====Send RequestId:PUT./list-interval/22.1606121545368812000 BodyData:{"code":501,"msg":"内部服务出错:年榜时间不能重叠"}
  562 +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
  563 +2020/11/23 16:52:39.658 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606121559658846000
  564 + Auth=
  565 + BodyData:{
  566 + "listIntervalStartTime": "2020-12-21T12:01:54.851528+08:00",
  567 + "listIntervalEndTime": "2020-12-21T12:01:54.851528+08:00"
  568 +}
  569 +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"}
  570 +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
  571 +2020/11/23 16:52:49.178 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606121569178737000
  572 + Auth=
  573 + BodyData:{
  574 + "listIntervalStartTime": "2020-12-21T12:01:54.851528+08:00",
  575 + "listIntervalEndTime": "2020-12-28T12:01:54.851528+08:00"
  576 +}
  577 +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"}
  578 +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
  579 +2020/11/23 17:00:37.459 [I] [???:0] http server Running on http://:8082
  580 +2020/11/23 17:00:40.607 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606122040607841000
  581 + Auth=
  582 + BodyData:{
  583 + "listIntervalStartTime": "2020-12-21T12:01:54.851528+08:00",
  584 + "listIntervalEndTime": "2020-12-21T12:01:54.851528+08:00"
  585 +}
  586 +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"}
  587 +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
  588 +2020/11/23 17:00:53.852 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606122053852679000
  589 + Auth=
  590 + BodyData:{
  591 + "listIntervalStartTime": "2020-12-21T12:01:54.851528+08:00",
  592 + "listIntervalEndTime": "2020-12-28T12:01:54.851528+08:00"
  593 +}
  594 +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"}
  595 +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
  596 +2020/11/23 17:01:22.941 [I] [???:0] http server Running on http://:8082
  597 +2020/11/23 17:02:03.190 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606122123190381000
  598 + Auth=
  599 + BodyData:{
  600 + "listIntervalStartTime": "2020-12-21T12:01:54.851528+08:00",
  601 + "listIntervalEndTime": "2020-12-28T12:01:54.851528+08:00"
  602 +}
  603 +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"}
  604 +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
  605 +2020/11/23 17:02:07.578 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606122127578105000
  606 + Auth=
  607 + BodyData:{
  608 + "listIntervalStartTime": "2020-12-21T12:01:54.851528+08:00",
  609 + "listIntervalEndTime": "2020-12-21T12:01:54.851528+08:00"
  610 +}
  611 +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"}
  612 +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
  613 +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
  614 + Auth=
  615 + BodyData:{}
  616 +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"}
  617 +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/
  618 +2020/11/23 17:03:14.925 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606122194925377000
  619 + Auth=
  620 + BodyData:{
  621 + "listIntervalStartTime": "2020-12-21T12:01:54.851528+08:00",
  622 + "listIntervalEndTime": "2020-12-21T12:01:54.851528+08:00"
  623 +}
  624 +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"}
  625 +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
  626 +2020/11/23 17:03:22.214 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606122202214450000
  627 + Auth=
  628 + BodyData:{
  629 + "listIntervalStartTime": "2020-12-21T12:01:54.851528+08:00",
  630 + "listIntervalEndTime": "2020-12-28T12:01:54.851528+08:00"
  631 +}
  632 +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"}
  633 +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
  634 +2020/11/23 17:03:28.311 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./list-interval/22.1606122208311334000
  635 + Auth=
  636 + BodyData:{
  637 + "listIntervalStartTime": "2020-12-21T12:01:54.851528+08:00",
  638 + "listIntervalEndTime": "2020-12-21T12:01:54.851528+08:00"
  639 +}
  640 +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"}
  641 +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
  642 +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
  643 + Auth=
  644 + BodyData:{}
  645 +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"}
  646 +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/
  647 +2020/11/23 17:18:02.202 [I] [???:0] http server Running on http://:8082
  648 +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
  649 + Auth=
  650 + BodyData:{}
  651 +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"}
  652 +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 @@ -211,14 +211,12 @@ func (listIntervalService *ListIntervalService) UpdateListInterval(updateListInt
211 return nil, application.ThrowError(application.RES_NO_FIND_ERROR, fmt.Sprintf("%s", string(updateListIntervalCommand.ListIntervalId))) 211 return nil, application.ThrowError(application.RES_NO_FIND_ERROR, fmt.Sprintf("%s", string(updateListIntervalCommand.ListIntervalId)))
212 } 212 }
213 213
214 - listIntervalFoundIntervalStartTime := listIntervalFound.IntervalStartTime.Local()  
215 - listIntervalFoundIntervalEndTime := listIntervalFound.IntervalEndTime.Local() 214 + //listIntervalFoundIntervalStartTime := listIntervalFound.IntervalStartTime.Local()
  215 + //listIntervalFoundIntervalEndTime := listIntervalFound.IntervalEndTime.Local()
216 216
217 // 获取榜单命令 217 // 获取榜单命令
218 listListIntervalQuery := &query.ListListIntervalQuery { 218 listListIntervalQuery := &query.ListListIntervalQuery {
219 CompanyId: listIntervalFound.CompanyId, 219 CompanyId: listIntervalFound.CompanyId,
220 - Offset: 1,  
221 - Limit: 1,  
222 } 220 }
223 221
224 //获取所有年榜 222 //获取所有年榜
@@ -229,32 +227,69 @@ func (listIntervalService *ListIntervalService) UpdateListInterval(updateListInt @@ -229,32 +227,69 @@ func (listIntervalService *ListIntervalService) UpdateListInterval(updateListInt
229 227
230 var currentListIntervalIndex int 228 var currentListIntervalIndex int
231 229
  230 + // 当前更新的开始结束时间
232 startTime := time.Date(updateListIntervalCommand.ListIntervalStartTime.Local().Year(), updateListIntervalCommand.ListIntervalStartTime.Local().Month(), updateListIntervalCommand.ListIntervalStartTime.Local().Day(), 0, 0, 0, 0, time.Local) 231 startTime := time.Date(updateListIntervalCommand.ListIntervalStartTime.Local().Year(), updateListIntervalCommand.ListIntervalStartTime.Local().Month(), updateListIntervalCommand.ListIntervalStartTime.Local().Day(), 0, 0, 0, 0, time.Local)
233 endTime := time.Date(updateListIntervalCommand.ListIntervalEndTime.Local().Year(), updateListIntervalCommand.ListIntervalEndTime.Local().Month(), updateListIntervalCommand.ListIntervalEndTime.Local().Day(), 23, 59, 59, 0, time.Local) 232 endTime := time.Date(updateListIntervalCommand.ListIntervalEndTime.Local().Year(), updateListIntervalCommand.ListIntervalEndTime.Local().Month(), updateListIntervalCommand.ListIntervalEndTime.Local().Day(), 23, 59, 59, 0, time.Local)
234 233
  234 + updateListIntervalCommand.ListIntervalStartTime = startTime
  235 + updateListIntervalCommand.ListIntervalEndTime = endTime
  236 +
235 // 判断年榜时间是否和上个年榜重叠 237 // 判断年榜时间是否和上个年榜重叠
236 if len(listIntervals) > 0 { 238 if len(listIntervals) > 0 {
  239 +
  240 + // 找到当前排行榜所处位置
237 for i, listInterval := range listIntervals { 241 for i, listInterval := range listIntervals {
238 - // 找到当前排行榜及排行榜所处位置  
239 - if listInterval.IntervalStartTime.Local().Equal(listIntervalFoundIntervalStartTime) && listInterval.IntervalEndTime.Local().Equal(listIntervalFoundIntervalEndTime) { 242 + if listInterval.ListIntervalId == listIntervalFound.ListIntervalId {
240 currentListIntervalIndex = i 243 currentListIntervalIndex = i
241 } 244 }
242 } 245 }
243 246
244 - // 判断年榜时间重叠  
245 - if currentListIntervalIndex == 0 { // 当前排行榜时间为最新的,更新时开始时间不能小于等于上个活动结束时间  
246 - if startTime.Before(listIntervals[currentListIntervalIndex + 1].IntervalEndTime.Local()) || startTime.Equal(listIntervals[currentListIntervalIndex + 1].IntervalEndTime.Local()) { // 开始时间重叠判断 247 + fmt.Print(currentListIntervalIndex, "\n")
  248 +
  249 + if currentListIntervalIndex == 0 && len(listIntervals) > 1 { // 当前排行榜在首位,且不止一个活动
  250 + // 上一个活动开始结束时间
  251 + //lastIntervalStartTime := listIntervals[currentListIntervalIndex + 1].IntervalStartTime.Local()
  252 + lastIntervalEndTime := listIntervals[currentListIntervalIndex + 1].IntervalEndTime.Local()
  253 +
  254 + if startTime.Before(lastIntervalEndTime) || startTime.Equal(lastIntervalEndTime) { // 开始时间重叠判断
  255 + return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "年榜时间不能重叠")
  256 + }
  257 + } else if currentListIntervalIndex != 0 { // 当前排行榜不在首位
  258 + // 上一个年榜开始结束时间
  259 + lastIntervalStartTime := listIntervals[currentListIntervalIndex + 1].IntervalStartTime.Local()
  260 + lastIntervalEndTime := listIntervals[currentListIntervalIndex + 1].IntervalEndTime.Local()
  261 +
  262 + // 下一个年榜开始结束时间
  263 + nextIntervalStartTime := listIntervals[currentListIntervalIndex - 1].IntervalStartTime.Local()
  264 + nextIntervalEndTime := listIntervals[currentListIntervalIndex - 1].IntervalEndTime.Local()
  265 +
  266 + // 开始时间大于上一个年榜结束时间且结束时间大于下一个年榜开始时间
  267 + if startTime.Before(lastIntervalEndTime) && endTime.After(nextIntervalEndTime) {
  268 + return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "年榜时间不能重叠")
  269 + }
  270 +
  271 + // 开始时间小于上一个年榜结束时间且结束时间小于下一个年榜开始时间
  272 + if startTime.Before(lastIntervalEndTime) && endTime.Before(nextIntervalStartTime) {
  273 + return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "年榜时间不能重叠")
  274 + }
  275 +
  276 + // 开始时间小于上一个年榜结束时间且结束时间大于下一个年榜开始时间
  277 + if startTime.Before(lastIntervalEndTime) && endTime.After(nextIntervalStartTime) {
  278 + return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "年榜时间不能重叠")
  279 + }
  280 +
  281 + // 开始时间大于下一个年榜开始时间
  282 + if startTime.After(nextIntervalStartTime) {
247 return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "年榜时间不能重叠") 283 return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "年榜时间不能重叠")
248 } 284 }
249 - } else if currentListIntervalIndex > 0 { // 当前排行榜时间非最新,需要和上一个排行榜时间以及下一个排行榜时间对比  
250 285
251 - // 结束时间不能大于下一个活动开始时间  
252 - if endTime.After(listIntervals[currentListIntervalIndex - 1].IntervalStartTime.Local()) || endTime.Equal(listIntervals[currentListIntervalIndex - 1].IntervalEndTime.Local()) { // 判断是否和上一个年榜时间重叠 286 + // 开始时间大于下一个年榜开始时间且结束时间大于下一个年榜结束时间
  287 + if startTime.After(nextIntervalStartTime) && endTime.After(nextIntervalEndTime) {
253 return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "年榜时间不能重叠") 288 return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "年榜时间不能重叠")
254 } 289 }
255 290
256 - // 开始时间不能小于上一个活动结束时间  
257 - if startTime.Before(listIntervals[currentListIntervalIndex + 1].IntervalEndTime.Local()) || startTime.Equal(listIntervals[currentListIntervalIndex + 1].IntervalEndTime.Local()) { // 判断和下一个年榜时间是否重叠 291 + // 开始时间小于上一个年榜开始时间且结束时间小于上一个年榜结束时间
  292 + if startTime.Before(lastIntervalStartTime) && endTime.Before(lastIntervalEndTime) {
258 return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "年榜时间不能重叠") 293 return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "年榜时间不能重叠")
259 } 294 }
260 } 295 }
@@ -627,10 +627,10 @@ func (cashPoolService *CashPoolService) ListExchangeCashActivity(listExchangeCas @@ -627,10 +627,10 @@ func (cashPoolService *CashPoolService) ListExchangeCashActivity(listExchangeCas
627 627
628 // 兑换现金活动返回截止时间处理 628 // 兑换现金活动返回截止时间处理
629 var activitiesWithTs []interface{} 629 var activitiesWithTs []interface{}
630 - currentTime := time.Now().Local() 630 + //currentTime := time.Now().Local()
631 //endTime := time.Date(currentTime.Year(), currentTime.Month(), currentTime.Day(), 23, 59, 59, 0, currentTime.Location()) 631 //endTime := time.Date(currentTime.Year(), currentTime.Month(), currentTime.Day(), 23, 59, 59, 0, currentTime.Location())
632 for _, activity := range activities { 632 for _, activity := range activities {
633 - if activity.Deadline.UnixNano() / 1e6 >= currentTime.UnixNano() / 1e6 { 633 + //if activity.Deadline.UnixNano() / 1e6 >= currentTime.UnixNano() / 1e6 {
634 cash, _ := strconv.ParseFloat(fmt.Sprintf("%.2f", activity.ExchangedCash), 64) 634 cash, _ := strconv.ParseFloat(fmt.Sprintf("%.2f", activity.ExchangedCash), 64)
635 suMoney, _ := strconv.ParseFloat(fmt.Sprintf("%.2f", activity.ExchangedSuMoney), 64) 635 suMoney, _ := strconv.ParseFloat(fmt.Sprintf("%.2f", activity.ExchangedSuMoney), 64)
636 activityWithTs := map[string]interface{} { 636 activityWithTs := map[string]interface{} {
@@ -645,7 +645,7 @@ func (cashPoolService *CashPoolService) ListExchangeCashActivity(listExchangeCas @@ -645,7 +645,7 @@ func (cashPoolService *CashPoolService) ListExchangeCashActivity(listExchangeCas
645 "createTime": activity.CreateTime.Local(), 645 "createTime": activity.CreateTime.Local(),
646 } 646 }
647 activitiesWithTs = append(activitiesWithTs, activityWithTs) 647 activitiesWithTs = append(activitiesWithTs, activityWithTs)
648 - } 648 + //}
649 } 649 }
650 650
651 if len(activitiesWithTs) == 0 { 651 if len(activitiesWithTs) == 0 {
@@ -81,7 +81,7 @@ func (repository *ExchangeCashActivityRepository) Find(queryOptions map[string]i @@ -81,7 +81,7 @@ func (repository *ExchangeCashActivityRepository) Find(queryOptions map[string]i
81 var exchangeCashActivityModels []*models.ExchangeCashActivity 81 var exchangeCashActivityModels []*models.ExchangeCashActivity
82 exchangeCashActivities := make([]*domain.ExchangeCashActivity, 0) 82 exchangeCashActivities := make([]*domain.ExchangeCashActivity, 0)
83 query := tx.Model(&exchangeCashActivityModels) 83 query := tx.Model(&exchangeCashActivityModels)
84 - fmt.Printf("查询:%+v\n", queryOptions) 84 + //fmt.Printf("查询:%+v\n", queryOptions)
85 if companyId, ok := queryOptions["companyId"]; ok { 85 if companyId, ok := queryOptions["companyId"]; ok {
86 query = query.Where(`exchange_cash_activity.company_id = ?`, companyId) 86 query = query.Where(`exchange_cash_activity.company_id = ?`, companyId)
87 } 87 }