正在显示
4 个修改的文件
包含
822 行增加
和
754 行删除
logs/app.2020-11-24.001.log
0 → 100644
1 | +2020/11/23 09:52:05.323 [I] [???:0] http server Running on http://:8082 | ||
2 | +2020/11/23 09:53:35.084 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./cash-pool/activity/93.1606096415083996000 | ||
3 | + Auth= | ||
4 | + BodyData:{ | ||
5 | + "exchangeActivityName": "这是更新后的公司10019的兑换活动,哈哈哈", | ||
6 | + "deadline": "2021-12-26T21:44:27.822562+08:00", | ||
7 | + "exchangeRate": 10 | ||
8 | +} | ||
9 | +2020/11/23 09:53:36.302 [D] [server.go:2843] <====Send RequestId:PUT./cash-pool/activity/93.1606096415083996000 BodyData:{"code":0,"data":{"activityId":93,"exchangeActivityName":"这是更新后的公司10019的兑换活动,哈哈哈","companyId":311,"exchangedCash":0,"exchangedSuMoney":0,"deadline":"2021-12-26T23:59:59+08:00","countDown":45,"rate":10,"createTime":"2020-11-22T21:44:27.822562+08:00"},"msg":"ok"} | ||
10 | +2020/11/23 09:53:36.302 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 1.218722814s| match|[97;43m PUT [0m /cash-pool/activity/93 r:/cash-pool/activity/:activityId | ||
11 | +2020/11/23 09:54:27.295 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./cash-pool/activity/?companyId=311&offset=0&limit=20&isEnd=true.1606096467295867000 | ||
12 | + Auth= | ||
13 | + BodyData:{} | ||
14 | +2020/11/23 09:54:27.397 [D] [server.go:2843] <====Send RequestId:GET./cash-pool/activity/?companyId=311&offset=0&limit=20&isEnd=true.1606096467295867000 BodyData:{"code":0,"data":{"activities":[{"activityId":81,"companyId":311,"countDown":1,"createTime":"2020-11-21T02:28:44.157965+08:00","deadline":1606147200000,"exchangeActivityName":"这是公司311的兑换活动7","exchangedCash":65,"exchangedSuMoney":13,"rate":5},{"activityId":83,"companyId":311,"countDown":5,"createTime":"2020-11-22T04:57:40.071587+08:00","deadline":1606491456734,"exchangeActivityName":"这是更新后的公司10019的兑换活动,哈哈哈","exchangedCash":0,"exchangedSuMoney":0,"rate":100},{"activityId":82,"companyId":311,"countDown":5,"createTime":"2020-11-21T21:38:37.791621+08:00","deadline":1606492799000,"exchangeActivityName":"这是公司311的兑换活动7","exchangedCash":15,"exchangedSuMoney":3,"rate":5},{"activityId":84,"companyId":311,"countDown":6,"createTime":"2020-11-22T21:04:10.635284+08:00","deadline":1606579199000,"exchangeActivityName":"这是公司311的兑换活动7","exchangedCash":0,"exchangedSuMoney":0,"rate":5},{"activityId":85,"companyId":311," | ||
15 | +2020/11/23 09:54:27.397 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 102.136097ms| match|[97;44m GET [0m /cash-pool/activity/ r:/cash-pool/activity/ | ||
16 | +2020/11/23 09:54:32.588 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./cash-pool/activity/deadline-list?companyId=311.1606096472588805000 | ||
17 | + Auth= | ||
18 | + BodyData:{} | ||
19 | +2020/11/23 09:54:32.663 [D] [server.go:2843] <====Send RequestId:GET./cash-pool/activity/deadline-list?companyId=311.1606096472588805000 BodyData:{"code":0,"data":{"deadlines":["2028-01-06","2021-12-26","2021-01-05","2020-12-12","2020-12-11","2020-12-10","2020-12-09","2020-12-02","2020-12-01","2020-11-29","2020-11-28","2020-11-27","2020-11-24","2020-11-22","2020-11-23"]},"msg":"ok"} | ||
20 | +2020/11/23 09:54:32.663 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 75.017087ms| match|[97;44m GET [0m /cash-pool/activity/deadline-list r:/cash-pool/activity/deadline-list | ||
21 | +2020/11/23 10:00:53.972 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./cash-pool/activity/93.1606096853972657000 | ||
22 | + Auth= | ||
23 | + BodyData:{ | ||
24 | + "exchangeActivityName": "这是更新后的公司10019的兑换活动,哈哈哈", | ||
25 | + "deadline": "2021-12-26T21:44:27.822562+08:00", | ||
26 | + "exchangeRate": 10 | ||
27 | +} | ||
28 | +2020/11/23 10:00:54.079 [D] [server.go:2843] <====Send RequestId:PUT./cash-pool/activity/93.1606096853972657000 BodyData:{"code":501,"msg":"内部服务出错:兑换活动截止时间不能重合"} | ||
29 | +2020/11/23 10:00:54.079 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 106.601199ms| match|[97;43m PUT [0m /cash-pool/activity/93 r:/cash-pool/activity/:activityId | ||
30 | +2020/11/23 10:08:21.228 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./cash-pool/activity/?companyId=311&offset=0&limit=20&isEnd=true.1606097301227979000 | ||
31 | + Auth= | ||
32 | + BodyData:{} | ||
33 | +2020/11/23 10:08:21.512 [D] [server.go:2843] <====Send RequestId:GET./cash-pool/activity/?companyId=311&offset=0&limit=20&isEnd=true.1606097301227979000 BodyData:{"code":0,"data":{"activities":[{"activityId":81,"companyId":311,"countDown":1,"createTime":"2020-11-21T02:28:44.157965+08:00","deadline":1606147200000,"exchangeActivityName":"这是公司311的兑换活动7","exchangedCash":65,"exchangedSuMoney":13,"rate":5},{"activityId":83,"companyId":311,"countDown":5,"createTime":"2020-11-22T04:57:40.071587+08:00","deadline":1606491456734,"exchangeActivityName":"这是更新后的公司10019的兑换活动,哈哈哈","exchangedCash":0,"exchangedSuMoney":0,"rate":100},{"activityId":82,"companyId":311,"countDown":5,"createTime":"2020-11-21T21:38:37.791621+08:00","deadline":1606492799000,"exchangeActivityName":"这是公司311的兑换活动7","exchangedCash":15,"exchangedSuMoney":3,"rate":5},{"activityId":84,"companyId":311,"countDown":6,"createTime":"2020-11-22T21:04:10.635284+08:00","deadline":1606579199000,"exchangeActivityName":"这是公司311的兑换活动7","exchangedCash":0,"exchangedSuMoney":0,"rate":5},{"activityId":85,"companyId":311," | ||
34 | +2020/11/23 10:08:21.512 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 284.916437ms| match|[97;44m GET [0m /cash-pool/activity/ r:/cash-pool/activity/ | ||
35 | +2020/11/23 10:08:41.215 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./cash-pool/activity/?companyId=311&offset=0&limit=20&isEnd=false.1606097321214928000 | ||
36 | + Auth= | ||
37 | + BodyData:{} | ||
38 | +2020/11/23 10:08:41.321 [D] [server.go:2843] <====Send RequestId:GET./cash-pool/activity/?companyId=311&offset=0&limit=20&isEnd=false.1606097321214928000 BodyData:{"code":0,"data":{"activities":[{"activityId":81,"companyId":311,"countDown":1,"createTime":"2020-11-21T02:28:44.157965+08:00","deadline":1606147200000,"exchangeActivityName":"这是公司311的兑换活动7","exchangedCash":65,"exchangedSuMoney":13,"rate":5},{"activityId":83,"companyId":311,"countDown":5,"createTime":"2020-11-22T04:57:40.071587+08:00","deadline":1606491456734,"exchangeActivityName":"这是更新后的公司10019的兑换活动,哈哈哈","exchangedCash":0,"exchangedSuMoney":0,"rate":100},{"activityId":82,"companyId":311,"countDown":5,"createTime":"2020-11-21T21:38:37.791621+08:00","deadline":1606492799000,"exchangeActivityName":"这是公司311的兑换活动7","exchangedCash":15,"exchangedSuMoney":3,"rate":5},{"activityId":84,"companyId":311,"countDown":6,"createTime":"2020-11-22T21:04:10.635284+08:00","deadline":1606579199000,"exchangeActivityName":"这是公司311的兑换活动7","exchangedCash":0,"exchangedSuMoney":0,"rate":5},{"activityId":85,"companyId":311," | ||
39 | +2020/11/23 10:08:41.327 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 112.948027ms| match|[97;44m GET [0m /cash-pool/activity/ r:/cash-pool/activity/ | ||
40 | +2020/11/23 10:08:54.294 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./cash-pool/activity/?companyId=311&offset=0&limit=20&isEnd=false.1606097334294490000 | ||
41 | + Auth= | ||
42 | + BodyData:{} | ||
43 | +2020/11/23 10:08:54.342 [D] [server.go:2843] <====Send RequestId:GET./cash-pool/activity/?companyId=311&offset=0&limit=20&isEnd=false.1606097334294490000 BodyData:{"code":0,"data":{"activities":[{"activityId":81,"companyId":311,"countDown":1,"createTime":"2020-11-21T02:28:44.157965+08:00","deadline":1606147200000,"exchangeActivityName":"这是公司311的兑换活动7","exchangedCash":65,"exchangedSuMoney":13,"rate":5},{"activityId":83,"companyId":311,"countDown":5,"createTime":"2020-11-22T04:57:40.071587+08:00","deadline":1606491456734,"exchangeActivityName":"这是更新后的公司10019的兑换活动,哈哈哈","exchangedCash":0,"exchangedSuMoney":0,"rate":100},{"activityId":82,"companyId":311,"countDown":5,"createTime":"2020-11-21T21:38:37.791621+08:00","deadline":1606492799000,"exchangeActivityName":"这是公司311的兑换活动7","exchangedCash":15,"exchangedSuMoney":3,"rate":5},{"activityId":84,"companyId":311,"countDown":6,"createTime":"2020-11-22T21:04:10.635284+08:00","deadline":1606579199000,"exchangeActivityName":"这是公司311的兑换活动7","exchangedCash":0,"exchangedSuMoney":0,"rate":5},{"activityId":85,"companyId":311," | ||
44 | +2020/11/23 10:08:54.355 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 61.004664ms| match|[97;44m GET [0m /cash-pool/activity/ r:/cash-pool/activity/ | ||
45 | +2020/11/23 10:10:04.546 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./cash-pool/activity/?companyId=311&offset=0&limit=20.1606097404546778000 | ||
46 | + Auth= | ||
47 | + BodyData:{} | ||
48 | +2020/11/23 10:10:04.646 [D] [server.go:2843] <====Send RequestId:GET./cash-pool/activity/?companyId=311&offset=0&limit=20.1606097404546778000 BodyData:{"code":0,"data":{"activities":[{"activityId":81,"companyId":311,"countDown":1,"createTime":"2020-11-21T02:28:44.157965+08:00","deadline":1606147200000,"exchangeActivityName":"这是公司311的兑换活动7","exchangedCash":65,"exchangedSuMoney":13,"rate":5},{"activityId":83,"companyId":311,"countDown":5,"createTime":"2020-11-22T04:57:40.071587+08:00","deadline":1606491456734,"exchangeActivityName":"这是更新后的公司10019的兑换活动,哈哈哈","exchangedCash":0,"exchangedSuMoney":0,"rate":100},{"activityId":82,"companyId":311,"countDown":5,"createTime":"2020-11-21T21:38:37.791621+08:00","deadline":1606492799000,"exchangeActivityName":"这是公司311的兑换活动7","exchangedCash":15,"exchangedSuMoney":3,"rate":5},{"activityId":84,"companyId":311,"countDown":6,"createTime":"2020-11-22T21:04:10.635284+08:00","deadline":1606579199000,"exchangeActivityName":"这是公司311的兑换活动7","exchangedCash":0,"exchangedSuMoney":0,"rate":5},{"activityId":85,"companyId":311," | ||
49 | +2020/11/23 10:10:04.646 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 99.575774ms| match|[97;44m GET [0m /cash-pool/activity/ r:/cash-pool/activity/ | ||
50 | +2020/11/23 10:10:27.867 [I] [???:0] http server Running on http://:8082 | ||
51 | +2020/11/23 10:10:30.044 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./cash-pool/activity/?companyId=311&offset=0&limit=20.1606097430044326000 | ||
52 | + Auth= | ||
53 | + BodyData:{} | ||
54 | +2020/11/23 10:10:30.123 [D] [server.go:2843] <====Send RequestId:GET./cash-pool/activity/?companyId=311&offset=0&limit=20.1606097430044326000 BodyData:{"code":0,"data":{"activities":[{"activityId":81,"companyId":311,"countDown":1,"createTime":"2020-11-21T02:28:44.157965+08:00","deadline":1606147200000,"exchangeActivityName":"这是公司311的兑换活动7","exchangedCash":65,"exchangedSuMoney":13,"rate":5},{"activityId":83,"companyId":311,"countDown":5,"createTime":"2020-11-22T04:57:40.071587+08:00","deadline":1606491456734,"exchangeActivityName":"这是更新后的公司10019的兑换活动,哈哈哈","exchangedCash":0,"exchangedSuMoney":0,"rate":100},{"activityId":82,"companyId":311,"countDown":5,"createTime":"2020-11-21T21:38:37.791621+08:00","deadline":1606492799000,"exchangeActivityName":"这是公司311的兑换活动7","exchangedCash":15,"exchangedSuMoney":3,"rate":5},{"activityId":84,"companyId":311,"countDown":6,"createTime":"2020-11-22T21:04:10.635284+08:00","deadline":1606579199000,"exchangeActivityName":"这是公司311的兑换活动7","exchangedCash":0,"exchangedSuMoney":0,"rate":5},{"activityId":85,"companyId":311," | ||
55 | +2020/11/23 10:10:30.132 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 87.780093ms| match|[97;44m GET [0m /cash-pool/activity/ r:/cash-pool/activity/ | ||
56 | +2020/11/23 10:11:48.495 [I] [???:0] http server Running on http://:8082 | ||
57 | +2020/11/23 10:12:06.273 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./cash-pool/activity/?companyId=311&offset=0&limit=20&isEnd=false.1606097526273103000 | ||
58 | + Auth= | ||
59 | + BodyData:{} | ||
60 | +2020/11/23 10:12:06.391 [D] [server.go:2843] <====Send RequestId:GET./cash-pool/activity/?companyId=311&offset=0&limit=20&isEnd=false.1606097526273103000 BodyData:{"code":0,"data":{"activities":[{"activityId":81,"companyId":311,"countDown":1,"createTime":"2020-11-21T02:28:44.157965+08:00","deadline":1606147200000,"exchangeActivityName":"这是公司311的兑换活动7","exchangedCash":65,"exchangedSuMoney":13,"rate":5},{"activityId":83,"companyId":311,"countDown":5,"createTime":"2020-11-22T04:57:40.071587+08:00","deadline":1606491456734,"exchangeActivityName":"这是更新后的公司10019的兑换活动,哈哈哈","exchangedCash":0,"exchangedSuMoney":0,"rate":100},{"activityId":82,"companyId":311,"countDown":5,"createTime":"2020-11-21T21:38:37.791621+08:00","deadline":1606492799000,"exchangeActivityName":"这是公司311的兑换活动7","exchangedCash":15,"exchangedSuMoney":3,"rate":5},{"activityId":84,"companyId":311,"countDown":6,"createTime":"2020-11-22T21:04:10.635284+08:00","deadline":1606579199000,"exchangeActivityName":"这是公司311的兑换活动7","exchangedCash":0,"exchangedSuMoney":0,"rate":5},{"activityId":85,"companyId":311," | ||
61 | +2020/11/23 10:12:06.396 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 123.85018ms| match|[97;44m GET [0m /cash-pool/activity/ r:/cash-pool/activity/ | ||
62 | +2020/11/23 10:12:17.866 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./cash-pool/activity/?companyId=311&offset=0&limit=20&isEnd=true.1606097537866014000 | ||
63 | + Auth= | ||
64 | + BodyData:{} | ||
65 | +2020/11/23 10:12:18.010 [D] [server.go:2843] <====Send RequestId:GET./cash-pool/activity/?companyId=311&offset=0&limit=20&isEnd=true.1606097537866014000 BodyData:{"code":0,"data":{"activities":[],"count":4},"msg":"ok"} | ||
66 | +2020/11/23 10:12:18.010 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 144.184217ms| match|[97;44m GET [0m /cash-pool/activity/ r:/cash-pool/activity/ | ||
67 | +2020/11/23 10:55:12.835 [I] [???:0] http server Running on http://:8082 | ||
68 | +2020/11/23 10:56:32.995 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./cash-pool/cash-pool?companyId=358.1606100192992875000 | ||
69 | + Auth= | ||
70 | + BodyData:{} | ||
71 | +2020/11/23 10:56:33.201 [D] [server.go:2843] <====Send RequestId:GET./cash-pool/cash-pool?companyId=358.1606100192992875000 BodyData:{"code":0,"data":{"cashPoolId":10,"cash":800,"companyId":358,"exchangedCash":4,"unExchangeCash":796,"exchangedSuMoney":3,"unExchangeSuMoney":3498567.67,"rate":1.33,"lastRate":2,"createTime":"2020-11-17T11:02:21.013016+08:00"},"msg":"ok"} | ||
72 | +2020/11/23 10:56:33.201 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 208.607749ms| match|[97;44m GET [0m /cash-pool/cash-pool r:/cash-pool/cash-pool | ||
73 | +2020/11/23 10:56:54.279 [D] [server.go:2843] ====>Recv User:<nil> RequestId:POST./cash-pool/input.1606100214279428000 | ||
74 | + Auth= | ||
75 | + BodyData:{ | ||
76 | + "companyId": 358, | ||
77 | + "cash": 2000 | ||
78 | +} | ||
79 | +2020/11/23 10:56:54.426 [D] [server.go:2843] <====Send RequestId:POST./cash-pool/input.1606100214279428000 BodyData:{"code":0,"data":{"cashPoolId":10,"cash":2000,"companyId":358,"exchangedCash":4,"unExchangeCash":1996,"exchangedSuMoney":3,"unExchangeSuMoney":3498567.67,"rate":1.33,"lastRate":2,"createTime":"2020-11-23T10:56:54.414718+08:00"},"msg":"ok"} | ||
80 | +2020/11/23 10:56:54.426 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 147.217724ms| match|[97;46m POST [0m /cash-pool/input r:/cash-pool/input | ||
81 | +2020/11/23 11:00:29.717 [I] [???:0] http server Running on http://:8082 | ||
82 | +2020/11/23 11:00:45.293 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./cash-pool/activity/?companyId=358&offset=0&limit=20&isEnd=false.1606100445292941000 | ||
83 | + Auth= | ||
84 | + BodyData:{} | ||
85 | +2020/11/23 11:00:45.654 [D] [server.go:2843] <====Send RequestId:GET./cash-pool/activity/?companyId=358&offset=0&limit=20&isEnd=false.1606100445292941000 BodyData:{"code":0,"data":{"activities":[{"activityId":41,"companyId":358,"countDown":7,"createTime":"2020-11-17T13:21:41.997891+08:00","deadline":1606665599001,"exchangeActivityName":"12","exchangedCash":0,"exchangedSuMoney":0,"rate":3}],"count":1},"msg":"ok"} | ||
86 | +2020/11/23 11:00:45.654 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 361.818394ms| match|[97;44m GET [0m /cash-pool/activity/ r:/cash-pool/activity/ | ||
87 | +2020/11/23 11:00:51.855 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./cash-pool/activity/?companyId=358&offset=0&limit=20.1606100451855818000 | ||
88 | + Auth= | ||
89 | + BodyData:{} | ||
90 | +2020/11/23 11:00:51.883 [D] [server.go:2843] <====Send RequestId:GET./cash-pool/activity/?companyId=358&offset=0&limit=20.1606100451855818000 BodyData:{"code":0,"data":{"activities":[{"activityId":41,"companyId":358,"countDown":7,"createTime":"2020-11-17T13:21:41.997891+08:00","deadline":1606665599001,"exchangeActivityName":"12","exchangedCash":0,"exchangedSuMoney":0,"rate":3}],"count":1},"msg":"ok"} | ||
91 | +2020/11/23 11:00:51.883 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 28.004377ms| match|[97;44m GET [0m /cash-pool/activity/ r:/cash-pool/activity/ | ||
92 | +2020/11/23 11:01:00.011 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./cash-pool/activity/?companyId=358&offset=0&limit=20&isEnd=true.1606100460011882000 | ||
93 | + Auth= | ||
94 | + BodyData:{} | ||
95 | +2020/11/23 11:01:00.120 [D] [server.go:2843] <====Send RequestId:GET./cash-pool/activity/?companyId=358&offset=0&limit=20&isEnd=true.1606100460011882000 BodyData:{"code":0,"data":{"activities":[],"count":3},"msg":"ok"} | ||
96 | +2020/11/23 11:01:00.120 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 108.248877ms| match|[97;44m GET [0m /cash-pool/activity/ r:/cash-pool/activity/ | ||
97 | +2020/11/23 11:01:05.464 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./cash-pool/activity/?companyId=358&offset=0&limit=20&isEnd=false.1606100465463956000 | ||
98 | + Auth= | ||
99 | + BodyData:{} | ||
100 | +2020/11/23 11:01:05.530 [D] [server.go:2843] <====Send RequestId:GET./cash-pool/activity/?companyId=358&offset=0&limit=20&isEnd=false.1606100465463956000 BodyData:{"code":0,"data":{"activities":[{"activityId":41,"companyId":358,"countDown":7,"createTime":"2020-11-17T13:21:41.997891+08:00","deadline":1606665599001,"exchangeActivityName":"12","exchangedCash":0,"exchangedSuMoney":0,"rate":3}],"count":1},"msg":"ok"} | ||
101 | +2020/11/23 11:01:05.530 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 66.870162ms| match|[97;44m GET [0m /cash-pool/activity/ r:/cash-pool/activity/ | ||
102 | +2020/11/23 11:01:11.482 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./cash-pool/activity/?companyId=311&offset=0&limit=20&isEnd=false.1606100471482029000 | ||
103 | + Auth= | ||
104 | + BodyData:{} | ||
105 | +2020/11/23 11:01:11.718 [D] [server.go:2843] <====Send RequestId:GET./cash-pool/activity/?companyId=311&offset=0&limit=20&isEnd=false.1606100471482029000 BodyData:{"code":0,"data":{"activities":[{"activityId":81,"companyId":311,"countDown":1,"createTime":"2020-11-21T02:28:44.157965+08:00","deadline":1606147200000,"exchangeActivityName":"这是公司311的兑换活动7","exchangedCash":65,"exchangedSuMoney":13,"rate":5},{"activityId":83,"companyId":311,"countDown":5,"createTime":"2020-11-22T04:57:40.071587+08:00","deadline":1606491456734,"exchangeActivityName":"这是更新后的公司10019的兑换活动,哈哈哈","exchangedCash":0,"exchangedSuMoney":0,"rate":100},{"activityId":82,"companyId":311,"countDown":5,"createTime":"2020-11-21T21:38:37.791621+08:00","deadline":1606492799000,"exchangeActivityName":"这是公司311的兑换活动7","exchangedCash":15,"exchangedSuMoney":3,"rate":5},{"activityId":84,"companyId":311,"countDown":6,"createTime":"2020-11-22T21:04:10.635284+08:00","deadline":1606579199000,"exchangeActivityName":"这是公司311的兑换活动7","exchangedCash":0,"exchangedSuMoney":0,"rate":5},{"activityId":85,"companyId":311," | ||
106 | +2020/11/23 11:01:11.719 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 237.434699ms| match|[97;44m GET [0m /cash-pool/activity/ r:/cash-pool/activity/ | ||
107 | +2020/11/23 11:01:41.895 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./cash-pool/cash-pool?companyId=358.1606100501895710000 | ||
108 | + Auth= | ||
109 | + BodyData:{} | ||
110 | +2020/11/23 11:01:42.078 [D] [server.go:2843] <====Send RequestId:GET./cash-pool/cash-pool?companyId=358.1606100501895710000 BodyData:{"code":0,"data":{"cashPoolId":10,"cash":2000,"companyId":358,"exchangedCash":4,"unExchangeCash":1996,"exchangedSuMoney":3,"unExchangeSuMoney":3498567.67,"rate":1.33,"lastRate":2,"createTime":"2020-11-17T11:02:21.013016+08:00"},"msg":"ok"} | ||
111 | +2020/11/23 11:01:42.079 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 183.376374ms| match|[97;44m GET [0m /cash-pool/cash-pool r:/cash-pool/cash-pool | ||
112 | +2020/11/23 11:01:48.118 [D] [server.go:2843] ====>Recv User:<nil> RequestId:POST./cash-pool/input.1606100508118806000 | ||
113 | + Auth= | ||
114 | + BodyData:{ | ||
115 | + "companyId": 358, | ||
116 | + "cash": 2001 | ||
117 | +} | ||
118 | +2020/11/23 11:01:48.208 [D] [server.go:2843] <====Send RequestId:POST./cash-pool/input.1606100508118806000 BodyData:{"code":501,"msg":"内部服务出错:pg: no rows in result set"} | ||
119 | +2020/11/23 11:01:48.208 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 90.202556ms| match|[97;46m POST [0m /cash-pool/input r:/cash-pool/input | ||
120 | +2020/11/23 11:05:35.034 [I] [???:0] http server Running on http://:8082 | ||
121 | +2020/11/23 11:05:38.359 [D] [server.go:2843] ====>Recv User:<nil> RequestId:POST./cash-pool/input.1606100738359708000 | ||
122 | + Auth= | ||
123 | + BodyData:{ | ||
124 | + "companyId": 358, | ||
125 | + "cash": 2001 | ||
126 | +} | ||
127 | +2020/11/23 11:05:38.629 [D] [server.go:2843] <====Send RequestId:POST./cash-pool/input.1606100738359708000 BodyData:{"code":0,"data":{"cashPoolId":10,"cash":2001,"companyId":358,"exchangedCash":4,"unExchangeCash":1997,"exchangedSuMoney":3,"unExchangeSuMoney":3498567.67,"rate":1.33,"lastRate":2,"createTime":"2020-11-23T11:05:38.625629+08:00"},"msg":"ok"} | ||
128 | +2020/11/23 11:05:38.629 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 269.677869ms| match|[97;46m POST [0m /cash-pool/input r:/cash-pool/input | ||
129 | +2020/11/23 11:06:28.340 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./cash-pool/cash-pool?companyId=358.1606100788340467000 | ||
130 | + Auth= | ||
131 | + BodyData:{} | ||
132 | +2020/11/23 11:06:28.378 [D] [server.go:2843] <====Send RequestId:GET./cash-pool/cash-pool?companyId=358.1606100788340467000 BodyData:{"code":0,"data":{"cashPoolId":10,"cash":2001,"companyId":358,"exchangedCash":4,"unExchangeCash":1997,"exchangedSuMoney":3,"unExchangeSuMoney":3498567.67,"rate":1.33,"lastRate":0,"createTime":"2020-11-17T11:02:21.013016+08:00"},"msg":"ok"} | ||
133 | +2020/11/23 11:06:28.378 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 38.134513ms| match|[97;44m GET [0m /cash-pool/cash-pool r:/cash-pool/cash-pool | ||
134 | +2020/11/23 11:07:52.593 [I] [???:0] http server Running on http://:8082 | ||
135 | +2020/11/23 11:07:57.777 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./cash-pool/cash-pool?companyId=358.1606100877777207000 | ||
136 | + Auth= | ||
137 | + BodyData:{} | ||
138 | +2020/11/23 11:07:57.922 [D] [server.go:2843] <====Send RequestId:GET./cash-pool/cash-pool?companyId=358.1606100877777207000 BodyData:{"code":0,"data":{"cashPoolId":10,"cash":2001,"companyId":358,"exchangedCash":4,"unExchangeCash":1997,"exchangedSuMoney":3,"unExchangeSuMoney":3498567.67,"rate":1.33,"lastRate":0,"createTime":"2020-11-17T11:02:21.013016+08:00"},"msg":"ok"} | ||
139 | +2020/11/23 11:07:57.922 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 145.563659ms| match|[97;44m GET [0m /cash-pool/cash-pool r:/cash-pool/cash-pool | ||
140 | +2020/11/23 11:08:23.230 [D] [server.go:2843] ====>Recv User:<nil> RequestId:POST./cash-pool/activity.1606100903230741000 | ||
141 | + Auth= | ||
142 | + BodyData:{ | ||
143 | + "companyId": 358, | ||
144 | + "exchangeActivityName": "这是公司311的兑换活动7", | ||
145 | + "deadline": "2021-01-05T16:00:00.000Z", | ||
146 | + "exchangeRate": 5.1 | ||
147 | +} | ||
148 | +2020/11/23 11:08:23.355 [D] [server.go:2843] <====Send RequestId:POST./cash-pool/activity.1606100903230741000 BodyData:{"code":0,"data":{"activityId":95,"exchangeActivityName":"这是公司311的兑换活动7","companyId":358,"exchangedCash":0,"exchangedSuMoney":0,"deadline":"2021-01-06T23:59:59+08:00","countDown":45,"rate":5.1,"createTime":"2020-11-23T11:08:23.237467+08:00"},"msg":"ok"} | ||
149 | +2020/11/23 11:08:23.355 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 124.391819ms| match|[97;46m POST [0m /cash-pool/activity r:/cash-pool/activity | ||
150 | +2020/11/23 11:08:33.758 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./cash-pool/activity/?companyId=358&offset=0&limit=20&isEnd=false.1606100913758174000 | ||
151 | + Auth= | ||
152 | + BodyData:{} | ||
153 | +2020/11/23 11:08:33.863 [D] [server.go:2843] <====Send RequestId:GET./cash-pool/activity/?companyId=358&offset=0&limit=20&isEnd=false.1606100913758174000 BodyData:{"code":0,"data":{"activities":[{"activityId":41,"companyId":358,"countDown":7,"createTime":"2020-11-17T13:21:41.997891+08:00","deadline":1606665599001,"exchangeActivityName":"12","exchangedCash":0,"exchangedSuMoney":0,"rate":3},{"activityId":95,"companyId":358,"countDown":45,"createTime":"2020-11-23T11:08:23.237467+08:00","deadline":1609948799000,"exchangeActivityName":"这是公司311的兑换活动7","exchangedCash":0,"exchangedSuMoney":0,"rate":5.1}],"count":2},"msg":"ok"} | ||
154 | +2020/11/23 11:08:33.863 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 105.253309ms| match|[97;44m GET [0m /cash-pool/activity/ r:/cash-pool/activity/ | ||
155 | +2020/11/23 11:08:50.399 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./cash-pool/cash-pool?companyId=358.1606100930399371000 | ||
156 | + Auth= | ||
157 | + BodyData:{} | ||
158 | +2020/11/23 11:08:50.433 [D] [server.go:2843] <====Send RequestId:GET./cash-pool/cash-pool?companyId=358.1606100930399371000 BodyData:{"code":0,"data":{"cashPoolId":10,"cash":2001,"companyId":358,"exchangedCash":4,"unExchangeCash":1997,"exchangedSuMoney":3,"unExchangeSuMoney":3498567.67,"rate":1.33,"lastRate":3,"createTime":"2020-11-17T11:02:21.013016+08:00"},"msg":"ok"} | ||
159 | +2020/11/23 11:08:50.434 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 35.068243ms| match|[97;44m GET [0m /cash-pool/cash-pool r:/cash-pool/cash-pool | ||
160 | +2020/11/23 11:38:17.877 [I] [???:0] http server Running on http://:8082 | ||
161 | +2020/11/23 11:38:26.022 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./cash-pool/cash-pool?companyId=358.1606102706022033000 | ||
162 | + Auth= | ||
163 | + BodyData:{} | ||
164 | +2020/11/23 11:38:27.133 [D] [server.go:2843] <====Send RequestId:GET./cash-pool/cash-pool?companyId=358.1606102706022033000 BodyData:{"code":0,"data":{"cashPoolId":10,"cash":2001,"companyId":358,"exchangedCash":4,"unExchangeCash":1997,"exchangedSuMoney":3,"unExchangeSuMoney":3498567.67,"rate":1.33,"lastRate":3,"createTime":"2020-11-17T11:02:21.013016+08:00"},"msg":"ok"} | ||
165 | +2020/11/23 11:38:27.134 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 1.112025373s| match|[97;44m GET [0m /cash-pool/cash-pool r:/cash-pool/cash-pool | ||
166 | +2020/11/23 11:38:30.677 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./cash-pool/cash-pool?companyId=358.1606102710677272000 | ||
167 | + Auth= | ||
168 | + BodyData:{} | ||
169 | +2020/11/23 11:38:30.760 [D] [server.go:2843] <====Send RequestId:GET./cash-pool/cash-pool?companyId=358.1606102710677272000 BodyData:{"code":0,"data":{"cashPoolId":10,"cash":2001,"companyId":358,"exchangedCash":4,"unExchangeCash":1997,"exchangedSuMoney":3,"unExchangeSuMoney":3498567.67,"rate":1.33,"lastRate":3,"createTime":"2020-11-17T11:02:21.013016+08:00"},"msg":"ok"} | ||
170 | +2020/11/23 11:38:30.760 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 83.453461ms| match|[97;44m GET [0m /cash-pool/cash-pool r:/cash-pool/cash-pool | ||
171 | +2020/11/23 11:41:07.866 [I] [???:0] http server Running on http://:8082 | ||
172 | +2020/11/23 11:41:14.678 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./cash-pool/cash-pool?companyId=358.1606102874678381000 | ||
173 | + Auth= | ||
174 | + BodyData:{} | ||
175 | +2020/11/23 11:41:14.858 [D] [server.go:2843] <====Send RequestId:GET./cash-pool/cash-pool?companyId=358.1606102874678381000 BodyData:{"code":0,"data":{"cashPoolId":10,"cash":2001,"companyId":358,"exchangedCash":4,"unExchangeCash":1997,"exchangedSuMoney":3,"unExchangeSuMoney":3498567.67,"rate":1.33,"lastRate":3,"createTime":"2020-11-17T11:02:21.013016+08:00"},"msg":"ok"} | ||
176 | +2020/11/23 11:41:14.858 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 180.639118ms| match|[97;44m GET [0m /cash-pool/cash-pool r:/cash-pool/cash-pool | ||
177 | +2020/11/23 11:43:00.648 [I] [???:0] http server Running on http://:8082 | ||
178 | +2020/11/23 11:43:09.903 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./cash-pool/cash-pool?companyId=358.1606102989903536000 | ||
179 | + Auth= | ||
180 | + BodyData:{} | ||
181 | +2020/11/23 11:43:10.158 [D] [server.go:2843] <====Send RequestId:GET./cash-pool/cash-pool?companyId=358.1606102989903536000 BodyData:{"code":0,"data":{"cashPoolId":10,"cash":2001,"companyId":358,"exchangedCash":4,"unExchangeCash":1997,"exchangedSuMoney":3,"unExchangeSuMoney":3498567.67,"rate":1.33,"lastRate":0,"createTime":"2020-11-17T11:02:21.013016+08:00"},"msg":"ok"} | ||
182 | +2020/11/23 11:43:10.158 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 255.02557ms| match|[97;44m GET [0m /cash-pool/cash-pool r:/cash-pool/cash-pool | ||
183 | +2020/11/23 11:43:13.946 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./cash-pool/cash-pool?companyId=358.1606102993946891000 | ||
184 | + Auth= | ||
185 | + BodyData:{} | ||
186 | +2020/11/23 11:43:14.139 [D] [server.go:2843] <====Send RequestId:GET./cash-pool/cash-pool?companyId=358.1606102993946891000 BodyData:{"code":0,"data":{"cashPoolId":10,"cash":2001,"companyId":358,"exchangedCash":4,"unExchangeCash":1997,"exchangedSuMoney":3,"unExchangeSuMoney":3498567.67,"rate":1.33,"lastRate":0,"createTime":"2020-11-17T11:02:21.013016+08:00"},"msg":"ok"} | ||
187 | +2020/11/23 11:43:14.139 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 192.55553ms| match|[97;44m GET [0m /cash-pool/cash-pool r:/cash-pool/cash-pool | ||
188 | +2020/11/23 12:12:16.473 [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 | ||
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|[97;42m 200 [0m| 713.096446ms| match|[97;44m GET [0m /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|[97;42m 200 [0m| 314.966182ms| match|[97;41m DELETE [0m /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|[97;42m 200 [0m| 53.736857ms| match|[97;41m DELETE [0m /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|[97;42m 200 [0m| 1.991287ms| match|[97;44m GET [0m /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|[97;42m 200 [0m| 12.059713ms| match|[97;46m POST [0m /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|[97;42m 200 [0m| 39.231933ms| match|[97;46m POST [0m /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|[97;42m 200 [0m| 40.955595ms| match|[97;46m POST [0m /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|[97;42m 200 [0m| 182.169087ms| match|[97;46m POST [0m /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|[97;42m 200 [0m| 75.483884ms| match|[97;44m GET [0m /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|[97;42m 200 [0m| 689.351976ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 67.978885ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 209.333878ms| match|[97;44m GET [0m /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|[97;42m 200 [0m| 96.199882ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 2.937177ms| match|[97;44m GET [0m /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|[97;42m 200 [0m| 697.174713ms| match|[97;46m POST [0m /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|[97;42m 200 [0m| 146.154322ms| match|[97;46m POST [0m /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|[97;42m 200 [0m| 144.476001ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 148.90849ms| match|[97;44m GET [0m /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|[97;42m 200 [0m| 25.71155ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 58.014884ms| match|[97;44m GET [0m /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|[97;42m 200 [0m| 17.433098ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 398.133463ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 90.37943ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 176.290547ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 83.771544ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 100.412059ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 60.909589ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 125.112364ms| match|[97;44m GET [0m /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|[97;42m 200 [0m| 102.450167ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 149.172184ms| match|[97;44m GET [0m /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|[97;42m 200 [0m| 18.949087ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m|24.338806129s| match|[97;43m PUT [0m /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|[97;42m 200 [0m|21.639403388s| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 540.152403ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 69.137874ms| match|[97;44m GET [0m /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|[97;42m 200 [0m| 35.458869ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 49.186855ms| match|[97;44m GET [0m /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|[97;42m 200 [0m| 60.736335ms| match|[97;44m GET [0m /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|[97;42m 200 [0m| 59.972088ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 106.824061ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 9.180028ms| match|[97;44m GET [0m /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|[97;42m 200 [0m| 61.202198ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 144.195997ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 8.273489ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 208.547925ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 20.237027ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 342.434902ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 113.653343ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 4.783712ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 48.938056ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 87.076038ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 97.650631ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 79.622678ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 102.686335ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 78.2779ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 94.215ms| match|[97;44m GET [0m /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|[97;42m 200 [0m| 36.780575ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 86.402751ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 84.646702ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 120.18756ms| match|[97;44m GET [0m /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|[97;42m 200 [0m| 86.366848ms| match|[97;44m GET [0m /cash-pool/activity/ r:/cash-pool/activity/ | ||
653 | +2020/11/23 17:40:41.529 [I] [???:0] http server Running on http://:8082 | ||
654 | +2020/11/23 17:43:38.430 [I] [???:0] http server Running on http://:8082 | ||
655 | +2020/11/23 19:14:57.842 [I] [???:0] http server Running on http://:8082 | ||
656 | +2020/11/23 20:40:53.697 [I] [???:0] http server Running on http://:8082 | ||
657 | +2020/11/23 20:41:48.895 [D] [server.go:2843] ====>Recv User:<nil> RequestId:POST./statistics/employees-ranking-list.1606135308895363000 | ||
658 | + Auth= | ||
659 | + BodyData:{ | ||
660 | + "companyId": 358, | ||
661 | + "uid": 3259769336174592, | ||
662 | + "rankingType": 1, | ||
663 | + "offset": 0, | ||
664 | + "limit": 20 | ||
665 | +} | ||
666 | +2020/11/23 20:41:49.339 [D] [server.go:2843] <====Send RequestId:POST./statistics/employees-ranking-list.1606135308895363000 BodyData:{"code":0,"data":{"currentEmployeeContributions":null,"currentEmployeeWealth":null,"employeesContributions":null,"employeesWealth":null},"msg":"ok"} | ||
667 | +2020/11/23 20:41:49.340 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 444.881318ms| match|[97;46m POST [0m /statistics/employees-ranking-list r:/statistics/employees-ranking-list | ||
668 | +2020/11/23 20:41:59.800 [D] [server.go:2843] ====>Recv User:<nil> RequestId:POST./statistics/employees-ranking-list.1606135319800484000 | ||
669 | + Auth= | ||
670 | + BodyData:{ | ||
671 | + "companyId": 311, | ||
672 | + "uid": 3259769336174592, | ||
673 | + "rankingType": 1, | ||
674 | + "offset": 0, | ||
675 | + "limit": 20 | ||
676 | +} | ||
677 | +2020/11/23 20:41:59.900 [D] [server.go:2843] <====Send RequestId:POST./statistics/employees-ranking-list.1606135319800484000 BodyData:{"code":0,"data":{"currentEmployeeContributions":null,"currentEmployeeWealth":null,"employeesContributions":null,"employeesWealth":[{"Uid":3242227175192320,"EmployeeName":"卞信华","EmployeeSuMoney":-215,"Ranking":1}]},"msg":"ok"} | ||
678 | +2020/11/23 20:41:59.900 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 100.238465ms| match|[97;46m POST [0m /statistics/employees-ranking-list r:/statistics/employees-ranking-list |
1 | -2020/11/23 09:52:05.323 [I] [???:0] http server Running on http://:8082 | ||
2 | -2020/11/23 09:53:35.084 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./cash-pool/activity/93.1606096415083996000 | 1 | +2020/11/24 02:11:27.678 [I] [???:0] http server Running on http://:8082 |
2 | +2020/11/24 02:11:32.876 [D] [server.go:2843] ====>Recv User:<nil> RequestId:POST./statistics/employees-ranking-list.1606155092876148000 | ||
3 | Auth= | 3 | Auth= |
4 | BodyData:{ | 4 | BodyData:{ |
5 | - "exchangeActivityName": "这是更新后的公司10019的兑换活动,哈哈哈", | ||
6 | - "deadline": "2021-12-26T21:44:27.822562+08:00", | ||
7 | - "exchangeRate": 10 | 5 | + "companyId": 311, |
6 | + "uid": 3259769336174592, | ||
7 | + "rankingType": 1, | ||
8 | + "offset": 0, | ||
9 | + "limit": 20 | ||
8 | } | 10 | } |
9 | -2020/11/23 09:53:36.302 [D] [server.go:2843] <====Send RequestId:PUT./cash-pool/activity/93.1606096415083996000 BodyData:{"code":0,"data":{"activityId":93,"exchangeActivityName":"这是更新后的公司10019的兑换活动,哈哈哈","companyId":311,"exchangedCash":0,"exchangedSuMoney":0,"deadline":"2021-12-26T23:59:59+08:00","countDown":45,"rate":10,"createTime":"2020-11-22T21:44:27.822562+08:00"},"msg":"ok"} | ||
10 | -2020/11/23 09:53:36.302 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 1.218722814s| match|[97;43m PUT [0m /cash-pool/activity/93 r:/cash-pool/activity/:activityId | ||
11 | -2020/11/23 09:54:27.295 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./cash-pool/activity/?companyId=311&offset=0&limit=20&isEnd=true.1606096467295867000 | ||
12 | - Auth= | ||
13 | - BodyData:{} | ||
14 | -2020/11/23 09:54:27.397 [D] [server.go:2843] <====Send RequestId:GET./cash-pool/activity/?companyId=311&offset=0&limit=20&isEnd=true.1606096467295867000 BodyData:{"code":0,"data":{"activities":[{"activityId":81,"companyId":311,"countDown":1,"createTime":"2020-11-21T02:28:44.157965+08:00","deadline":1606147200000,"exchangeActivityName":"这是公司311的兑换活动7","exchangedCash":65,"exchangedSuMoney":13,"rate":5},{"activityId":83,"companyId":311,"countDown":5,"createTime":"2020-11-22T04:57:40.071587+08:00","deadline":1606491456734,"exchangeActivityName":"这是更新后的公司10019的兑换活动,哈哈哈","exchangedCash":0,"exchangedSuMoney":0,"rate":100},{"activityId":82,"companyId":311,"countDown":5,"createTime":"2020-11-21T21:38:37.791621+08:00","deadline":1606492799000,"exchangeActivityName":"这是公司311的兑换活动7","exchangedCash":15,"exchangedSuMoney":3,"rate":5},{"activityId":84,"companyId":311,"countDown":6,"createTime":"2020-11-22T21:04:10.635284+08:00","deadline":1606579199000,"exchangeActivityName":"这是公司311的兑换活动7","exchangedCash":0,"exchangedSuMoney":0,"rate":5},{"activityId":85,"companyId":311," | ||
15 | -2020/11/23 09:54:27.397 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 102.136097ms| match|[97;44m GET [0m /cash-pool/activity/ r:/cash-pool/activity/ | ||
16 | -2020/11/23 09:54:32.588 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./cash-pool/activity/deadline-list?companyId=311.1606096472588805000 | ||
17 | - Auth= | ||
18 | - BodyData:{} | ||
19 | -2020/11/23 09:54:32.663 [D] [server.go:2843] <====Send RequestId:GET./cash-pool/activity/deadline-list?companyId=311.1606096472588805000 BodyData:{"code":0,"data":{"deadlines":["2028-01-06","2021-12-26","2021-01-05","2020-12-12","2020-12-11","2020-12-10","2020-12-09","2020-12-02","2020-12-01","2020-11-29","2020-11-28","2020-11-27","2020-11-24","2020-11-22","2020-11-23"]},"msg":"ok"} | ||
20 | -2020/11/23 09:54:32.663 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 75.017087ms| match|[97;44m GET [0m /cash-pool/activity/deadline-list r:/cash-pool/activity/deadline-list | ||
21 | -2020/11/23 10:00:53.972 [D] [server.go:2843] ====>Recv User:<nil> RequestId:PUT./cash-pool/activity/93.1606096853972657000 | 11 | +2020/11/24 02:11:32.895 [D] [server.go:2843] <====Send RequestId:POST./statistics/employees-ranking-list.1606155092876148000 BodyData:{"code":501,"msg":"内部服务出错:ERROR #42601 syntax error at or near \",\""} |
12 | +2020/11/24 02:11:32.895 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 20.101994ms| match|[97;46m POST [0m /statistics/employees-ranking-list r:/statistics/employees-ranking-list | ||
13 | +2020/11/24 02:12:12.331 [I] [???:0] http server Running on http://:8082 | ||
14 | +2020/11/24 02:12:21.596 [D] [server.go:2843] ====>Recv User:<nil> RequestId:POST./statistics/employees-ranking-list.1606155141596065000 | ||
22 | Auth= | 15 | Auth= |
23 | BodyData:{ | 16 | BodyData:{ |
24 | - "exchangeActivityName": "这是更新后的公司10019的兑换活动,哈哈哈", | ||
25 | - "deadline": "2021-12-26T21:44:27.822562+08:00", | ||
26 | - "exchangeRate": 10 | 17 | + "companyId": 311, |
18 | + "uid": 3259769336174592, | ||
19 | + "rankingType": 1, | ||
20 | + "offset": 0, | ||
21 | + "limit": 20 | ||
27 | } | 22 | } |
28 | -2020/11/23 10:00:54.079 [D] [server.go:2843] <====Send RequestId:PUT./cash-pool/activity/93.1606096853972657000 BodyData:{"code":501,"msg":"内部服务出错:兑换活动截止时间不能重合"} | ||
29 | -2020/11/23 10:00:54.079 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 106.601199ms| match|[97;43m PUT [0m /cash-pool/activity/93 r:/cash-pool/activity/:activityId | ||
30 | -2020/11/23 10:08:21.228 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./cash-pool/activity/?companyId=311&offset=0&limit=20&isEnd=true.1606097301227979000 | ||
31 | - Auth= | ||
32 | - BodyData:{} | ||
33 | -2020/11/23 10:08:21.512 [D] [server.go:2843] <====Send RequestId:GET./cash-pool/activity/?companyId=311&offset=0&limit=20&isEnd=true.1606097301227979000 BodyData:{"code":0,"data":{"activities":[{"activityId":81,"companyId":311,"countDown":1,"createTime":"2020-11-21T02:28:44.157965+08:00","deadline":1606147200000,"exchangeActivityName":"这是公司311的兑换活动7","exchangedCash":65,"exchangedSuMoney":13,"rate":5},{"activityId":83,"companyId":311,"countDown":5,"createTime":"2020-11-22T04:57:40.071587+08:00","deadline":1606491456734,"exchangeActivityName":"这是更新后的公司10019的兑换活动,哈哈哈","exchangedCash":0,"exchangedSuMoney":0,"rate":100},{"activityId":82,"companyId":311,"countDown":5,"createTime":"2020-11-21T21:38:37.791621+08:00","deadline":1606492799000,"exchangeActivityName":"这是公司311的兑换活动7","exchangedCash":15,"exchangedSuMoney":3,"rate":5},{"activityId":84,"companyId":311,"countDown":6,"createTime":"2020-11-22T21:04:10.635284+08:00","deadline":1606579199000,"exchangeActivityName":"这是公司311的兑换活动7","exchangedCash":0,"exchangedSuMoney":0,"rate":5},{"activityId":85,"companyId":311," | ||
34 | -2020/11/23 10:08:21.512 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 284.916437ms| match|[97;44m GET [0m /cash-pool/activity/ r:/cash-pool/activity/ | ||
35 | -2020/11/23 10:08:41.215 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./cash-pool/activity/?companyId=311&offset=0&limit=20&isEnd=false.1606097321214928000 | ||
36 | - Auth= | ||
37 | - BodyData:{} | ||
38 | -2020/11/23 10:08:41.321 [D] [server.go:2843] <====Send RequestId:GET./cash-pool/activity/?companyId=311&offset=0&limit=20&isEnd=false.1606097321214928000 BodyData:{"code":0,"data":{"activities":[{"activityId":81,"companyId":311,"countDown":1,"createTime":"2020-11-21T02:28:44.157965+08:00","deadline":1606147200000,"exchangeActivityName":"这是公司311的兑换活动7","exchangedCash":65,"exchangedSuMoney":13,"rate":5},{"activityId":83,"companyId":311,"countDown":5,"createTime":"2020-11-22T04:57:40.071587+08:00","deadline":1606491456734,"exchangeActivityName":"这是更新后的公司10019的兑换活动,哈哈哈","exchangedCash":0,"exchangedSuMoney":0,"rate":100},{"activityId":82,"companyId":311,"countDown":5,"createTime":"2020-11-21T21:38:37.791621+08:00","deadline":1606492799000,"exchangeActivityName":"这是公司311的兑换活动7","exchangedCash":15,"exchangedSuMoney":3,"rate":5},{"activityId":84,"companyId":311,"countDown":6,"createTime":"2020-11-22T21:04:10.635284+08:00","deadline":1606579199000,"exchangeActivityName":"这是公司311的兑换活动7","exchangedCash":0,"exchangedSuMoney":0,"rate":5},{"activityId":85,"companyId":311," | ||
39 | -2020/11/23 10:08:41.327 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 112.948027ms| match|[97;44m GET [0m /cash-pool/activity/ r:/cash-pool/activity/ | ||
40 | -2020/11/23 10:08:54.294 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./cash-pool/activity/?companyId=311&offset=0&limit=20&isEnd=false.1606097334294490000 | ||
41 | - Auth= | ||
42 | - BodyData:{} | ||
43 | -2020/11/23 10:08:54.342 [D] [server.go:2843] <====Send RequestId:GET./cash-pool/activity/?companyId=311&offset=0&limit=20&isEnd=false.1606097334294490000 BodyData:{"code":0,"data":{"activities":[{"activityId":81,"companyId":311,"countDown":1,"createTime":"2020-11-21T02:28:44.157965+08:00","deadline":1606147200000,"exchangeActivityName":"这是公司311的兑换活动7","exchangedCash":65,"exchangedSuMoney":13,"rate":5},{"activityId":83,"companyId":311,"countDown":5,"createTime":"2020-11-22T04:57:40.071587+08:00","deadline":1606491456734,"exchangeActivityName":"这是更新后的公司10019的兑换活动,哈哈哈","exchangedCash":0,"exchangedSuMoney":0,"rate":100},{"activityId":82,"companyId":311,"countDown":5,"createTime":"2020-11-21T21:38:37.791621+08:00","deadline":1606492799000,"exchangeActivityName":"这是公司311的兑换活动7","exchangedCash":15,"exchangedSuMoney":3,"rate":5},{"activityId":84,"companyId":311,"countDown":6,"createTime":"2020-11-22T21:04:10.635284+08:00","deadline":1606579199000,"exchangeActivityName":"这是公司311的兑换活动7","exchangedCash":0,"exchangedSuMoney":0,"rate":5},{"activityId":85,"companyId":311," | ||
44 | -2020/11/23 10:08:54.355 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 61.004664ms| match|[97;44m GET [0m /cash-pool/activity/ r:/cash-pool/activity/ | ||
45 | -2020/11/23 10:10:04.546 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./cash-pool/activity/?companyId=311&offset=0&limit=20.1606097404546778000 | ||
46 | - Auth= | ||
47 | - BodyData:{} | ||
48 | -2020/11/23 10:10:04.646 [D] [server.go:2843] <====Send RequestId:GET./cash-pool/activity/?companyId=311&offset=0&limit=20.1606097404546778000 BodyData:{"code":0,"data":{"activities":[{"activityId":81,"companyId":311,"countDown":1,"createTime":"2020-11-21T02:28:44.157965+08:00","deadline":1606147200000,"exchangeActivityName":"这是公司311的兑换活动7","exchangedCash":65,"exchangedSuMoney":13,"rate":5},{"activityId":83,"companyId":311,"countDown":5,"createTime":"2020-11-22T04:57:40.071587+08:00","deadline":1606491456734,"exchangeActivityName":"这是更新后的公司10019的兑换活动,哈哈哈","exchangedCash":0,"exchangedSuMoney":0,"rate":100},{"activityId":82,"companyId":311,"countDown":5,"createTime":"2020-11-21T21:38:37.791621+08:00","deadline":1606492799000,"exchangeActivityName":"这是公司311的兑换活动7","exchangedCash":15,"exchangedSuMoney":3,"rate":5},{"activityId":84,"companyId":311,"countDown":6,"createTime":"2020-11-22T21:04:10.635284+08:00","deadline":1606579199000,"exchangeActivityName":"这是公司311的兑换活动7","exchangedCash":0,"exchangedSuMoney":0,"rate":5},{"activityId":85,"companyId":311," | ||
49 | -2020/11/23 10:10:04.646 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 99.575774ms| match|[97;44m GET [0m /cash-pool/activity/ r:/cash-pool/activity/ | ||
50 | -2020/11/23 10:10:27.867 [I] [???:0] http server Running on http://:8082 | ||
51 | -2020/11/23 10:10:30.044 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./cash-pool/activity/?companyId=311&offset=0&limit=20.1606097430044326000 | ||
52 | - Auth= | ||
53 | - BodyData:{} | ||
54 | -2020/11/23 10:10:30.123 [D] [server.go:2843] <====Send RequestId:GET./cash-pool/activity/?companyId=311&offset=0&limit=20.1606097430044326000 BodyData:{"code":0,"data":{"activities":[{"activityId":81,"companyId":311,"countDown":1,"createTime":"2020-11-21T02:28:44.157965+08:00","deadline":1606147200000,"exchangeActivityName":"这是公司311的兑换活动7","exchangedCash":65,"exchangedSuMoney":13,"rate":5},{"activityId":83,"companyId":311,"countDown":5,"createTime":"2020-11-22T04:57:40.071587+08:00","deadline":1606491456734,"exchangeActivityName":"这是更新后的公司10019的兑换活动,哈哈哈","exchangedCash":0,"exchangedSuMoney":0,"rate":100},{"activityId":82,"companyId":311,"countDown":5,"createTime":"2020-11-21T21:38:37.791621+08:00","deadline":1606492799000,"exchangeActivityName":"这是公司311的兑换活动7","exchangedCash":15,"exchangedSuMoney":3,"rate":5},{"activityId":84,"companyId":311,"countDown":6,"createTime":"2020-11-22T21:04:10.635284+08:00","deadline":1606579199000,"exchangeActivityName":"这是公司311的兑换活动7","exchangedCash":0,"exchangedSuMoney":0,"rate":5},{"activityId":85,"companyId":311," | ||
55 | -2020/11/23 10:10:30.132 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 87.780093ms| match|[97;44m GET [0m /cash-pool/activity/ r:/cash-pool/activity/ | ||
56 | -2020/11/23 10:11:48.495 [I] [???:0] http server Running on http://:8082 | ||
57 | -2020/11/23 10:12:06.273 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./cash-pool/activity/?companyId=311&offset=0&limit=20&isEnd=false.1606097526273103000 | ||
58 | - Auth= | ||
59 | - BodyData:{} | ||
60 | -2020/11/23 10:12:06.391 [D] [server.go:2843] <====Send RequestId:GET./cash-pool/activity/?companyId=311&offset=0&limit=20&isEnd=false.1606097526273103000 BodyData:{"code":0,"data":{"activities":[{"activityId":81,"companyId":311,"countDown":1,"createTime":"2020-11-21T02:28:44.157965+08:00","deadline":1606147200000,"exchangeActivityName":"这是公司311的兑换活动7","exchangedCash":65,"exchangedSuMoney":13,"rate":5},{"activityId":83,"companyId":311,"countDown":5,"createTime":"2020-11-22T04:57:40.071587+08:00","deadline":1606491456734,"exchangeActivityName":"这是更新后的公司10019的兑换活动,哈哈哈","exchangedCash":0,"exchangedSuMoney":0,"rate":100},{"activityId":82,"companyId":311,"countDown":5,"createTime":"2020-11-21T21:38:37.791621+08:00","deadline":1606492799000,"exchangeActivityName":"这是公司311的兑换活动7","exchangedCash":15,"exchangedSuMoney":3,"rate":5},{"activityId":84,"companyId":311,"countDown":6,"createTime":"2020-11-22T21:04:10.635284+08:00","deadline":1606579199000,"exchangeActivityName":"这是公司311的兑换活动7","exchangedCash":0,"exchangedSuMoney":0,"rate":5},{"activityId":85,"companyId":311," | ||
61 | -2020/11/23 10:12:06.396 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 123.85018ms| match|[97;44m GET [0m /cash-pool/activity/ r:/cash-pool/activity/ | ||
62 | -2020/11/23 10:12:17.866 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./cash-pool/activity/?companyId=311&offset=0&limit=20&isEnd=true.1606097537866014000 | ||
63 | - Auth= | ||
64 | - BodyData:{} | ||
65 | -2020/11/23 10:12:18.010 [D] [server.go:2843] <====Send RequestId:GET./cash-pool/activity/?companyId=311&offset=0&limit=20&isEnd=true.1606097537866014000 BodyData:{"code":0,"data":{"activities":[],"count":4},"msg":"ok"} | ||
66 | -2020/11/23 10:12:18.010 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 144.184217ms| match|[97;44m GET [0m /cash-pool/activity/ r:/cash-pool/activity/ | ||
67 | -2020/11/23 10:55:12.835 [I] [???:0] http server Running on http://:8082 | ||
68 | -2020/11/23 10:56:32.995 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./cash-pool/cash-pool?companyId=358.1606100192992875000 | ||
69 | - Auth= | ||
70 | - BodyData:{} | ||
71 | -2020/11/23 10:56:33.201 [D] [server.go:2843] <====Send RequestId:GET./cash-pool/cash-pool?companyId=358.1606100192992875000 BodyData:{"code":0,"data":{"cashPoolId":10,"cash":800,"companyId":358,"exchangedCash":4,"unExchangeCash":796,"exchangedSuMoney":3,"unExchangeSuMoney":3498567.67,"rate":1.33,"lastRate":2,"createTime":"2020-11-17T11:02:21.013016+08:00"},"msg":"ok"} | ||
72 | -2020/11/23 10:56:33.201 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 208.607749ms| match|[97;44m GET [0m /cash-pool/cash-pool r:/cash-pool/cash-pool | ||
73 | -2020/11/23 10:56:54.279 [D] [server.go:2843] ====>Recv User:<nil> RequestId:POST./cash-pool/input.1606100214279428000 | ||
74 | - Auth= | ||
75 | - BodyData:{ | ||
76 | - "companyId": 358, | ||
77 | - "cash": 2000 | ||
78 | -} | ||
79 | -2020/11/23 10:56:54.426 [D] [server.go:2843] <====Send RequestId:POST./cash-pool/input.1606100214279428000 BodyData:{"code":0,"data":{"cashPoolId":10,"cash":2000,"companyId":358,"exchangedCash":4,"unExchangeCash":1996,"exchangedSuMoney":3,"unExchangeSuMoney":3498567.67,"rate":1.33,"lastRate":2,"createTime":"2020-11-23T10:56:54.414718+08:00"},"msg":"ok"} | ||
80 | -2020/11/23 10:56:54.426 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 147.217724ms| match|[97;46m POST [0m /cash-pool/input r:/cash-pool/input | ||
81 | -2020/11/23 11:00:29.717 [I] [???:0] http server Running on http://:8082 | ||
82 | -2020/11/23 11:00:45.293 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./cash-pool/activity/?companyId=358&offset=0&limit=20&isEnd=false.1606100445292941000 | ||
83 | - Auth= | ||
84 | - BodyData:{} | ||
85 | -2020/11/23 11:00:45.654 [D] [server.go:2843] <====Send RequestId:GET./cash-pool/activity/?companyId=358&offset=0&limit=20&isEnd=false.1606100445292941000 BodyData:{"code":0,"data":{"activities":[{"activityId":41,"companyId":358,"countDown":7,"createTime":"2020-11-17T13:21:41.997891+08:00","deadline":1606665599001,"exchangeActivityName":"12","exchangedCash":0,"exchangedSuMoney":0,"rate":3}],"count":1},"msg":"ok"} | ||
86 | -2020/11/23 11:00:45.654 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 361.818394ms| match|[97;44m GET [0m /cash-pool/activity/ r:/cash-pool/activity/ | ||
87 | -2020/11/23 11:00:51.855 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./cash-pool/activity/?companyId=358&offset=0&limit=20.1606100451855818000 | ||
88 | - Auth= | ||
89 | - BodyData:{} | ||
90 | -2020/11/23 11:00:51.883 [D] [server.go:2843] <====Send RequestId:GET./cash-pool/activity/?companyId=358&offset=0&limit=20.1606100451855818000 BodyData:{"code":0,"data":{"activities":[{"activityId":41,"companyId":358,"countDown":7,"createTime":"2020-11-17T13:21:41.997891+08:00","deadline":1606665599001,"exchangeActivityName":"12","exchangedCash":0,"exchangedSuMoney":0,"rate":3}],"count":1},"msg":"ok"} | ||
91 | -2020/11/23 11:00:51.883 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 28.004377ms| match|[97;44m GET [0m /cash-pool/activity/ r:/cash-pool/activity/ | ||
92 | -2020/11/23 11:01:00.011 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./cash-pool/activity/?companyId=358&offset=0&limit=20&isEnd=true.1606100460011882000 | ||
93 | - Auth= | ||
94 | - BodyData:{} | ||
95 | -2020/11/23 11:01:00.120 [D] [server.go:2843] <====Send RequestId:GET./cash-pool/activity/?companyId=358&offset=0&limit=20&isEnd=true.1606100460011882000 BodyData:{"code":0,"data":{"activities":[],"count":3},"msg":"ok"} | ||
96 | -2020/11/23 11:01:00.120 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 108.248877ms| match|[97;44m GET [0m /cash-pool/activity/ r:/cash-pool/activity/ | ||
97 | -2020/11/23 11:01:05.464 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./cash-pool/activity/?companyId=358&offset=0&limit=20&isEnd=false.1606100465463956000 | ||
98 | - Auth= | ||
99 | - BodyData:{} | ||
100 | -2020/11/23 11:01:05.530 [D] [server.go:2843] <====Send RequestId:GET./cash-pool/activity/?companyId=358&offset=0&limit=20&isEnd=false.1606100465463956000 BodyData:{"code":0,"data":{"activities":[{"activityId":41,"companyId":358,"countDown":7,"createTime":"2020-11-17T13:21:41.997891+08:00","deadline":1606665599001,"exchangeActivityName":"12","exchangedCash":0,"exchangedSuMoney":0,"rate":3}],"count":1},"msg":"ok"} | ||
101 | -2020/11/23 11:01:05.530 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 66.870162ms| match|[97;44m GET [0m /cash-pool/activity/ r:/cash-pool/activity/ | ||
102 | -2020/11/23 11:01:11.482 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./cash-pool/activity/?companyId=311&offset=0&limit=20&isEnd=false.1606100471482029000 | ||
103 | - Auth= | ||
104 | - BodyData:{} | ||
105 | -2020/11/23 11:01:11.718 [D] [server.go:2843] <====Send RequestId:GET./cash-pool/activity/?companyId=311&offset=0&limit=20&isEnd=false.1606100471482029000 BodyData:{"code":0,"data":{"activities":[{"activityId":81,"companyId":311,"countDown":1,"createTime":"2020-11-21T02:28:44.157965+08:00","deadline":1606147200000,"exchangeActivityName":"这是公司311的兑换活动7","exchangedCash":65,"exchangedSuMoney":13,"rate":5},{"activityId":83,"companyId":311,"countDown":5,"createTime":"2020-11-22T04:57:40.071587+08:00","deadline":1606491456734,"exchangeActivityName":"这是更新后的公司10019的兑换活动,哈哈哈","exchangedCash":0,"exchangedSuMoney":0,"rate":100},{"activityId":82,"companyId":311,"countDown":5,"createTime":"2020-11-21T21:38:37.791621+08:00","deadline":1606492799000,"exchangeActivityName":"这是公司311的兑换活动7","exchangedCash":15,"exchangedSuMoney":3,"rate":5},{"activityId":84,"companyId":311,"countDown":6,"createTime":"2020-11-22T21:04:10.635284+08:00","deadline":1606579199000,"exchangeActivityName":"这是公司311的兑换活动7","exchangedCash":0,"exchangedSuMoney":0,"rate":5},{"activityId":85,"companyId":311," | ||
106 | -2020/11/23 11:01:11.719 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 237.434699ms| match|[97;44m GET [0m /cash-pool/activity/ r:/cash-pool/activity/ | ||
107 | -2020/11/23 11:01:41.895 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./cash-pool/cash-pool?companyId=358.1606100501895710000 | ||
108 | - Auth= | ||
109 | - BodyData:{} | ||
110 | -2020/11/23 11:01:42.078 [D] [server.go:2843] <====Send RequestId:GET./cash-pool/cash-pool?companyId=358.1606100501895710000 BodyData:{"code":0,"data":{"cashPoolId":10,"cash":2000,"companyId":358,"exchangedCash":4,"unExchangeCash":1996,"exchangedSuMoney":3,"unExchangeSuMoney":3498567.67,"rate":1.33,"lastRate":2,"createTime":"2020-11-17T11:02:21.013016+08:00"},"msg":"ok"} | ||
111 | -2020/11/23 11:01:42.079 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 183.376374ms| match|[97;44m GET [0m /cash-pool/cash-pool r:/cash-pool/cash-pool | ||
112 | -2020/11/23 11:01:48.118 [D] [server.go:2843] ====>Recv User:<nil> RequestId:POST./cash-pool/input.1606100508118806000 | ||
113 | - Auth= | ||
114 | - BodyData:{ | ||
115 | - "companyId": 358, | ||
116 | - "cash": 2001 | ||
117 | -} | ||
118 | -2020/11/23 11:01:48.208 [D] [server.go:2843] <====Send RequestId:POST./cash-pool/input.1606100508118806000 BodyData:{"code":501,"msg":"内部服务出错:pg: no rows in result set"} | ||
119 | -2020/11/23 11:01:48.208 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 90.202556ms| match|[97;46m POST [0m /cash-pool/input r:/cash-pool/input | ||
120 | -2020/11/23 11:05:35.034 [I] [???:0] http server Running on http://:8082 | ||
121 | -2020/11/23 11:05:38.359 [D] [server.go:2843] ====>Recv User:<nil> RequestId:POST./cash-pool/input.1606100738359708000 | ||
122 | - Auth= | ||
123 | - BodyData:{ | ||
124 | - "companyId": 358, | ||
125 | - "cash": 2001 | ||
126 | -} | ||
127 | -2020/11/23 11:05:38.629 [D] [server.go:2843] <====Send RequestId:POST./cash-pool/input.1606100738359708000 BodyData:{"code":0,"data":{"cashPoolId":10,"cash":2001,"companyId":358,"exchangedCash":4,"unExchangeCash":1997,"exchangedSuMoney":3,"unExchangeSuMoney":3498567.67,"rate":1.33,"lastRate":2,"createTime":"2020-11-23T11:05:38.625629+08:00"},"msg":"ok"} | ||
128 | -2020/11/23 11:05:38.629 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 269.677869ms| match|[97;46m POST [0m /cash-pool/input r:/cash-pool/input | ||
129 | -2020/11/23 11:06:28.340 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./cash-pool/cash-pool?companyId=358.1606100788340467000 | ||
130 | - Auth= | ||
131 | - BodyData:{} | ||
132 | -2020/11/23 11:06:28.378 [D] [server.go:2843] <====Send RequestId:GET./cash-pool/cash-pool?companyId=358.1606100788340467000 BodyData:{"code":0,"data":{"cashPoolId":10,"cash":2001,"companyId":358,"exchangedCash":4,"unExchangeCash":1997,"exchangedSuMoney":3,"unExchangeSuMoney":3498567.67,"rate":1.33,"lastRate":0,"createTime":"2020-11-17T11:02:21.013016+08:00"},"msg":"ok"} | ||
133 | -2020/11/23 11:06:28.378 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 38.134513ms| match|[97;44m GET [0m /cash-pool/cash-pool r:/cash-pool/cash-pool | ||
134 | -2020/11/23 11:07:52.593 [I] [???:0] http server Running on http://:8082 | ||
135 | -2020/11/23 11:07:57.777 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./cash-pool/cash-pool?companyId=358.1606100877777207000 | ||
136 | - Auth= | ||
137 | - BodyData:{} | ||
138 | -2020/11/23 11:07:57.922 [D] [server.go:2843] <====Send RequestId:GET./cash-pool/cash-pool?companyId=358.1606100877777207000 BodyData:{"code":0,"data":{"cashPoolId":10,"cash":2001,"companyId":358,"exchangedCash":4,"unExchangeCash":1997,"exchangedSuMoney":3,"unExchangeSuMoney":3498567.67,"rate":1.33,"lastRate":0,"createTime":"2020-11-17T11:02:21.013016+08:00"},"msg":"ok"} | ||
139 | -2020/11/23 11:07:57.922 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 145.563659ms| match|[97;44m GET [0m /cash-pool/cash-pool r:/cash-pool/cash-pool | ||
140 | -2020/11/23 11:08:23.230 [D] [server.go:2843] ====>Recv User:<nil> RequestId:POST./cash-pool/activity.1606100903230741000 | ||
141 | - Auth= | ||
142 | - BodyData:{ | ||
143 | - "companyId": 358, | ||
144 | - "exchangeActivityName": "这是公司311的兑换活动7", | ||
145 | - "deadline": "2021-01-05T16:00:00.000Z", | ||
146 | - "exchangeRate": 5.1 | ||
147 | -} | ||
148 | -2020/11/23 11:08:23.355 [D] [server.go:2843] <====Send RequestId:POST./cash-pool/activity.1606100903230741000 BodyData:{"code":0,"data":{"activityId":95,"exchangeActivityName":"这是公司311的兑换活动7","companyId":358,"exchangedCash":0,"exchangedSuMoney":0,"deadline":"2021-01-06T23:59:59+08:00","countDown":45,"rate":5.1,"createTime":"2020-11-23T11:08:23.237467+08:00"},"msg":"ok"} | ||
149 | -2020/11/23 11:08:23.355 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 124.391819ms| match|[97;46m POST [0m /cash-pool/activity r:/cash-pool/activity | ||
150 | -2020/11/23 11:08:33.758 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./cash-pool/activity/?companyId=358&offset=0&limit=20&isEnd=false.1606100913758174000 | ||
151 | - Auth= | ||
152 | - BodyData:{} | ||
153 | -2020/11/23 11:08:33.863 [D] [server.go:2843] <====Send RequestId:GET./cash-pool/activity/?companyId=358&offset=0&limit=20&isEnd=false.1606100913758174000 BodyData:{"code":0,"data":{"activities":[{"activityId":41,"companyId":358,"countDown":7,"createTime":"2020-11-17T13:21:41.997891+08:00","deadline":1606665599001,"exchangeActivityName":"12","exchangedCash":0,"exchangedSuMoney":0,"rate":3},{"activityId":95,"companyId":358,"countDown":45,"createTime":"2020-11-23T11:08:23.237467+08:00","deadline":1609948799000,"exchangeActivityName":"这是公司311的兑换活动7","exchangedCash":0,"exchangedSuMoney":0,"rate":5.1}],"count":2},"msg":"ok"} | ||
154 | -2020/11/23 11:08:33.863 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 105.253309ms| match|[97;44m GET [0m /cash-pool/activity/ r:/cash-pool/activity/ | ||
155 | -2020/11/23 11:08:50.399 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./cash-pool/cash-pool?companyId=358.1606100930399371000 | ||
156 | - Auth= | ||
157 | - BodyData:{} | ||
158 | -2020/11/23 11:08:50.433 [D] [server.go:2843] <====Send RequestId:GET./cash-pool/cash-pool?companyId=358.1606100930399371000 BodyData:{"code":0,"data":{"cashPoolId":10,"cash":2001,"companyId":358,"exchangedCash":4,"unExchangeCash":1997,"exchangedSuMoney":3,"unExchangeSuMoney":3498567.67,"rate":1.33,"lastRate":3,"createTime":"2020-11-17T11:02:21.013016+08:00"},"msg":"ok"} | ||
159 | -2020/11/23 11:08:50.434 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 35.068243ms| match|[97;44m GET [0m /cash-pool/cash-pool r:/cash-pool/cash-pool | ||
160 | -2020/11/23 11:38:17.877 [I] [???:0] http server Running on http://:8082 | ||
161 | -2020/11/23 11:38:26.022 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./cash-pool/cash-pool?companyId=358.1606102706022033000 | ||
162 | - Auth= | ||
163 | - BodyData:{} | ||
164 | -2020/11/23 11:38:27.133 [D] [server.go:2843] <====Send RequestId:GET./cash-pool/cash-pool?companyId=358.1606102706022033000 BodyData:{"code":0,"data":{"cashPoolId":10,"cash":2001,"companyId":358,"exchangedCash":4,"unExchangeCash":1997,"exchangedSuMoney":3,"unExchangeSuMoney":3498567.67,"rate":1.33,"lastRate":3,"createTime":"2020-11-17T11:02:21.013016+08:00"},"msg":"ok"} | ||
165 | -2020/11/23 11:38:27.134 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 1.112025373s| match|[97;44m GET [0m /cash-pool/cash-pool r:/cash-pool/cash-pool | ||
166 | -2020/11/23 11:38:30.677 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./cash-pool/cash-pool?companyId=358.1606102710677272000 | ||
167 | - Auth= | ||
168 | - BodyData:{} | ||
169 | -2020/11/23 11:38:30.760 [D] [server.go:2843] <====Send RequestId:GET./cash-pool/cash-pool?companyId=358.1606102710677272000 BodyData:{"code":0,"data":{"cashPoolId":10,"cash":2001,"companyId":358,"exchangedCash":4,"unExchangeCash":1997,"exchangedSuMoney":3,"unExchangeSuMoney":3498567.67,"rate":1.33,"lastRate":3,"createTime":"2020-11-17T11:02:21.013016+08:00"},"msg":"ok"} | ||
170 | -2020/11/23 11:38:30.760 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 83.453461ms| match|[97;44m GET [0m /cash-pool/cash-pool r:/cash-pool/cash-pool | ||
171 | -2020/11/23 11:41:07.866 [I] [???:0] http server Running on http://:8082 | ||
172 | -2020/11/23 11:41:14.678 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./cash-pool/cash-pool?companyId=358.1606102874678381000 | ||
173 | - Auth= | ||
174 | - BodyData:{} | ||
175 | -2020/11/23 11:41:14.858 [D] [server.go:2843] <====Send RequestId:GET./cash-pool/cash-pool?companyId=358.1606102874678381000 BodyData:{"code":0,"data":{"cashPoolId":10,"cash":2001,"companyId":358,"exchangedCash":4,"unExchangeCash":1997,"exchangedSuMoney":3,"unExchangeSuMoney":3498567.67,"rate":1.33,"lastRate":3,"createTime":"2020-11-17T11:02:21.013016+08:00"},"msg":"ok"} | ||
176 | -2020/11/23 11:41:14.858 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 180.639118ms| match|[97;44m GET [0m /cash-pool/cash-pool r:/cash-pool/cash-pool | ||
177 | -2020/11/23 11:43:00.648 [I] [???:0] http server Running on http://:8082 | ||
178 | -2020/11/23 11:43:09.903 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./cash-pool/cash-pool?companyId=358.1606102989903536000 | ||
179 | - Auth= | ||
180 | - BodyData:{} | ||
181 | -2020/11/23 11:43:10.158 [D] [server.go:2843] <====Send RequestId:GET./cash-pool/cash-pool?companyId=358.1606102989903536000 BodyData:{"code":0,"data":{"cashPoolId":10,"cash":2001,"companyId":358,"exchangedCash":4,"unExchangeCash":1997,"exchangedSuMoney":3,"unExchangeSuMoney":3498567.67,"rate":1.33,"lastRate":0,"createTime":"2020-11-17T11:02:21.013016+08:00"},"msg":"ok"} | ||
182 | -2020/11/23 11:43:10.158 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 255.02557ms| match|[97;44m GET [0m /cash-pool/cash-pool r:/cash-pool/cash-pool | ||
183 | -2020/11/23 11:43:13.946 [D] [server.go:2843] ====>Recv User:<nil> RequestId:GET./cash-pool/cash-pool?companyId=358.1606102993946891000 | ||
184 | - Auth= | ||
185 | - BodyData:{} | ||
186 | -2020/11/23 11:43:14.139 [D] [server.go:2843] <====Send RequestId:GET./cash-pool/cash-pool?companyId=358.1606102993946891000 BodyData:{"code":0,"data":{"cashPoolId":10,"cash":2001,"companyId":358,"exchangedCash":4,"unExchangeCash":1997,"exchangedSuMoney":3,"unExchangeSuMoney":3498567.67,"rate":1.33,"lastRate":0,"createTime":"2020-11-17T11:02:21.013016+08:00"},"msg":"ok"} | ||
187 | -2020/11/23 11:43:14.139 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 192.55553ms| match|[97;44m GET [0m /cash-pool/cash-pool r:/cash-pool/cash-pool | ||
188 | -2020/11/23 12:12:16.473 [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 | ||
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|[97;42m 200 [0m| 713.096446ms| match|[97;44m GET [0m /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|[97;42m 200 [0m| 314.966182ms| match|[97;41m DELETE [0m /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|[97;42m 200 [0m| 53.736857ms| match|[97;41m DELETE [0m /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|[97;42m 200 [0m| 1.991287ms| match|[97;44m GET [0m /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 | 23 | +2020/11/24 02:12:21.629 [D] [server.go:2843] <====Send RequestId:POST./statistics/employees-ranking-list.1606155141596065000 BodyData:{"code":501,"msg":"内部服务出错:ERROR #42601 syntax error at or near \"DESC\""} |
24 | +2020/11/24 02:12:21.629 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 33.247829ms| match|[97;46m POST [0m /statistics/employees-ranking-list r:/statistics/employees-ranking-list | ||
25 | +2020/11/24 02:13:44.924 [I] [???:0] http server Running on http://:8082 | ||
26 | +2020/11/24 02:13:48.348 [D] [server.go:2843] ====>Recv User:<nil> RequestId:POST./statistics/employees-ranking-list.1606155228348548000 | ||
215 | Auth= | 27 | Auth= |
216 | BodyData:{ | 28 | BodyData:{ |
217 | - "companyId": 381, | ||
218 | - "listIntervalStartTime": "2020-12-18T12:02:55.851528+08:00", | ||
219 | - "listIntervalEndTime": "2020-12-20T12:01:54.851528+08:00" | 29 | + "companyId": 311, |
30 | + "uid": 3259769336174592, | ||
31 | + "rankingType": 1, | ||
32 | + "offset": 0, | ||
33 | + "limit": 20 | ||
220 | } | 34 | } |
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|[97;42m 200 [0m| 12.059713ms| match|[97;46m POST [0m /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 | 35 | +2020/11/24 02:13:48.424 [D] [server.go:2843] <====Send RequestId:POST./statistics/employees-ranking-list.1606155228348548000 BodyData:{"code":501,"msg":"内部服务出错:ERROR #42703 column t.employee_su_money does not exist"} |
36 | +2020/11/24 02:13:48.425 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 76.618315ms| match|[97;46m POST [0m /statistics/employees-ranking-list r:/statistics/employees-ranking-list | ||
37 | +2020/11/24 02:14:42.273 [I] [???:0] http server Running on http://:8082 | ||
38 | +2020/11/24 02:14:57.445 [D] [server.go:2843] ====>Recv User:<nil> RequestId:POST./statistics/employees-ranking-list.1606155297445287000 | ||
224 | Auth= | 39 | Auth= |
225 | BodyData:{ | 40 | BodyData:{ |
226 | - "companyId": 381, | ||
227 | - "listIntervalStartTime": "2020-12-19T12:02:55.851528+08:00", | ||
228 | - "listIntervalEndTime": "2020-12-20T12:01:54.851528+08:00" | 41 | + "companyId": 311, |
42 | + "uid": 3259769336174592, | ||
43 | + "rankingType": 1, | ||
44 | + "offset": 0, | ||
45 | + "limit": 20 | ||
229 | } | 46 | } |
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|[97;42m 200 [0m| 39.231933ms| match|[97;46m POST [0m /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 | 47 | +2020/11/24 02:14:57.529 [D] [server.go:2843] <====Send RequestId:POST./statistics/employees-ranking-list.1606155297445287000 BodyData:{"code":501,"msg":"内部服务出错:ERROR #42703 column t.contributions does not exist"} |
48 | +2020/11/24 02:14:57.529 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 84.600516ms| match|[97;46m POST [0m /statistics/employees-ranking-list r:/statistics/employees-ranking-list | ||
49 | +2020/11/24 02:16:40.624 [I] [???:0] http server Running on http://:8082 | ||
50 | +2020/11/24 02:16:43.214 [D] [server.go:2843] ====>Recv User:<nil> RequestId:POST./statistics/employees-ranking-list.1606155403214268000 | ||
233 | Auth= | 51 | Auth= |
234 | BodyData:{ | 52 | BodyData:{ |
235 | - "companyId": 381, | ||
236 | - "listIntervalStartTime": "2020-12-20T12:02:55.851528+08:00", | ||
237 | - "listIntervalEndTime": "2020-12-20T12:01:54.851528+08:00" | 53 | + "companyId": 311, |
54 | + "uid": 3259769336174592, | ||
55 | + "rankingType": 1, | ||
56 | + "offset": 0, | ||
57 | + "limit": 20 | ||
238 | } | 58 | } |
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|[97;42m 200 [0m| 40.955595ms| match|[97;46m POST [0m /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 | 59 | +2020/11/24 02:16:43.237 [D] [server.go:2843] <====Send RequestId:POST./statistics/employees-ranking-list.1606155403214268000 BodyData:{"code":501,"msg":"内部服务出错:ERROR #42703 column t.su_money does not exist"} |
60 | +2020/11/24 02:16:43.237 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 23.127537ms| match|[97;46m POST [0m /statistics/employees-ranking-list r:/statistics/employees-ranking-list | ||
61 | +2020/11/24 02:20:49.148 [I] [???:0] http server Running on http://:8082 | ||
62 | +2020/11/24 02:21:18.966 [D] [server.go:2843] ====>Recv User:<nil> RequestId:POST./statistics/employees-ranking-list.1606155678966930000 | ||
242 | Auth= | 63 | Auth= |
243 | BodyData:{ | 64 | BodyData:{ |
244 | - "companyId": 381, | ||
245 | - "listIntervalStartTime": "2020-12-21T12:02:55.851528+08:00", | ||
246 | - "listIntervalEndTime": "2020-12-21T12:01:54.851528+08:00" | 65 | + "companyId": 311, |
66 | + "uid": 3259769336174592, | ||
67 | + "rankingType": 1, | ||
68 | + "offset": 0, | ||
69 | + "limit": 20 | ||
247 | } | 70 | } |
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|[97;42m 200 [0m| 182.169087ms| match|[97;46m POST [0m /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|[97;42m 200 [0m| 75.483884ms| match|[97;44m GET [0m /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 | 71 | +2020/11/24 02:21:18.986 [D] [server.go:2843] <====Send RequestId:POST./statistics/employees-ranking-list.1606155678966930000 BodyData:{"code":501,"msg":"内部服务出错:pg: can't find column=su_money in model= (try discard_unknown_columns)"} |
72 | +2020/11/24 02:21:18.986 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 19.937299ms| match|[97;46m POST [0m /statistics/employees-ranking-list r:/statistics/employees-ranking-list | ||
73 | +2020/11/24 02:24:45.104 [I] [???:0] http server Running on http://:8082 | ||
74 | +2020/11/24 02:24:48.169 [D] [server.go:2843] ====>Recv User:<nil> RequestId:POST./statistics/employees-ranking-list.1606155888169550000 | ||
256 | Auth= | 75 | Auth= |
257 | BodyData:{ | 76 | BodyData:{ |
258 | - "listIntervalStartTime": "2020-12-21T12:01:54.851528+08:00", | ||
259 | - "listIntervalEndTime": "2020-12-21T12:01:54.851528+08:00" | 77 | + "companyId": 311, |
78 | + "uid": 3259769336174592, | ||
79 | + "rankingType": 1, | ||
80 | + "offset": 0, | ||
81 | + "limit": 20 | ||
260 | } | 82 | } |
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|[97;42m 200 [0m| 689.351976ms| match|[97;43m PUT [0m /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 | 83 | +2020/11/24 02:24:48.281 [D] [server.go:2843] <====Send RequestId:POST./statistics/employees-ranking-list.1606155888169550000 BodyData:{"code":501,"msg":"内部服务出错:ERROR #42703 column t.su_money does not exist"} |
84 | +2020/11/24 02:24:48.281 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 111.809058ms| match|[97;46m POST [0m /statistics/employees-ranking-list r:/statistics/employees-ranking-list | ||
85 | +2020/11/24 02:25:19.521 [I] [???:0] http server Running on http://:8082 | ||
86 | +2020/11/24 02:26:20.847 [D] [server.go:2843] ====>Recv User:<nil> RequestId:POST./statistics/employees-ranking-list.1606155980847798000 | ||
264 | Auth= | 87 | Auth= |
265 | BodyData:{ | 88 | BodyData:{ |
266 | - "listIntervalStartTime": "2020-12-20T12:01:54.851528+08:00", | ||
267 | - "listIntervalEndTime": "2020-12-21T12:01:54.851528+08:00" | 89 | + "companyId": 311, |
90 | + "uid": 3259769336174592, | ||
91 | + "rankingType": 1, | ||
92 | + "offset": 0, | ||
93 | + "limit": 20 | ||
268 | } | 94 | } |
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|[97;42m 200 [0m| 67.978885ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 209.333878ms| match|[97;44m GET [0m /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 | 95 | +2020/11/24 02:26:20.928 [D] [server.go:2843] <====Send RequestId:POST./statistics/employees-ranking-list.1606155980847798000 BodyData:{"code":501,"msg":"内部服务出错:pg: can't find column=employee_contributions in model= (try discard_unknown_columns)"} |
96 | +2020/11/24 02:26:20.928 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 80.814894ms| match|[97;46m POST [0m /statistics/employees-ranking-list r:/statistics/employees-ranking-list | ||
97 | +2020/11/24 02:28:25.144 [I] [???:0] http server Running on http://:8082 | ||
98 | +2020/11/24 02:29:55.255 [D] [server.go:2843] ====>Recv User:<nil> RequestId:POST./statistics/employees-ranking-list.1606156195255917000 | ||
277 | Auth= | 99 | Auth= |
278 | BodyData:{ | 100 | BodyData:{ |
279 | - "listIntervalStartTime": "2020-12-19T12:01:54.851528+08:00", | ||
280 | - "listIntervalEndTime": "2020-12-21T12:01:54.851528+08:00" | 101 | + "companyId": 311, |
102 | + "uid": 3259769336174592, | ||
103 | + "rankingType": 1, | ||
104 | + "offset": 0, | ||
105 | + "limit": 20 | ||
281 | } | 106 | } |
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|[97;42m 200 [0m| 96.199882ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 2.937177ms| match|[97;44m GET [0m /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 | 107 | +2020/11/24 02:29:55.445 [D] [server.go:2843] <====Send RequestId:POST./statistics/employees-ranking-list.1606156195255917000 BodyData:{"code":0,"data":{"currentEmployeeContributions":null,"currentEmployeeWealth":null,"employeesContributions":[{"Uid":3242227175192320,"EmployeeName":"卞信华","EmployeesContributions":50,"Ranking":1}],"employeesWealth":[{"Uid":3241342564574976,"EmployeeName":"测试1","EmployeeSuMoney":-1,"Ranking":1},{"Uid":3242227175192320,"EmployeeName":"卞信华","EmployeeSuMoney":-195,"Ranking":2}]},"msg":"ok"} |
108 | +2020/11/24 02:29:55.445 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 189.91089ms| match|[97;46m POST [0m /statistics/employees-ranking-list r:/statistics/employees-ranking-list | ||
109 | +2020/11/24 02:30:08.022 [D] [server.go:2843] ====>Recv User:<nil> RequestId:POST./statistics/employees-ranking-list.1606156208022599000 | ||
291 | Auth= | 110 | Auth= |
292 | BodyData:{ | 111 | BodyData:{ |
293 | "companyId": 381, | 112 | "companyId": 381, |
294 | - "listIntervalStartTime": "2020-12-21T12:02:55.851528+08:00", | ||
295 | - "listIntervalEndTime": "2020-12-21T12:01:54.851528+08:00" | 113 | + "uid": 3259769336174592, |
114 | + "rankingType": 1, | ||
115 | + "offset": 0, | ||
116 | + "limit": 20 | ||
296 | } | 117 | } |
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|[97;42m 200 [0m| 697.174713ms| match|[97;46m POST [0m /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 | 118 | +2020/11/24 02:30:08.103 [D] [server.go:2843] <====Send RequestId:POST./statistics/employees-ranking-list.1606156208022599000 BodyData:{"code":0,"data":{"currentEmployeeContributions":{"Uid":3259769336174592,"EmployeeName":"索超","EmployeesContributions":26217.3,"Ranking":2},"currentEmployeeWealth":{"Uid":3259769336174592,"EmployeeName":"索超","EmployeeSuMoney":23817.3,"Ranking":2},"employeesContributions":[{"Uid":3259769335767040,"EmployeeName":"朱武","EmployeesContributions":88100,"Ranking":1},{"Uid":3259769336174592,"EmployeeName":"索超","EmployeesContributions":26217.3,"Ranking":2},{"Uid":3259769336137728,"EmployeeName":"杨志","EmployeesContributions":7232,"Ranking":3},{"Uid":3259769336070144,"EmployeeName":"杜迁","EmployeesContributions":3635,"Ranking":4},{"Uid":3259769336037376,"EmployeeName":"朱贵2","EmployeesContributions":3325,"Ranking":5},{"Uid":3259769336137728,"EmployeeName":"杨志358","EmployeesContributions":3309.8,"Ranking":6},{"Uid":3288265494991872,"EmployeeName":"李四","EmployeesContributions":10.5,"Ranking":7},{"Uid":3259769336317952,"EmployeeName":"陈达","EmployeesContributions": |
119 | +2020/11/24 02:30:08.103 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 80.901995ms| match|[97;46m POST [0m /statistics/employees-ranking-list r:/statistics/employees-ranking-list | ||
120 | +2020/11/24 02:30:42.196 [D] [server.go:2843] ====>Recv User:<nil> RequestId:POST./statistics/employees-ranking-list.1606156242196619000 | ||
300 | Auth= | 121 | Auth= |
301 | BodyData:{ | 122 | BodyData:{ |
302 | "companyId": 381, | 123 | "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|[97;42m 200 [0m| 146.154322ms| match|[97;46m POST [0m /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|[97;42m 200 [0m| 144.476001ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 148.90849ms| match|[97;44m GET [0m /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|[97;42m 200 [0m| 25.71155ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 58.014884ms| match|[97;44m GET [0m /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|[97;42m 200 [0m| 17.433098ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 398.133463ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 90.37943ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 176.290547ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 83.771544ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 100.412059ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 60.909589ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 125.112364ms| match|[97;44m GET [0m /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|[97;42m 200 [0m| 102.450167ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 149.172184ms| match|[97;44m GET [0m /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|[97;42m 200 [0m| 18.949087ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m|24.338806129s| match|[97;43m PUT [0m /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|[97;42m 200 [0m|21.639403388s| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 540.152403ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 69.137874ms| match|[97;44m GET [0m /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|[97;42m 200 [0m| 35.458869ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 49.186855ms| match|[97;44m GET [0m /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|[97;42m 200 [0m| 60.736335ms| match|[97;44m GET [0m /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|[97;42m 200 [0m| 59.972088ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 106.824061ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 9.180028ms| match|[97;44m GET [0m /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|[97;42m 200 [0m| 61.202198ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 144.195997ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 8.273489ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 208.547925ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 20.237027ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 342.434902ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 113.653343ms| match|[97;43m PUT [0m /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" | 124 | + "uid": 3259769336137728, |
125 | + "rankingType": 1, | ||
126 | + "offset": 0, | ||
127 | + "limit": 20 | ||
560 | } | 128 | } |
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|[97;42m 200 [0m| 4.783712ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 48.938056ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 87.076038ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 97.650631ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 79.622678ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 102.686335ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 78.2779ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 94.215ms| match|[97;44m GET [0m /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|[97;42m 200 [0m| 36.780575ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 86.402751ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 84.646702ms| match|[97;43m PUT [0m /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|[97;42m 200 [0m| 120.18756ms| match|[97;44m GET [0m /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|[97;42m 200 [0m| 86.366848ms| match|[97;44m GET [0m /cash-pool/activity/ r:/cash-pool/activity/ | ||
653 | -2020/11/23 17:40:41.529 [I] [???:0] http server Running on http://:8082 | ||
654 | -2020/11/23 17:43:38.430 [I] [???:0] http server Running on http://:8082 | ||
655 | -2020/11/23 19:14:57.842 [I] [???:0] http server Running on http://:8082 | 129 | +2020/11/24 02:30:42.227 [D] [server.go:2843] <====Send RequestId:POST./statistics/employees-ranking-list.1606156242196619000 BodyData:{"code":0,"data":{"currentEmployeeContributions":{"Uid":3259769336137728,"EmployeeName":"杨志","EmployeesContributions":7232,"Ranking":3},"currentEmployeeWealth":{"Uid":3259769336137728,"EmployeeName":"杨志","EmployeeSuMoney":7032,"Ranking":3},"employeesContributions":[{"Uid":3259769335767040,"EmployeeName":"朱武","EmployeesContributions":88100,"Ranking":1},{"Uid":3259769336174592,"EmployeeName":"索超","EmployeesContributions":26217.3,"Ranking":2},{"Uid":3259769336137728,"EmployeeName":"杨志","EmployeesContributions":7232,"Ranking":3},{"Uid":3259769336070144,"EmployeeName":"杜迁","EmployeesContributions":3635,"Ranking":4},{"Uid":3259769336037376,"EmployeeName":"朱贵2","EmployeesContributions":3325,"Ranking":5},{"Uid":3259769336137728,"EmployeeName":"杨志358","EmployeesContributions":3309.8,"Ranking":6},{"Uid":3288265494991872,"EmployeeName":"李四","EmployeesContributions":10.5,"Ranking":7},{"Uid":3259769336317952,"EmployeeName":"陈达","EmployeesContributions":0,"Ran |
130 | +2020/11/24 02:30:42.227 [D] [server.go:1925] | 127.0.0.1|[97;42m 200 [0m| 30.748579ms| match|[97;46m POST [0m /statistics/employees-ranking-list r:/statistics/employees-ranking-list |
@@ -328,82 +328,25 @@ func (dao *EmployeeDao) ContributionsWealthRanking(queryOptions map[string]inter | @@ -328,82 +328,25 @@ func (dao *EmployeeDao) ContributionsWealthRanking(queryOptions map[string]inter | ||
328 | tx := dao.transactionContext.PgTx | 328 | tx := dao.transactionContext.PgTx |
329 | suMoneyTransactionRecordModel := new(models.SuMoneyTransactionRecord) | 329 | suMoneyTransactionRecordModel := new(models.SuMoneyTransactionRecord) |
330 | 330 | ||
331 | - /**********************************************财富值排行榜****************************************/ | ||
332 | - | ||
333 | - // 素币增加 | ||
334 | - queryWealthRestore := tx.Model(suMoneyTransactionRecordModel) | ||
335 | - queryWealthRestore = queryWealthRestore.Join("JOIN employees AS e ON e.uid = (su_money_transaction_record.employee->>'uid')::bigint") | ||
336 | - queryWealthRestore = queryWealthRestore.ColumnExpr("su_money_transaction_record.employee->>'uid' AS uid") | ||
337 | - queryWealthRestore = queryWealthRestore.ColumnExpr("su_money_transaction_record.employee->>'employeeName' AS employee_name") | ||
338 | - queryWealthRestore = queryWealthRestore.ColumnExpr("sum(su_money_transaction_record.su_money) AS su_money") | ||
339 | - queryWealthRestore = queryWealthRestore.ColumnExpr("ROW_NUMBER() OVER (ORDER BY sum(su_money_transaction_record.su_money) DESC) AS ranking") | ||
340 | - queryWealthRestore = queryWealthRestore.Where(`su_money_transaction_record.record_type IN (?)`, pg.In([]int{2, 3})) | ||
341 | - queryWealthRestore = queryWealthRestore.Where(`e.status = ?`, 1) // 离职员工过滤 | ||
342 | - if companyId, ok := queryOptions["companyId"]; ok && (companyId.(int64) != 0) { | ||
343 | - queryWealthRestore = queryWealthRestore.Where("e.company_id = ?", companyId) | ||
344 | - } | ||
345 | - if startTime, ok := queryOptions["startTime"]; ok { | ||
346 | - queryWealthRestore = queryWealthRestore.Where(`su_money_transaction_record.create_time > ?`, startTime) | ||
347 | - } | ||
348 | - if endTime, ok := queryOptions["endTime"]; ok { | ||
349 | - queryWealthRestore = queryWealthRestore.Where(`su_money_transaction_record.create_time < ?`, endTime) | ||
350 | - } | ||
351 | - // 素币增加子查询 | ||
352 | - queryWealthRestoreWith := queryWealthRestore.GroupExpr("su_money_transaction_record.employee->>'uid',su_money_transaction_record.employee->>'employeeName'") | ||
353 | - | ||
354 | - // 素币支出 | ||
355 | - queryWealthExpend := tx.Model() | ||
356 | - queryWealthExpend = queryWealthExpend.With("a", queryWealthRestoreWith) | ||
357 | - queryWealthExpend = queryWealthExpend.Table("a") | ||
358 | - queryWealthExpend = queryWealthExpend.Table("su_money_transaction_records") | ||
359 | - queryWealthExpend = queryWealthExpend.Join("JOIN employees AS e ON e.uid = (su_money_transaction_records.employee->>'uid')::bigint") | ||
360 | - queryWealthExpend = queryWealthExpend.ColumnExpr("a.uid AS uid") | ||
361 | - queryWealthExpend = queryWealthExpend.ColumnExpr("a.employee_name AS employee_name") | ||
362 | - queryWealthExpend = queryWealthExpend.ColumnExpr("a.su_money - sum(su_money_transaction_records.su_money) AS su_money_expend") | ||
363 | - queryWealthExpend = queryWealthExpend.ColumnExpr("ROW_NUMBER() OVER (ORDER BY a.su_money - sum(su_money_transaction_records.su_money) DESC) AS ranking") | ||
364 | - queryWealthExpend = queryWealthExpend.Where(`su_money_transaction_records.record_type IN (?)`, pg.In([]int{4, 1, 5})) | ||
365 | - queryWealthExpend = queryWealthExpend.Where(`e.status = ?`, 1) | ||
366 | - //queryWealthExpend = queryWealthExpend.Where("su_money_transaction_records.employee->>'uid' = a.uid") | ||
367 | - if companyId, ok := queryOptions["companyId"]; ok && (companyId.(int64) != 0) { | ||
368 | - queryWealthExpend = queryWealthExpend.Where("e.company_id = ?", companyId) | ||
369 | - } | ||
370 | - if startTime, ok := queryOptions["startTime"]; ok { | ||
371 | - queryWealthExpend = queryWealthExpend.Where(`su_money_transaction_records.create_time > ?`, startTime) | ||
372 | - } | ||
373 | - if endTime, ok := queryOptions["endTime"]; ok { | ||
374 | - queryWealthExpend = queryWealthExpend.Where(`su_money_transaction_records.create_time < ?`, endTime) | ||
375 | - } | ||
376 | - | ||
377 | - // 素币支出子查询 | ||
378 | - queryWealthExpendWith := queryWealthExpend.GroupExpr("a.uid, a.employee_name, a.su_money") | ||
379 | - | ||
380 | - // 素币退还 | ||
381 | - queryWealth := tx.Model() | ||
382 | - queryWealth = queryWealth.With("b", queryWealthExpendWith) | ||
383 | - queryWealth = queryWealth.Table("b") | ||
384 | - queryWealth = queryWealth.Table("su_money_transaction_records") | ||
385 | - queryWealth = queryWealth.Join("JOIN employees AS e ON e.uid = (su_money_transaction_records.employee->>'uid')::bigint") | ||
386 | - queryWealth = queryWealth.ColumnExpr("b.uid AS uid") | ||
387 | - queryWealth = queryWealth.ColumnExpr("b.employee_name AS employee_name") | ||
388 | - queryWealth = queryWealth.ColumnExpr("b.su_money_expend - sum(su_money_transaction_records.su_money) AS employee_su_money") | ||
389 | - queryWealth = queryWealth.ColumnExpr("ROW_NUMBER() OVER (ORDER BY b.su_money_expend - sum(su_money_transaction_records.su_money) DESC) AS ranking") | ||
390 | - queryWealth = queryWealth.Where(`su_money_transaction_records.record_type = ?`, 6) | 331 | + // 财富值排行榜 |
332 | + queryWealth := tx.Model(suMoneyTransactionRecordModel) | ||
333 | + queryWealth = queryWealth.Join("JOIN employees AS e ON e.uid = (su_money_transaction_record.employee->>'uid')::bigint") | ||
334 | + queryWealth = queryWealth.ColumnExpr("su_money_transaction_record.employee->>'uid' AS uid") | ||
335 | + queryWealth = queryWealth.ColumnExpr("su_money_transaction_record.employee->>'employeeName' AS employee_name") | ||
336 | + queryWealth = queryWealth.ColumnExpr("sum(case WHEN su_money_transaction_record.record_type IN (2, 3, 6) THEN su_money_transaction_record.su_money ELSE 0 end) - sum(case WHEN su_money_transaction_record.record_type IN (4, 1, 5) THEN su_money_transaction_record.su_money ELSE 0 end) AS employee_su_money") | ||
337 | + queryWealth = queryWealth.ColumnExpr("ROW_NUMBER() OVER (ORDER BY sum(case WHEN su_money_transaction_record.record_type IN (2, 3, 6) THEN su_money_transaction_record.su_money ELSE 0 end) - sum(case WHEN su_money_transaction_record.record_type IN (4, 1, 5) THEN su_money_transaction_record.su_money ELSE 0 end) DESC) AS ranking") | ||
391 | queryWealth = queryWealth.Where(`e.status = ?`, 1) | 338 | queryWealth = queryWealth.Where(`e.status = ?`, 1) |
392 | - //queryWealth = queryWealth.Where("su_money_transaction_records.employee->>'uid' = b.uid") | ||
393 | if companyId, ok := queryOptions["companyId"]; ok && (companyId.(int64) != 0) { | 339 | if companyId, ok := queryOptions["companyId"]; ok && (companyId.(int64) != 0) { |
394 | queryWealth = queryWealth.Where("e.company_id = ?", companyId) | 340 | queryWealth = queryWealth.Where("e.company_id = ?", companyId) |
395 | } | 341 | } |
396 | if startTime, ok := queryOptions["startTime"]; ok { | 342 | if startTime, ok := queryOptions["startTime"]; ok { |
397 | - queryWealth = queryWealth.Where(`su_money_transaction_records.create_time > ?`, startTime) | 343 | + queryWealth = queryWealth.Where(`su_money_transaction_record.create_time > ?`, startTime) |
398 | } | 344 | } |
399 | if endTime, ok := queryOptions["endTime"]; ok { | 345 | if endTime, ok := queryOptions["endTime"]; ok { |
400 | - queryWealth = queryWealth.Where(`su_money_transaction_records.create_time < ?`, endTime) | 346 | + queryWealth = queryWealth.Where(`su_money_transaction_record.create_time < ?`, endTime) |
401 | } | 347 | } |
402 | - queryWealth = queryWealth.GroupExpr("b.uid, b.employee_name ,b.su_money_expend") | ||
403 | - | ||
404 | - // 个人素币值子查询 | ||
405 | - queryWealthWith := queryWealth.Order("ranking ASC") | ||
406 | - | 348 | + // 财富值排行榜子查询 |
349 | + queryWealthRestoreWith := queryWealth.GroupExpr("su_money_transaction_record.employee->>'uid',su_money_transaction_record.employee->>'employeeName'") | ||
407 | if offset, ok := queryOptions["offset"]; ok { | 350 | if offset, ok := queryOptions["offset"]; ok { |
408 | offset := offset.(int) | 351 | offset := offset.(int) |
409 | if offset > -1 { | 352 | if offset > -1 { |
@@ -424,21 +367,21 @@ func (dao *EmployeeDao) ContributionsWealthRanking(queryOptions map[string]inter | @@ -424,21 +367,21 @@ func (dao *EmployeeDao) ContributionsWealthRanking(queryOptions map[string]inter | ||
424 | if err := queryWealth.Select(&retWealth); err != nil { | 367 | if err := queryWealth.Select(&retWealth); err != nil { |
425 | return nil, err | 368 | return nil, err |
426 | } | 369 | } |
427 | - | ||
428 | - // 个人素币排名 | ||
429 | - queryEmployeeWealth := tx.Model() | ||
430 | - queryEmployeeWealth = queryEmployeeWealth.With("t", queryWealthWith) | ||
431 | - queryEmployeeWealth = queryEmployeeWealth.Table("t") | ||
432 | - queryEmployeeWealth = queryEmployeeWealth.ColumnExpr("t.uid AS uid") | ||
433 | - queryEmployeeWealth = queryEmployeeWealth.ColumnExpr("t.employee_name AS employee_name") | ||
434 | - queryEmployeeWealth = queryEmployeeWealth.ColumnExpr("t.employee_su_money AS employee_su_money") | ||
435 | - queryEmployeeWealth = queryEmployeeWealth.ColumnExpr("t.ranking AS ranking") | 370 | + // 个人财富值排名 |
371 | + querySelfWealth := tx.Model() | ||
372 | + querySelfWealth = querySelfWealth.With("t", queryWealthRestoreWith) | ||
373 | + querySelfWealth = querySelfWealth.Table("t") | ||
374 | + querySelfWealth = querySelfWealth.ColumnExpr("t.uid AS uid") | ||
375 | + querySelfWealth = querySelfWealth.ColumnExpr("t.employee_name AS employee_name") | ||
376 | + querySelfWealth = querySelfWealth.ColumnExpr("t.employee_su_money AS employee_su_money") | ||
377 | + querySelfWealth = querySelfWealth.ColumnExpr("t.ranking AS ranking") | ||
436 | if uid, ok := queryOptions["uid"]; ok { | 378 | if uid, ok := queryOptions["uid"]; ok { |
437 | - queryEmployeeWealth = queryEmployeeWealth.Where("t.uid::bigint = ?", uid) | 379 | + querySelfWealth = querySelfWealth.Where("t.uid::bigint = ?", uid) |
438 | } | 380 | } |
439 | - if err := queryEmployeeWealth.Select(&retEmployeeWealth); err != nil { | 381 | + if err := querySelfWealth.Select(&retEmployeeWealth); err != nil { |
440 | return nil, err | 382 | return nil, err |
441 | } | 383 | } |
384 | + | ||
442 | var retCurrentEmployeeWealth interface{} | 385 | var retCurrentEmployeeWealth interface{} |
443 | if len(retEmployeeWealth) == 0 { | 386 | if len(retEmployeeWealth) == 0 { |
444 | retCurrentEmployeeWealth = nil | 387 | retCurrentEmployeeWealth = nil |
@@ -446,56 +389,26 @@ func (dao *EmployeeDao) ContributionsWealthRanking(queryOptions map[string]inter | @@ -446,56 +389,26 @@ func (dao *EmployeeDao) ContributionsWealthRanking(queryOptions map[string]inter | ||
446 | retCurrentEmployeeWealth = retEmployeeWealth[0] | 389 | retCurrentEmployeeWealth = retEmployeeWealth[0] |
447 | } | 390 | } |
448 | 391 | ||
449 | - /**********************************************贡献值排行榜****************************************/ | ||
450 | - | ||
451 | // 贡献值 | 392 | // 贡献值 |
452 | - queryContributionsDecrease := tx.Model(suMoneyTransactionRecordModel) | ||
453 | - queryContributionsDecrease = queryContributionsDecrease.Join("JOIN employees AS e ON e.uid = (su_money_transaction_record.employee->>'uid')::bigint") | ||
454 | - queryContributionsDecrease = queryContributionsDecrease.ColumnExpr("su_money_transaction_record.employee->>'uid' AS uid") | ||
455 | - queryContributionsDecrease = queryContributionsDecrease.ColumnExpr("su_money_transaction_record.employee->>'employeeName' AS employee_name") | ||
456 | - queryContributionsDecrease = queryContributionsDecrease.ColumnExpr("sum(su_money_transaction_record.su_money) AS employee_contributions") | ||
457 | - queryContributionsDecrease = queryContributionsDecrease.ColumnExpr("ROW_NUMBER() OVER (ORDER BY sum(su_money_transaction_record.su_money) DESC) AS ranking") | ||
458 | - if companyId, ok := queryOptions["companyId"]; ok && (companyId.(int64) != 0) { | ||
459 | - queryContributionsDecrease = queryContributionsDecrease.Where("e.company_id = ?", companyId) | ||
460 | - } | ||
461 | - queryContributionsDecrease = queryContributionsDecrease.Where(`e.status = ?`, 1) | ||
462 | - queryContributionsDecrease = queryContributionsDecrease.Where(`su_money_transaction_record.record_type IN (?)`, pg.In([]int{2, 3})) | ||
463 | - if startTime, ok := queryOptions["startTime"]; ok { | ||
464 | - queryContributionsDecrease = queryContributionsDecrease.Where(`su_money_transaction_record.create_time > ?`, startTime) | ||
465 | - } | ||
466 | - if endTime, ok := queryOptions["endTime"]; ok { | ||
467 | - queryContributionsDecrease = queryContributionsDecrease.Where(`su_money_transaction_record.create_time < ?`, endTime) | ||
468 | - } | ||
469 | - | ||
470 | - // 贡献值子查询 | ||
471 | - contributionsDecrease := queryContributionsDecrease.GroupExpr("su_money_transaction_record.employee->>'uid',su_money_transaction_record.employee->>'employeeName'") | ||
472 | - | ||
473 | - // 减少的贡献值 | ||
474 | - queryContributions := tx.Model() | ||
475 | - queryContributions = queryContributions.With("t", contributionsDecrease) | ||
476 | - queryContributions = queryContributions.Table("t") | ||
477 | - queryContributions = queryContributions.Table("su_money_transaction_records") | ||
478 | - queryContributions = queryContributions.Join("JOIN employees AS e ON e.uid = (su_money_transaction_records.employee->>'uid')::bigint") | ||
479 | - queryContributions = queryContributions.ColumnExpr("t.uid AS uid") | ||
480 | - queryContributions = queryContributions.ColumnExpr("t.employee_name AS employee_name") | ||
481 | - queryContributions = queryContributions.ColumnExpr(`t.employee_contributions - sum(su_money_transaction_records.su_money) AS employees_contributions`) | ||
482 | - queryContributions = queryContributions.ColumnExpr("ROW_NUMBER() OVER (ORDER BY t.employee_contributions - sum(su_money_transaction_records.su_money) DESC) AS ranking") | ||
483 | - queryContributions = queryContributions.Where(`su_money_transaction_records.record_type = ?`, 4) | 393 | + queryContributions := tx.Model(suMoneyTransactionRecordModel) |
394 | + queryContributions = queryContributions.Join("JOIN employees AS e ON e.uid = (su_money_transaction_record.employee->>'uid')::bigint") | ||
395 | + queryContributions = queryContributions.ColumnExpr("su_money_transaction_record.employee->>'uid' AS uid") | ||
396 | + queryContributions = queryContributions.ColumnExpr("su_money_transaction_record.employee->>'employeeName' AS employee_name") | ||
397 | + queryContributions = queryContributions.ColumnExpr("sum(case WHEN su_money_transaction_record.record_type IN (2, 3) THEN su_money_transaction_record.su_money ELSE 0 end) - sum(case WHEN su_money_transaction_record.record_type = 4 THEN su_money_transaction_record.su_money ELSE 0 end) AS employees_contributions") | ||
398 | + queryContributions = queryContributions.ColumnExpr("ROW_NUMBER() OVER (ORDER BY sum(case WHEN su_money_transaction_record.record_type IN (2, 3) THEN su_money_transaction_record.su_money ELSE 0 end) - sum(case WHEN su_money_transaction_record.record_type = 4 THEN su_money_transaction_record.su_money ELSE 0 end) DESC) AS ranking") | ||
399 | + queryContributions = queryContributions.Where(`su_money_transaction_record.record_type IN (?)`, pg.In([]int{2, 3})) | ||
484 | queryContributions = queryContributions.Where(`e.status = ?`, 1) | 400 | queryContributions = queryContributions.Where(`e.status = ?`, 1) |
485 | if companyId, ok := queryOptions["companyId"]; ok && (companyId.(int64) != 0) { | 401 | if companyId, ok := queryOptions["companyId"]; ok && (companyId.(int64) != 0) { |
486 | queryContributions = queryContributions.Where("e.company_id = ?", companyId) | 402 | queryContributions = queryContributions.Where("e.company_id = ?", companyId) |
487 | } | 403 | } |
488 | if startTime, ok := queryOptions["startTime"]; ok { | 404 | if startTime, ok := queryOptions["startTime"]; ok { |
489 | - queryContributions = queryContributions.Where(`su_money_transaction_records.create_time > ?`, startTime) | 405 | + queryContributions = queryContributions.Where(`su_money_transaction_record.create_time > ?`, startTime) |
490 | } | 406 | } |
491 | if endTime, ok := queryOptions["endTime"]; ok { | 407 | if endTime, ok := queryOptions["endTime"]; ok { |
492 | - queryContributions = queryContributions.Where(`su_money_transaction_records.create_time < ?`, endTime) | 408 | + queryContributions = queryContributions.Where(`su_money_transaction_record.create_time < ?`, endTime) |
493 | } | 409 | } |
494 | - queryContributions = queryContributions.GroupExpr("t.uid, t.employee_name, t.employee_contributions") | ||
495 | - | ||
496 | - // 个人贡献值子查询 | ||
497 | - queryContributionsWith := queryContributions.Order("employees_contributions DESC") | ||
498 | - | 410 | + // 贡献值子查询 |
411 | + contributions := queryContributions.GroupExpr("su_money_transaction_record.employee->>'uid',su_money_transaction_record.employee->>'employeeName'") | ||
499 | if offset, ok := queryOptions["offset"]; ok { | 412 | if offset, ok := queryOptions["offset"]; ok { |
500 | offset := offset.(int) | 413 | offset := offset.(int) |
501 | if offset > -1 { | 414 | if offset > -1 { |
@@ -515,21 +428,21 @@ func (dao *EmployeeDao) ContributionsWealthRanking(queryOptions map[string]inter | @@ -515,21 +428,21 @@ func (dao *EmployeeDao) ContributionsWealthRanking(queryOptions map[string]inter | ||
515 | if err := queryContributions.Order("employees_contributions DESC").Select(&retContributions); err != nil { | 428 | if err := queryContributions.Order("employees_contributions DESC").Select(&retContributions); err != nil { |
516 | return nil, err | 429 | return nil, err |
517 | } | 430 | } |
518 | - | ||
519 | // 个人贡献值 | 431 | // 个人贡献值 |
520 | - queryEmployeeContributions := tx.Model() | ||
521 | - queryEmployeeContributions = queryEmployeeContributions.With("t", queryContributionsWith) | ||
522 | - queryEmployeeContributions = queryEmployeeContributions.Table("t") | ||
523 | - queryEmployeeContributions = queryEmployeeContributions.ColumnExpr("t.uid AS uid") | ||
524 | - queryEmployeeContributions = queryEmployeeContributions.ColumnExpr("t.employee_name AS employee_name") | ||
525 | - queryEmployeeContributions = queryEmployeeContributions.ColumnExpr("t.employees_contributions AS employees_contributions") | ||
526 | - queryEmployeeContributions = queryEmployeeContributions.ColumnExpr("t.ranking AS ranking") | 432 | + querySelfContributions := tx.Model() |
433 | + querySelfContributions = querySelfContributions.With("t", contributions) | ||
434 | + querySelfContributions = querySelfContributions.Table("t") | ||
435 | + querySelfContributions = querySelfContributions.ColumnExpr("t.uid AS uid") | ||
436 | + querySelfContributions = querySelfContributions.ColumnExpr("t.employee_name AS employee_name") | ||
437 | + querySelfContributions = querySelfContributions.ColumnExpr("t.employees_contributions AS employees_contributions") | ||
438 | + querySelfContributions = querySelfContributions.ColumnExpr("t.ranking AS ranking") | ||
527 | if uid, ok := queryOptions["uid"]; ok { | 439 | if uid, ok := queryOptions["uid"]; ok { |
528 | - queryEmployeeContributions = queryEmployeeContributions.Where("t.uid::bigint = ?", uid) | 440 | + querySelfContributions = querySelfContributions.Where("t.uid::bigint = ?", uid) |
529 | } | 441 | } |
530 | - if err := queryEmployeeContributions.Select(&retEmployeeContributions); err != nil { | 442 | + if err := querySelfContributions.Select(&retEmployeeContributions); err != nil { |
531 | return nil, err | 443 | return nil, err |
532 | } | 444 | } |
445 | + | ||
533 | var retCurrentEmployeeContributions interface{} | 446 | var retCurrentEmployeeContributions interface{} |
534 | if len(retEmployeeContributions) == 0 { | 447 | if len(retEmployeeContributions) == 0 { |
535 | retCurrentEmployeeContributions = nil | 448 | retCurrentEmployeeContributions = nil |
@@ -566,7 +479,7 @@ func (dao *EmployeeDao) CalculateEmployeesContributions(companyId int, startTime | @@ -566,7 +479,7 @@ func (dao *EmployeeDao) CalculateEmployeesContributions(companyId int, startTime | ||
566 | ColumnExpr("sum(su_money_transaction_record.su_money) AS employees_contributions"). | 479 | ColumnExpr("sum(su_money_transaction_record.su_money) AS employees_contributions"). |
567 | Where(`e.company_id = ?`, companyId). | 480 | Where(`e.company_id = ?`, companyId). |
568 | Where(`su_money_transaction_record.record_type IN (?)`, pg.In([]int{2, 3})). | 481 | Where(`su_money_transaction_record.record_type IN (?)`, pg.In([]int{2, 3})). |
569 | - Where(`e.status = ?`, 1). | 482 | + //Where(`e.status = ?`, 1). |
570 | Where(`su_money_transaction_record.create_time > ?`, startTime). | 483 | Where(`su_money_transaction_record.create_time > ?`, startTime). |
571 | Where(`su_money_transaction_record.create_time < ?`, endTime). | 484 | Where(`su_money_transaction_record.create_time < ?`, endTime). |
572 | Group("su_money_transaction_record.employee"). | 485 | Group("su_money_transaction_record.employee"). |
@@ -581,7 +494,7 @@ func (dao *EmployeeDao) CalculateEmployeesContributions(companyId int, startTime | @@ -581,7 +494,7 @@ func (dao *EmployeeDao) CalculateEmployeesContributions(companyId int, startTime | ||
581 | ColumnExpr("sum(su_money_transaction_record.su_money) AS employees_contributions"). | 494 | ColumnExpr("sum(su_money_transaction_record.su_money) AS employees_contributions"). |
582 | Where(`e.company_id = ?`, companyId). | 495 | Where(`e.company_id = ?`, companyId). |
583 | Where(`su_money_transaction_record.record_type = ?`, 4). | 496 | Where(`su_money_transaction_record.record_type = ?`, 4). |
584 | - Where(`e.status = ?`, 1). | 497 | + //Where(`e.status = ?`, 1). |
585 | Where(`su_money_transaction_record.create_time > ?`, startTime). | 498 | Where(`su_money_transaction_record.create_time > ?`, startTime). |
586 | Where(`su_money_transaction_record.create_time < ?`, endTime). | 499 | Where(`su_money_transaction_record.create_time < ?`, endTime). |
587 | Group("su_money_transaction_record.employee"). | 500 | Group("su_money_transaction_record.employee"). |
@@ -615,7 +528,7 @@ func (dao *EmployeeDao) CalculateEmployeesSuMoney(companyId int, startTime time. | @@ -615,7 +528,7 @@ func (dao *EmployeeDao) CalculateEmployeesSuMoney(companyId int, startTime time. | ||
615 | ColumnExpr("su_money_transaction_record.employee->>'employeeName' AS employee_name"). | 528 | ColumnExpr("su_money_transaction_record.employee->>'employeeName' AS employee_name"). |
616 | ColumnExpr("sum(su_money_transaction_record.su_money) AS employee_su_money"). | 529 | ColumnExpr("sum(su_money_transaction_record.su_money) AS employee_su_money"). |
617 | Where(`e.company_id = ?`, companyId). | 530 | Where(`e.company_id = ?`, companyId). |
618 | - Where(`e.status = ?`, 1). | 531 | + //Where(`e.status = ?`, 1). |
619 | Where(`su_money_transaction_record.record_type IN (?)`, pg.In([]int{2, 3})). // 增加,任务奖励的 | 532 | Where(`su_money_transaction_record.record_type IN (?)`, pg.In([]int{2, 3})). // 增加,任务奖励的 |
620 | Where(`su_money_transaction_record.create_time > ?`, startTime). | 533 | Where(`su_money_transaction_record.create_time > ?`, startTime). |
621 | Where(`su_money_transaction_record.create_time < ?`, endTime). | 534 | Where(`su_money_transaction_record.create_time < ?`, endTime). |
@@ -102,7 +102,9 @@ func (repository *EmployeeRepository) FindByIds(queryOptions map[string]interfac | @@ -102,7 +102,9 @@ func (repository *EmployeeRepository) FindByIds(queryOptions map[string]interfac | ||
102 | query = query.Where("employee.company_id = ?", companyId) | 102 | query = query.Where("employee.company_id = ?", companyId) |
103 | } | 103 | } |
104 | } | 104 | } |
105 | - query = query.Where(`employee.status = ?`, 1) | 105 | + if status, ok := queryOptions["status"]; ok { |
106 | + query = query.Where(`employee.status = ?`, status) | ||
107 | + } | ||
106 | if count, err := query.Order("uid DESC").SelectAndCount(); err != nil { | 108 | if count, err := query.Order("uid DESC").SelectAndCount(); err != nil { |
107 | return 0, employees, err | 109 | return 0, employees, err |
108 | } else { | 110 | } else { |
-
请 注册 或 登录 后发表评论