-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathweb.log
525 lines (525 loc) · 107 KB
/
web.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
{"level":"DEBUG","time":"2022-05-01T12:14:11.019+0800","caller":"Web/main.go:35","msg":"logger init success"}
{"level":"INFO","time":"2022-05-01T13:16:34.146+0800","caller":"Web/main.go:71","msg":"Shutdown Server ..."}
{"level":"DEBUG","time":"2022-05-01T13:21:02.504+0800","caller":"Web/main.go:35","msg":"logger init success"}
{"level":"ERROR","time":"2022-05-01T13:21:02.530+0800","caller":"mysql/main.go:21","msg":"connect DB failed","error":"dial tcp: lookup tcp/%!d(string=3306): nodename nor servname provided, or not known"}
{"level":"DEBUG","time":"2022-05-01T13:23:43.383+0800","caller":"Web/main.go:35","msg":"logger init success"}
{"level":"INFO","time":"2022-05-01T13:26:08.577+0800","caller":"Web/main.go:71","msg":"Shutdown Server ..."}
{"level":"DEBUG","time":"2022-05-01T13:26:11.410+0800","caller":"Web/main.go:35","msg":"logger init success"}
{"level":"INFO","time":"2022-05-01T13:26:44.312+0800","caller":"logger/main.go:66","msg":"/","status":200,"method":"GET","path":"/","query":"","ip":"127.0.0.1","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36","errors":"","cost":0.000109875}
{"level":"INFO","time":"2022-05-01T13:26:49.711+0800","caller":"logger/main.go:66","msg":"/version","status":200,"method":"GET","path":"/version","query":"","ip":"127.0.0.1","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36","errors":"","cost":0.000101375}
{"level":"INFO","time":"2022-05-01T13:26:59.955+0800","caller":"logger/main.go:66","msg":"/version","status":200,"method":"GET","path":"/version","query":"","ip":"127.0.0.1","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36","errors":"","cost":0.000030084}
{"level":"INFO","time":"2022-05-01T13:31:48.972+0800","caller":"Web/main.go:71","msg":"Shutdown Server ..."}
{"level":"DEBUG","time":"2022-05-01T13:31:55.507+0800","caller":"Web/main.go:35","msg":"logger init success"}
{"level":"INFO","time":"2022-05-01T13:33:26.601+0800","caller":"logger/main.go:66","msg":"/version","status":200,"method":"GET","path":"/version","query":"","ip":"127.0.0.1","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36","errors":"","cost":0.000265167}
{"level":"DEBUG","time":"2022-05-02T20:00:33.938+0800","caller":"Web/main.go:35","msg":"logger init success"}
{"level":"INFO","time":"2022-05-02T20:00:52.803+0800","caller":"logger/main.go:66","msg":"/version","status":200,"method":"GET","path":"/version","query":"","ip":"::1","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36","errors":"","cost":0.00019875}
{"level":"INFO","time":"2022-05-02T20:00:52.894+0800","caller":"logger/main.go:66","msg":"/favicon.ico","status":404,"method":"GET","path":"/favicon.ico","query":"","ip":"::1","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36","errors":"","cost":0.000000542}
{"level":"INFO","time":"2022-05-02T20:03:30.740+0800","caller":"Web/main.go:71","msg":"Shutdown Server ..."}
{"level":"DEBUG","time":"2022-05-02T20:15:09.431+0800","caller":"Goi/main.go:35","msg":"logger init success"}
{"level":"INFO","time":"2022-05-02T21:11:34.318+0800","caller":"Goi/main.go:71","msg":"Shutdown Server ..."}
{"level":"DEBUG","time":"2022-05-02T21:12:52.075+0800","caller":"Goi/main.go:39","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-03T13:03:08.788+0800","caller":"Goi/main.go:43","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-03T13:06:24.635+0800","caller":"Goi/main.go:43","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-03T13:06:39.970+0800","caller":"Goi/main.go:43","msg":"logger init success"}
{"level":"INFO","time":"2022-05-03T13:08:46.022+0800","caller":"Goi/main.go:85","msg":"Shutdown Server ..."}
{"level":"DEBUG","time":"2022-05-03T13:08:49.797+0800","caller":"Goi/main.go:43","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-03T13:11:42.946+0800","caller":"Goi/main.go:43","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-03T13:12:28.324+0800","caller":"Goi/main.go:43","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-03T13:14:38.951+0800","caller":"Goi/main.go:43","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-03T13:15:30.308+0800","caller":"Goi/main.go:43","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-03T13:17:06.259+0800","caller":"Goi/main.go:42","msg":"logger init success"}
{"level":"INFO","time":"2022-05-03T13:23:23.810+0800","caller":"Goi/main.go:85","msg":"Shutdown Server ..."}
{"level":"DEBUG","time":"2022-05-03T13:23:26.755+0800","caller":"Goi/main.go:43","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-03T13:25:32.720+0800","caller":"Goi/main.go:43","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-03T13:26:32.564+0800","caller":"Goi/main.go:43","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-03T13:27:02.674+0800","caller":"Goi/main.go:42","msg":"logger init success"}
{"level":"INFO","time":"2022-05-03T13:31:19.223+0800","caller":"Goi/main.go:86","msg":"Shutdown Server ..."}
{"level":"DEBUG","time":"2022-05-03T13:31:22.287+0800","caller":"Goi/main.go:43","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-03T13:44:52.571+0800","caller":"Goi/main.go:43","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-03T14:02:14.943+0800","caller":"Goi/main.go:43","msg":"logger init success"}
{"level":"INFO","time":"2022-05-03T14:20:10.917+0800","caller":"Goi/main.go:86","msg":"Shutdown Server ..."}
{"level":"DEBUG","time":"2022-05-03T14:20:13.479+0800","caller":"Goi/main.go:43","msg":"logger init success"}
{"level":"INFO","time":"2022-05-03T14:21:06.532+0800","caller":"Goi/main.go:86","msg":"Shutdown Server ..."}
{"level":"DEBUG","time":"2022-05-03T14:21:09.084+0800","caller":"Goi/main.go:43","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-03T14:32:03.940+0800","caller":"Goi/main.go:43","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-03T18:55:31.632+0800","caller":"Goi/main.go:43","msg":"logger init success"}
{"level":"INFO","time":"2022-05-03T19:15:41.971+0800","caller":"Goi/main.go:86","msg":"Shutdown Server ..."}
{"level":"DEBUG","time":"2022-05-03T19:15:45.524+0800","caller":"Goi/main.go:43","msg":"logger init success"}
{"level":"INFO","time":"2022-05-03T19:20:16.600+0800","caller":"logger/main.go:66","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000842208}
{"level":"INFO","time":"2022-05-03T19:25:37.597+0800","caller":"logger/main.go:66","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000217916}
{"level":"INFO","time":"2022-05-03T19:25:41.434+0800","caller":"logger/main.go:66","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000055125}
{"level":"INFO","time":"2022-05-03T19:25:42.173+0800","caller":"logger/main.go:66","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000147833}
{"level":"INFO","time":"2022-05-03T19:26:01.716+0800","caller":"Goi/main.go:86","msg":"Shutdown Server ..."}
{"level":"DEBUG","time":"2022-05-03T19:26:04.393+0800","caller":"Goi/main.go:43","msg":"logger init success"}
{"level":"ERROR","time":"2022-05-03T19:26:13.707+0800","caller":"controller/user.go:22","msg":"Sign up with invalid param"}
{"level":"INFO","time":"2022-05-03T19:26:13.707+0800","caller":"logger/main.go:66","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000591917}
{"level":"INFO","time":"2022-05-03T19:41:31.166+0800","caller":"Goi/main.go:86","msg":"Shutdown Server ..."}
{"level":"DEBUG","time":"2022-05-03T19:41:35.838+0800","caller":"Goi/main.go:43","msg":"logger init success"}
{"level":"ERROR","time":"2022-05-03T19:41:40.828+0800","caller":"controller/user.go:23","msg":"Sign up with invalid param","error":"Key: 'ParamSignUp.RePassword' Error:Field validation for 'RePassword' failed on the 'required' tag"}
{"level":"INFO","time":"2022-05-03T19:41:40.829+0800","caller":"logger/main.go:66","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.001124917}
{"level":"INFO","time":"2022-05-03T19:43:08.742+0800","caller":"logger/main.go:66","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000299}
{"level":"INFO","time":"2022-05-03T19:43:48.975+0800","caller":"logger/main.go:66","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000467542}
{"level":"ERROR","time":"2022-05-03T19:43:58.152+0800","caller":"controller/user.go:23","msg":"Sign up with invalid param","error":"invalid character '}' looking for beginning of object key string"}
{"level":"INFO","time":"2022-05-03T19:43:58.152+0800","caller":"logger/main.go:66","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000178542}
{"level":"INFO","time":"2022-05-03T19:44:03.617+0800","caller":"Goi/main.go:86","msg":"Shutdown Server ..."}
{"level":"DEBUG","time":"2022-05-03T19:44:14.623+0800","caller":"Goi/main.go:43","msg":"logger init success"}
{"level":"ERROR","time":"2022-05-03T19:44:17.346+0800","caller":"controller/user.go:23","msg":"Sign up with invalid param","error":"invalid character '}' looking for beginning of object key string"}
{"level":"INFO","time":"2022-05-03T19:44:17.346+0800","caller":"logger/main.go:66","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000184667}
{"level":"ERROR","time":"2022-05-03T19:44:34.554+0800","caller":"controller/user.go:23","msg":"Sign up with invalid param","error":"Key: 'ParamSignUp.RePassword' Error:Field validation for 'RePassword' failed on the 'required' tag"}
{"level":"INFO","time":"2022-05-03T19:44:34.554+0800","caller":"logger/main.go:66","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.00043675}
{"level":"ERROR","time":"2022-05-03T19:45:00.725+0800","caller":"controller/user.go:23","msg":"Sign up with invalid param","error":"invalid character '\"' after object key:value pair"}
{"level":"INFO","time":"2022-05-03T19:45:00.725+0800","caller":"logger/main.go:66","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000352292}
{"level":"ERROR","time":"2022-05-03T19:45:02.780+0800","caller":"controller/user.go:23","msg":"Sign up with invalid param","error":"invalid character '\"' after object key:value pair"}
{"level":"INFO","time":"2022-05-03T19:45:02.780+0800","caller":"logger/main.go:66","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000147}
{"level":"ERROR","time":"2022-05-03T19:45:03.601+0800","caller":"controller/user.go:23","msg":"Sign up with invalid param","error":"invalid character '\"' after object key:value pair"}
{"level":"INFO","time":"2022-05-03T19:45:03.601+0800","caller":"logger/main.go:66","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000081583}
{"level":"INFO","time":"2022-05-03T19:45:07.770+0800","caller":"logger/main.go:66","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000259208}
{"level":"ERROR","time":"2022-05-03T19:45:18.371+0800","caller":"controller/user.go:23","msg":"Sign up with invalid param","error":"Key: 'ParamSignUp.RePassword' Error:Field validation for 'RePassword' failed on the 'required' tag"}
{"level":"INFO","time":"2022-05-03T19:45:18.371+0800","caller":"logger/main.go:66","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000245416}
{"level":"INFO","time":"2022-05-03T19:46:17.322+0800","caller":"logger/main.go:66","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.0003015}
{"level":"INFO","time":"2022-05-03T19:46:30.997+0800","caller":"logger/main.go:66","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000144291}
{"level":"ERROR","time":"2022-05-03T19:46:38.706+0800","caller":"controller/user.go:23","msg":"Sign up with invalid param","error":"invalid character '}' looking for beginning of object key string"}
{"level":"INFO","time":"2022-05-03T19:46:38.706+0800","caller":"logger/main.go:66","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000177083}
{"level":"ERROR","time":"2022-05-03T19:47:01.759+0800","caller":"controller/user.go:23","msg":"Sign up with invalid param","error":"Key: 'ParamSignUp.RePassword' Error:Field validation for 'RePassword' failed on the 'required' tag"}
{"level":"INFO","time":"2022-05-03T19:47:01.759+0800","caller":"logger/main.go:66","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000254667}
{"level":"ERROR","time":"2022-05-03T20:23:19.850+0800","caller":"controller/user.go:23","msg":"Sign up with invalid param","error":"Key: 'ParamSignUp.RePassword' Error:Field validation for 'RePassword' failed on the 'required' tag"}
{"level":"INFO","time":"2022-05-03T20:23:19.857+0800","caller":"logger/main.go:66","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.008060208}
{"level":"INFO","time":"2022-05-03T20:24:39.183+0800","caller":"Goi/main.go:86","msg":"Shutdown Server ..."}
{"level":"DEBUG","time":"2022-05-03T20:24:42.057+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"ERROR","time":"2022-05-03T20:24:47.930+0800","caller":"controller/user.go:24","msg":"Sign up with invalid param","error":"Key: 'ParamSignUp.re_password' Error:Field validation for 're_password' failed on the 'required' tag"}
{"level":"INFO","time":"2022-05-03T20:24:47.930+0800","caller":"logger/main.go:66","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000401417}
{"level":"INFO","time":"2022-05-03T20:25:55.841+0800","caller":"Goi/main.go:93","msg":"Shutdown Server ..."}
{"level":"DEBUG","time":"2022-05-03T20:25:59.244+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"ERROR","time":"2022-05-03T20:26:03.308+0800","caller":"controller/user.go:24","msg":"Sign up with invalid param","error":"Key: 'ParamSignUp.re_password' Error:Field validation for 're_password' failed on the 'required' tag"}
{"level":"INFO","time":"2022-05-03T20:26:03.308+0800","caller":"logger/main.go:66","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000746042}
{"level":"ERROR","time":"2022-05-03T20:26:23.034+0800","caller":"controller/user.go:24","msg":"Sign up with invalid param","error":"Key: 'ParamSignUp.re_password' Error:Field validation for 're_password' failed on the 'required' tag"}
{"level":"INFO","time":"2022-05-03T20:26:23.035+0800","caller":"logger/main.go:66","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.002748125}
{"level":"INFO","time":"2022-05-03T20:32:35.666+0800","caller":"Goi/main.go:93","msg":"Shutdown Server ..."}
{"level":"DEBUG","time":"2022-05-03T20:32:39.320+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-03T20:32:44.182+0800","caller":"logger/main.go:66","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000537042}
{"level":"ERROR","time":"2022-05-03T20:32:47.256+0800","caller":"controller/user.go:24","msg":"Sign up with invalid param","error":"Key: 'ParamSignUp.re_password' Error:Field validation for 're_password' failed on the 'required' tag\nKey: 'ParamSignUp.re_password' Error:Field validation for 're_password' failed on the 'eqfield' tag"}
{"level":"INFO","time":"2022-05-03T20:32:47.256+0800","caller":"logger/main.go:66","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000198458}
{"level":"INFO","time":"2022-05-04T11:45:41.538+0800","caller":"Goi/main.go:93","msg":"Shutdown Server ..."}
{"level":"DEBUG","time":"2022-05-04T11:45:48.688+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-04T11:46:58.955+0800","caller":"logger/main.go:66","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.019005334}
{"level":"INFO","time":"2022-05-04T11:47:30.413+0800","caller":"logger/main.go:66","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.0007365}
{"level":"INFO","time":"2022-05-04T11:47:31.862+0800","caller":"logger/main.go:66","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000937458}
{"level":"INFO","time":"2022-05-04T11:52:41.000+0800","caller":"Goi/main.go:93","msg":"Shutdown Server ..."}
{"level":"DEBUG","time":"2022-05-04T11:52:44.805+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-04T11:52:49.496+0800","caller":"logger/main.go:66","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.063077834}
{"level":"INFO","time":"2022-05-04T11:57:37.945+0800","caller":"Goi/main.go:93","msg":"Shutdown Server ..."}
{"level":"DEBUG","time":"2022-05-04T11:57:40.743+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-04T11:57:53.077+0800","caller":"logger/main.go:66","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.008820833}
{"level":"INFO","time":"2022-05-04T11:59:20.987+0800","caller":"Goi/main.go:93","msg":"Shutdown Server ..."}
{"level":"DEBUG","time":"2022-05-04T11:59:23.915+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-04T11:59:26.450+0800","caller":"logger/main.go:66","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.005393208}
{"level":"INFO","time":"2022-05-04T11:59:28.716+0800","caller":"logger/main.go:66","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000802084}
{"level":"INFO","time":"2022-05-04T12:00:30.429+0800","caller":"Goi/main.go:93","msg":"Shutdown Server ..."}
{"level":"DEBUG","time":"2022-05-04T12:00:42.020+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-04T12:00:45.887+0800","caller":"logger/main.go:66","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.009808666}
{"level":"INFO","time":"2022-05-04T12:01:52.056+0800","caller":"Goi/main.go:93","msg":"Shutdown Server ..."}
{"level":"DEBUG","time":"2022-05-04T12:01:55.738+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-04T12:02:02.808+0800","caller":"logger/main.go:66","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.018307916}
{"level":"INFO","time":"2022-05-04T12:02:03.851+0800","caller":"logger/main.go:66","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000880125}
{"level":"INFO","time":"2022-05-04T12:02:19.738+0800","caller":"Goi/main.go:93","msg":"Shutdown Server ..."}
{"level":"DEBUG","time":"2022-05-04T12:02:23.268+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-04T12:02:29.466+0800","caller":"logger/main.go:66","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.018187417}
{"level":"INFO","time":"2022-05-04T12:02:30.446+0800","caller":"logger/main.go:66","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.002295167}
{"level":"INFO","time":"2022-05-04T12:02:31.160+0800","caller":"logger/main.go:66","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000734334}
{"level":"INFO","time":"2022-05-04T12:03:43.724+0800","caller":"Goi/main.go:93","msg":"Shutdown Server ..."}
{"level":"DEBUG","time":"2022-05-04T12:03:45.945+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-04T12:03:49.425+0800","caller":"logger/main.go:66","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.025956333}
{"level":"INFO","time":"2022-05-04T12:07:08.287+0800","caller":"Goi/main.go:93","msg":"Shutdown Server ..."}
{"level":"DEBUG","time":"2022-05-04T12:07:11.928+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-04T12:07:47.699+0800","caller":"logger/logger.go:66","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.003607625}
{"level":"INFO","time":"2022-05-04T12:11:55.113+0800","caller":"logger/logger.go:66","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.003854292}
{"level":"INFO","time":"2022-05-04T12:11:55.891+0800","caller":"logger/logger.go:66","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.0014005}
{"level":"INFO","time":"2022-05-04T12:12:26.405+0800","caller":"logger/logger.go:66","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.0069785}
{"level":"INFO","time":"2022-05-04T12:12:29.040+0800","caller":"logger/logger.go:66","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000598375}
{"level":"INFO","time":"2022-05-04T12:12:54.476+0800","caller":"logger/logger.go:66","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.004748084}
{"level":"INFO","time":"2022-05-04T12:14:42.045+0800","caller":"Goi/main.go:93","msg":"Shutdown Server ..."}
{"level":"DEBUG","time":"2022-05-04T12:14:44.568+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-04T12:14:47.486+0800","caller":"logger/logger.go:66","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.003554834}
{"level":"INFO","time":"2022-05-04T12:16:01.984+0800","caller":"Goi/main.go:93","msg":"Shutdown Server ..."}
{"level":"DEBUG","time":"2022-05-04T12:16:04.618+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-04T12:16:08.037+0800","caller":"logger/logger.go:66","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.004108667}
{"level":"INFO","time":"2022-05-04T12:16:08.876+0800","caller":"logger/logger.go:66","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000776292}
{"level":"INFO","time":"2022-05-04T12:24:07.592+0800","caller":"Goi/main.go:93","msg":"Shutdown Server ..."}
{"level":"DEBUG","time":"2022-05-04T12:24:11.001+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-04T12:24:13.677+0800","caller":"logger/logger.go:77","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.002257375}
{"level":"ERROR","time":"2022-05-04T12:25:31.343+0800","caller":"controller/user.go:23","msg":"Sign up with invalid param","error":"Key: 'ParamSignUp.re_password' Error:Field validation for 're_password' failed on the 'required' tag\nKey: 'ParamSignUp.re_password' Error:Field validation for 're_password' failed on the 'eqfield' tag"}
{"level":"INFO","time":"2022-05-04T12:25:31.344+0800","caller":"logger/logger.go:77","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.002557458}
{"level":"INFO","time":"2022-05-04T12:28:14.112+0800","caller":"Goi/main.go:93","msg":"Shutdown Server ..."}
{"level":"DEBUG","time":"2022-05-04T12:28:17.159+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"ERROR","time":"2022-05-04T12:28:20.256+0800","caller":"controller/user.go:23","msg":"Sign up with invalid param","error":"Key: 'ParamSignUp.re_password' Error:Field validation for 're_password' failed on the 'required' tag\nKey: 'ParamSignUp.re_password' Error:Field validation for 're_password' failed on the 'eqfield' tag"}
{"level":"INFO","time":"2022-05-04T12:28:20.256+0800","caller":"logger/logger.go:77","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000810333}
{"level":"INFO","time":"2022-05-04T12:35:49.691+0800","caller":"Goi/main.go:92","msg":"Shutdown Server ..."}
{"level":"DEBUG","time":"2022-05-04T12:35:53.126+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"ERROR","time":"2022-05-04T12:35:55.929+0800","caller":"controller/user.go:23","msg":"Sign up with invalid param","error":"Key: 'ParamSignUp.re_password' Error:Field validation for 're_password' failed on the 'required' tag\nKey: 'ParamSignUp.re_password' Error:Field validation for 're_password' failed on the 'eqfield' tag"}
{"level":"INFO","time":"2022-05-04T12:35:55.929+0800","caller":"logger/logger.go:77","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000449584}
{"level":"INFO","time":"2022-05-04T12:36:00.485+0800","caller":"logger/logger.go:77","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.005789375}
{"level":"INFO","time":"2022-05-04T12:36:01.483+0800","caller":"logger/logger.go:77","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000950334}
{"level":"INFO","time":"2022-05-04T12:38:48.961+0800","caller":"Goi/main.go:92","msg":"Shutdown Server ..."}
{"level":"DEBUG","time":"2022-05-04T12:38:51.456+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-04T12:38:54.840+0800","caller":"logger/logger.go:77","msg":"/signup","status":200,"method":"POST","path":"/signup","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.003959792}
{"level":"INFO","time":"2022-05-04T14:37:38.789+0800","caller":"Goi/main.go:92","msg":"Shutdown Server ..."}
{"level":"DEBUG","time":"2022-05-04T14:37:41.691+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"ERROR","time":"2022-05-04T14:41:13.527+0800","caller":"controller/user.go:69","msg":"Sign up with invalid param","error":"Key: 'ParamLogin.password' Error:Field validation for 'password' failed on the 'required' tag"}
{"level":"INFO","time":"2022-05-04T14:41:13.528+0800","caller":"logger/logger.go:77","msg":"/login","status":200,"method":"POST","path":"/login","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.002102791}
{"level":"ERROR","time":"2022-05-04T14:41:47.203+0800","caller":"controller/user.go:69","msg":"Sign up with invalid param","error":"json: cannot unmarshal number into Go struct field ParamLogin.password of type string"}
{"level":"INFO","time":"2022-05-04T14:41:47.205+0800","caller":"logger/logger.go:77","msg":"/login","status":200,"method":"POST","path":"/login","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.001633125}
{"level":"ERROR","time":"2022-05-04T14:42:00.402+0800","caller":"controller/user.go:92","msg":"logic.Login failed","error":"密码错误"}
{"level":"INFO","time":"2022-05-04T14:42:00.403+0800","caller":"logger/logger.go:77","msg":"/login","status":200,"method":"POST","path":"/login","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.038947667}
{"level":"ERROR","time":"2022-05-04T14:42:13.179+0800","caller":"controller/user.go:69","msg":"Sign up with invalid param","error":"invalid character '}' looking for beginning of object key string"}
{"level":"INFO","time":"2022-05-04T14:42:13.179+0800","caller":"logger/logger.go:77","msg":"/login","status":200,"method":"POST","path":"/login","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000454792}
{"level":"ERROR","time":"2022-05-04T14:42:18.886+0800","caller":"controller/user.go:69","msg":"Sign up with invalid param","error":"Key: 'ParamLogin.password' Error:Field validation for 'password' failed on the 'required' tag"}
{"level":"INFO","time":"2022-05-04T14:42:18.886+0800","caller":"logger/logger.go:77","msg":"/login","status":200,"method":"POST","path":"/login","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000624625}
{"level":"ERROR","time":"2022-05-04T14:42:35.027+0800","caller":"controller/user.go:92","msg":"logic.Login failed","error":"密码错误"}
{"level":"INFO","time":"2022-05-04T14:42:35.029+0800","caller":"logger/logger.go:77","msg":"/login","status":200,"method":"POST","path":"/login","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.003125083}
{"level":"ERROR","time":"2022-05-04T14:45:29.360+0800","caller":"controller/user.go:92","msg":"logic.Login failed","error":"密码错误"}
{"level":"INFO","time":"2022-05-04T14:45:29.360+0800","caller":"logger/logger.go:77","msg":"/login","status":200,"method":"POST","path":"/login","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.011599042}
{"level":"INFO","time":"2022-05-04T14:45:52.266+0800","caller":"logger/logger.go:77","msg":"/login","status":200,"method":"POST","path":"/login","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.001164416}
{"level":"ERROR","time":"2022-05-04T14:46:11.219+0800","caller":"controller/user.go:92","msg":"logic.Login failed","error":"密码错误"}
{"level":"INFO","time":"2022-05-04T14:46:11.220+0800","caller":"logger/logger.go:77","msg":"/login","status":200,"method":"POST","path":"/login","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.003727125}
{"level":"DEBUG","time":"2022-05-06T11:06:11.275+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-06T11:06:27.458+0800","caller":"logger/logger.go:77","msg":"/login","status":200,"method":"POST","path":"/login","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.09054775}
{"level":"DEBUG","time":"2022-05-09T10:46:20.356+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-09T10:46:58.799+0800","caller":"logger/logger.go:77","msg":"/login","status":200,"method":"POST","path":"/login","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.079838}
{"level":"INFO","time":"2022-05-09T11:39:29.675+0800","caller":"Goi/main.go:92","msg":"Shutdown Server ..."}
{"level":"DEBUG","time":"2022-05-09T11:59:20.735+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-09T13:32:11.094+0800","caller":"logger/logger.go:77","msg":"/api/v1/posts2","status":404,"method":"GET","path":"/api/v1/posts2","query":"page=1&order=time","ip":"127.0.0.1","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36 Edg/101.0.1210.39","errors":"","cost":0.0000005}
{"level":"INFO","time":"2022-05-09T13:32:20.681+0800","caller":"logger/logger.go:77","msg":"/api/v1/login","status":404,"method":"POST","path":"/api/v1/login","query":"","ip":"127.0.0.1","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36 Edg/101.0.1210.39","errors":"","cost":0.002022125}
{"level":"INFO","time":"2022-05-09T13:32:25.061+0800","caller":"logger/logger.go:77","msg":"/api/v1/login","status":404,"method":"POST","path":"/api/v1/login","query":"","ip":"127.0.0.1","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36 Edg/101.0.1210.39","errors":"","cost":0.00003725}
{"level":"INFO","time":"2022-05-09T13:35:06.559+0800","caller":"logger/logger.go:77","msg":"/login","status":200,"method":"POST","path":"/login","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.1251085}
{"level":"DEBUG","time":"2022-05-09T18:05:55.411+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-09T18:10:07.784+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-09T18:11:02.634+0800","caller":"logger/logger.go:77","msg":"/login","status":200,"method":"POST","path":"/login","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.15931325}
{"level":"INFO","time":"2022-05-09T18:11:03.170+0800","caller":"logger/logger.go:77","msg":"/login","status":200,"method":"POST","path":"/login","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.001285375}
{"level":"INFO","time":"2022-05-09T18:11:03.630+0800","caller":"logger/logger.go:77","msg":"/login","status":200,"method":"POST","path":"/login","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.0015125}
{"level":"DEBUG","time":"2022-05-09T18:28:24.999+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-10T19:59:11.173+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-10T19:59:50.484+0800","caller":"logger/logger.go:77","msg":"/login","status":404,"method":"POST","path":"/login","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000004292}
{"level":"INFO","time":"2022-05-10T20:00:40.914+0800","caller":"logger/logger.go:77","msg":"/login","status":404,"method":"POST","path":"/login","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000003833}
{"level":"INFO","time":"2022-05-10T20:01:42.102+0800","caller":"logger/logger.go:77","msg":"/api/v1/login","status":200,"method":"POST","path":"/api/v1/login","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.032731167}
{"level":"DEBUG","time":"2022-05-10T20:08:35.794+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-10T20:09:03.480+0800","caller":"logger/logger.go:77","msg":"/api/v1/login","status":200,"method":"POST","path":"/api/v1/login","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.004030875}
{"level":"INFO","time":"2022-05-10T20:10:06.760+0800","caller":"logger/logger.go:77","msg":"/api/v1/community","status":200,"method":"GET","path":"/api/v1/community","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000098459}
{"level":"INFO","time":"2022-05-10T20:10:51.940+0800","caller":"logger/logger.go:77","msg":"/api/v1/community","status":200,"method":"GET","path":"/api/v1/community","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000160916}
{"level":"INFO","time":"2022-05-10T20:10:54.702+0800","caller":"logger/logger.go:77","msg":"/api/v1/community","status":200,"method":"GET","path":"/api/v1/community","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000062625}
{"level":"INFO","time":"2022-05-10T20:10:55.413+0800","caller":"logger/logger.go:77","msg":"/api/v1/community","status":200,"method":"GET","path":"/api/v1/community","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000136417}
{"level":"INFO","time":"2022-05-10T20:13:42.017+0800","caller":"logger/logger.go:77","msg":"/api/v1/login","status":200,"method":"POST","path":"/api/v1/login","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.008969208}
{"level":"INFO","time":"2022-05-10T20:14:44.729+0800","caller":"logger/logger.go:77","msg":"/api/v1/login","status":200,"method":"POST","path":"/api/v1/login","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.001011833}
{"level":"DEBUG","time":"2022-05-10T20:16:45.228+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-10T20:23:43.917+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-10T20:24:49.679+0800","caller":"logger/logger.go:77","msg":"/api/v1/community","status":200,"method":"GET","path":"/api/v1/community","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000580084}
{"level":"DEBUG","time":"2022-05-10T20:25:32.139+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-10T20:25:34.975+0800","caller":"logger/logger.go:77","msg":"/api/v1/community","status":200,"method":"GET","path":"/api/v1/community","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000369042}
{"level":"DEBUG","time":"2022-05-10T20:26:05.616+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-10T20:26:07.407+0800","caller":"logger/logger.go:77","msg":"/api/v1/community","status":200,"method":"GET","path":"/api/v1/community","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.015271458}
{"level":"INFO","time":"2022-05-10T20:26:24.176+0800","caller":"logger/logger.go:77","msg":"/api/v1/community","status":200,"method":"GET","path":"/api/v1/community","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.007330542}
{"level":"DEBUG","time":"2022-05-10T20:26:25.951+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-10T20:26:27.720+0800","caller":"logger/logger.go:77","msg":"/api/v1/community","status":200,"method":"GET","path":"/api/v1/community","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.001298458}
{"level":"DEBUG","time":"2022-05-10T20:29:27.113+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-10T20:29:29.629+0800","caller":"logger/logger.go:77","msg":"/api/v1/community","status":200,"method":"GET","path":"/api/v1/community","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000487417}
{"level":"DEBUG","time":"2022-05-10T20:30:12.752+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-10T20:31:10.027+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-10T20:39:52.731+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-10T20:39:57.845+0800","caller":"logger/logger.go:77","msg":"/api/v1/login","status":200,"method":"POST","path":"/api/v1/login","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.002792709}
{"level":"INFO","time":"2022-05-10T20:40:25.179+0800","caller":"logger/logger.go:77","msg":"/api/v1/community","status":200,"method":"GET","path":"/api/v1/community","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000121417}
{"level":"INFO","time":"2022-05-10T20:40:27.438+0800","caller":"logger/logger.go:77","msg":"/api/v1/community","status":200,"method":"GET","path":"/api/v1/community","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000102}
{"level":"DEBUG","time":"2022-05-10T20:41:00.851+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-10T20:41:07.156+0800","caller":"logger/logger.go:77","msg":"/api/v1/login","status":200,"method":"POST","path":"/api/v1/login","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.0023825}
{"level":"INFO","time":"2022-05-10T20:41:25.733+0800","caller":"logger/logger.go:77","msg":"/api/v1/community","status":200,"method":"GET","path":"/api/v1/community","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000136}
{"level":"INFO","time":"2022-05-10T20:41:27.593+0800","caller":"logger/logger.go:77","msg":"/api/v1/community","status":200,"method":"GET","path":"/api/v1/community","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.00004275}
{"level":"INFO","time":"2022-05-10T20:41:36.112+0800","caller":"logger/logger.go:77","msg":"/api/v1/community","status":200,"method":"GET","path":"/api/v1/community","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000108417}
{"level":"DEBUG","time":"2022-05-10T20:44:15.047+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-10T20:44:19.947+0800","caller":"logger/logger.go:77","msg":"/api/v1/community","status":200,"method":"GET","path":"/api/v1/community","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.00053325}
{"level":"DEBUG","time":"2022-05-10T20:52:00.364+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-10T20:52:04.459+0800","caller":"logger/logger.go:77","msg":"/api/v1/login","status":200,"method":"POST","path":"/api/v1/login","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.003007}
{"level":"INFO","time":"2022-05-10T20:52:07.148+0800","caller":"logger/logger.go:77","msg":"/api/v1/login","status":200,"method":"POST","path":"/api/v1/login","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000747416}
{"level":"INFO","time":"2022-05-10T20:52:24.467+0800","caller":"logger/logger.go:77","msg":"/api/v1/community","status":200,"method":"GET","path":"/api/v1/community","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000121125}
{"level":"INFO","time":"2022-05-10T20:53:16.665+0800","caller":"logger/logger.go:77","msg":"/api/v1/community","status":200,"method":"GET","path":"/api/v1/community","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000558041}
{"level":"DEBUG","time":"2022-05-10T20:55:18.483+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-10T20:55:30.969+0800","caller":"logger/logger.go:77","msg":"/api/v1/login","status":200,"method":"POST","path":"/api/v1/login","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.00217}
{"level":"INFO","time":"2022-05-10T20:55:59.052+0800","caller":"logger/logger.go:77","msg":"/api/v1/community","status":200,"method":"GET","path":"/api/v1/community","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000854625}
{"level":"DEBUG","time":"2022-05-10T20:59:49.709+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-10T20:59:58.957+0800","caller":"logger/logger.go:77","msg":"/api/v1/login","status":200,"method":"POST","path":"/api/v1/login","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.003039958}
{"level":"INFO","time":"2022-05-10T21:00:20.345+0800","caller":"logger/logger.go:77","msg":"/api/v1/community","status":200,"method":"GET","path":"/api/v1/community","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.0019565}
{"level":"DEBUG","time":"2022-05-10T21:00:41.340+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-10T21:00:44.509+0800","caller":"logger/logger.go:77","msg":"/api/v1/community","status":200,"method":"GET","path":"/api/v1/community","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.00499725}
{"level":"DEBUG","time":"2022-05-10T21:03:47.531+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-10T21:04:55.000+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-10T21:04:57.690+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-10T21:05:00.193+0800","caller":"logger/logger.go:77","msg":"/api/v1/login","status":200,"method":"POST","path":"/api/v1/login","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.004410625}
{"level":"INFO","time":"2022-05-10T21:05:26.931+0800","caller":"logger/logger.go:77","msg":"/api/v1/community","status":200,"method":"GET","path":"/api/v1/community","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.001056041}
{"level":"DEBUG","time":"2022-05-11T08:57:16.669+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-11T08:57:55.667+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-11T09:15:30.651+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-11T09:29:36.478+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-11T09:35:39.079+0800","caller":"logger/logger.go:77","msg":"/api/v1/post","status":404,"method":"GET","path":"/api/v1/post","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000000708}
{"level":"INFO","time":"2022-05-11T09:36:07.149+0800","caller":"logger/logger.go:77","msg":"/api/v1/post","status":404,"method":"GET","path":"/api/v1/post","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000000958}
{"level":"INFO","time":"2022-05-11T09:36:31.595+0800","caller":"logger/logger.go:77","msg":"/api/v1/post","status":200,"method":"POST","path":"/api/v1/post","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.001508833}
{"level":"INFO","time":"2022-05-11T09:36:41.915+0800","caller":"logger/logger.go:77","msg":"/api/v1/login","status":200,"method":"POST","path":"/api/v1/login","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.011925458}
{"level":"INFO","time":"2022-05-11T09:37:06.224+0800","caller":"logger/logger.go:77","msg":"/api/v1/post","status":200,"method":"POST","path":"/api/v1/post","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000525125}
{"level":"DEBUG","time":"2022-05-11T09:37:32.951+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-11T09:37:35.462+0800","caller":"logger/logger.go:77","msg":"/api/v1/post","status":200,"method":"POST","path":"/api/v1/post","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.039736084}
{"level":"DEBUG","time":"2022-05-11T11:21:17.791+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-11T11:22:17.821+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-11T13:22:30.890+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-11T13:24:00.028+0800","caller":"logger/logger.go:77","msg":"/api/v1/post/2923662348914688","status":200,"method":"GET","path":"/api/v1/post/2923662348914688","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000286833}
{"level":"INFO","time":"2022-05-11T13:24:35.991+0800","caller":"logger/logger.go:77","msg":"/api/v1/login","status":200,"method":"POST","path":"/api/v1/login","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.036526708}
{"level":"ERROR","time":"2022-05-11T13:24:48.465+0800","caller":"controller/post.go:52","msg":"logic.GetPostById(pid) failed","error":"Error 1054: Unknown column 'create_id' in 'field list'"}
{"level":"INFO","time":"2022-05-11T13:24:48.465+0800","caller":"logger/logger.go:77","msg":"/api/v1/post/2923662348914688","status":200,"method":"GET","path":"/api/v1/post/2923662348914688","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.033493583}
{"level":"ERROR","time":"2022-05-11T13:24:52.251+0800","caller":"controller/post.go:52","msg":"logic.GetPostById(pid) failed","error":"Error 1054: Unknown column 'create_id' in 'field list'"}
{"level":"INFO","time":"2022-05-11T13:24:52.251+0800","caller":"logger/logger.go:77","msg":"/api/v1/post/2923662348914688","status":200,"method":"GET","path":"/api/v1/post/2923662348914688","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.002754791}
{"level":"DEBUG","time":"2022-05-11T13:25:58.855+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-11T13:26:02.122+0800","caller":"logger/logger.go:77","msg":"/api/v1/post/2923662348914688","status":200,"method":"GET","path":"/api/v1/post/2923662348914688","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.024418625}
{"level":"DEBUG","time":"2022-05-11T13:29:02.721+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-11T14:06:31.940+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-11T14:06:43.645+0800","caller":"logger/logger.go:77","msg":"/api/v1/post/2923662348914688","status":200,"method":"GET","path":"/api/v1/post/2923662348914688","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.1016175}
{"level":"DEBUG","time":"2022-05-11T14:34:20.746+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-11T14:34:28.744+0800","caller":"logger/logger.go:77","msg":"/api/v1/post/2923662348914688","status":200,"method":"GET","path":"/api/v1/post/2923662348914688","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.05592}
{"level":"INFO","time":"2022-05-11T14:35:19.028+0800","caller":"logger/logger.go:77","msg":"/api/v1/post","status":200,"method":"POST","path":"/api/v1/post","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.038881209}
{"level":"INFO","time":"2022-05-11T14:35:25.400+0800","caller":"logger/logger.go:77","msg":"/api/v1/post/2923662348914688","status":200,"method":"GET","path":"/api/v1/post/2923662348914688","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.002535584}
{"level":"DEBUG","time":"2022-05-11T14:38:36.928+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-11T14:38:48.101+0800","caller":"logger/logger.go:77","msg":"/api/v1/login","status":200,"method":"POST","path":"/api/v1/login","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.005980041}
{"level":"INFO","time":"2022-05-11T14:40:04.331+0800","caller":"logger/logger.go:77","msg":"/api/v1/get_post_list/","status":200,"method":"GET","path":"/api/v1/get_post_list/","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000158542}
{"level":"INFO","time":"2022-05-11T14:40:27.388+0800","caller":"logger/logger.go:77","msg":"/api/v1/get_post_list/","status":200,"method":"GET","path":"/api/v1/get_post_list/","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.013402}
{"level":"INFO","time":"2022-05-11T14:41:18.933+0800","caller":"logger/logger.go:77","msg":"/api/v1/get_post_list/","status":200,"method":"GET","path":"/api/v1/get_post_list/","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.008625375}
{"level":"DEBUG","time":"2022-05-11T14:43:22.849+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-11T14:43:25.766+0800","caller":"logger/logger.go:77","msg":"/api/v1/get_post_list/","status":200,"method":"GET","path":"/api/v1/get_post_list/","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.007319584}
{"level":"DEBUG","time":"2022-05-11T14:45:15.507+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-11T14:45:17.341+0800","caller":"logger/logger.go:77","msg":"/api/v1/get_post_list/","status":200,"method":"GET","path":"/api/v1/get_post_list/","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.009860541}
{"level":"DEBUG","time":"2022-05-11T14:46:13.414+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-11T14:46:16.104+0800","caller":"logger/logger.go:77","msg":"/api/v1/get_post_list/","status":200,"method":"GET","path":"/api/v1/get_post_list/","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.004390333}
{"level":"INFO","time":"2022-05-11T14:46:20.126+0800","caller":"logger/logger.go:77","msg":"/api/v1/get_post_list/","status":200,"method":"GET","path":"/api/v1/get_post_list/","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.001631875}
{"level":"DEBUG","time":"2022-05-11T14:53:23.324+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-11T14:55:24.149+0800","caller":"logger/logger.go:77","msg":"/api/v1/get_post_list/","status":200,"method":"GET","path":"/api/v1/get_post_list/","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.009608208}
{"level":"DEBUG","time":"2022-05-11T14:56:12.018+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-11T14:56:14.079+0800","caller":"logger/logger.go:77","msg":"/api/v1/get_post_list/","status":200,"method":"GET","path":"/api/v1/get_post_list/","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.005117417}
{"level":"DEBUG","time":"2022-05-11T14:56:53.487+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-11T14:57:38.037+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-11T14:57:39.753+0800","caller":"logger/logger.go:77","msg":"/api/v1/get_post_list/","status":200,"method":"GET","path":"/api/v1/get_post_list/","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.002528292}
{"level":"DEBUG","time":"2022-05-11T14:58:21.191+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-11T14:58:23.198+0800","caller":"logger/logger.go:77","msg":"/api/v1/get_post_list/","status":200,"method":"GET","path":"/api/v1/get_post_list/","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.004995833}
{"level":"DEBUG","time":"2022-05-11T14:59:08.249+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-11T14:59:09.452+0800","caller":"logger/logger.go:77","msg":"/api/v1/get_post_list/","status":200,"method":"GET","path":"/api/v1/get_post_list/","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.017517542}
{"level":"DEBUG","time":"2022-05-11T15:25:05.396+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-11T15:25:27.828+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-11T15:25:48.959+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-11T15:26:16.021+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-11T15:28:38.553+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-11T15:28:52.072+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-11T15:30:58.872+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-11T15:33:40.272+0800","caller":"logger/logger.go:77","msg":"/api/v1/get_post_list/","status":200,"method":"GET","path":"/api/v1/get_post_list/","query":"pageNum=1&pageSize=1","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000710083}
{"level":"INFO","time":"2022-05-11T15:34:06.429+0800","caller":"logger/logger.go:77","msg":"/api/v1/get_post_list/","status":200,"method":"GET","path":"/api/v1/get_post_list/","query":"pageNum=1&pageSize=1","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.039018375}
{"level":"INFO","time":"2022-05-11T15:34:18.176+0800","caller":"logger/logger.go:77","msg":"/api/v1/get_post_list/","status":200,"method":"GET","path":"/api/v1/get_post_list/","query":"pageNum=1&pageSize=2","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.003060458}
{"level":"INFO","time":"2022-05-11T15:34:24.342+0800","caller":"logger/logger.go:77","msg":"/api/v1/get_post_list/","status":200,"method":"GET","path":"/api/v1/get_post_list/","query":"pageNum=2&pageSize=2","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.002408958}
{"level":"INFO","time":"2022-05-11T15:34:28.751+0800","caller":"logger/logger.go:77","msg":"/api/v1/get_post_list/","status":200,"method":"GET","path":"/api/v1/get_post_list/","query":"pageNum=1&pageSize=2","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.006027}
{"level":"DEBUG","time":"2022-05-11T16:01:42.483+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-11T16:07:21.561+0800","caller":"logger/logger.go:77","msg":"/api/v1/get_post_list/","status":200,"method":"GET","path":"/api/v1/get_post_list/","query":"pageNum=1&pageSize=2","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.03509225}
{"level":"INFO","time":"2022-05-11T16:07:30.671+0800","caller":"logger/logger.go:77","msg":"/api/v1/get_post_list/","status":200,"method":"GET","path":"/api/v1/get_post_list/","query":"pageNum=1&pageSize=1","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.001496625}
{"level":"INFO","time":"2022-05-11T16:07:35.427+0800","caller":"logger/logger.go:77","msg":"/api/v1/get_post_list/","status":200,"method":"GET","path":"/api/v1/get_post_list/","query":"pageNum=1&pageSize=2","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.001513292}
{"level":"DEBUG","time":"2022-05-11T16:32:11.219+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-11T16:41:06.517+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-11T16:48:15.248+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-12T10:50:54.778+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-12T10:53:59.956+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-12T10:56:50.738+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-12T10:57:01.131+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-12T11:01:20.506+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-12T11:03:56.032+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-12T11:03:57.497+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-12T11:04:01.903+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-12T11:05:34.818+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-12T11:08:32.942+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-12T11:23:03.732+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-12T11:24:45.708+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-12T11:25:02.373+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-12T11:43:29.000+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-12T11:44:45.445+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-12T11:45:46.057+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-12T11:46:37.110+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-12T11:49:59.075+0800","caller":"logger/logger.go:77","msg":"/api/v1/vote","status":200,"method":"POST","path":"/api/v1/vote","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.004323083}
{"level":"INFO","time":"2022-05-12T11:51:11.529+0800","caller":"logger/logger.go:77","msg":"/api/v1/vote","status":200,"method":"POST","path":"/api/v1/vote","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000361708}
{"level":"INFO","time":"2022-05-12T11:51:13.409+0800","caller":"logger/logger.go:77","msg":"/api/v1/vote","status":200,"method":"POST","path":"/api/v1/vote","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000107583}
{"level":"DEBUG","time":"2022-05-12T11:52:13.348+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-12T11:52:18.418+0800","caller":"logger/logger.go:77","msg":"/api/v1/vote","status":200,"method":"POST","path":"/api/v1/vote","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000390917}
{"level":"DEBUG","time":"2022-05-12T11:52:40.159+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-12T11:52:46.523+0800","caller":"logger/logger.go:77","msg":"/api/v1/vote","status":200,"method":"POST","path":"/api/v1/vote","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000813584}
{"level":"INFO","time":"2022-05-12T11:54:07.552+0800","caller":"logger/logger.go:77","msg":"/api/v1/vote","status":200,"method":"POST","path":"/api/v1/vote","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000354958}
{"level":"INFO","time":"2022-05-12T11:54:08.622+0800","caller":"logger/logger.go:77","msg":"/api/v1/vote","status":200,"method":"POST","path":"/api/v1/vote","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000106292}
{"level":"INFO","time":"2022-05-12T11:55:55.127+0800","caller":"logger/logger.go:77","msg":"/api/v1/vote","status":200,"method":"POST","path":"/api/v1/vote","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.00259925}
{"level":"DEBUG","time":"2022-05-12T11:56:17.605+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-12T12:02:54.935+0800","caller":"logger/logger.go:77","msg":"/api/v1/vote","status":200,"method":"POST","path":"/api/v1/vote","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.003219042}
{"level":"DEBUG","time":"2022-05-12T12:08:34.296+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-12T18:52:41.528+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-12T18:55:38.868+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-12T18:59:33.889+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-12T23:49:38.229+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-12T23:50:30.703+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-12T23:52:54.844+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T00:00:31.477+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T00:08:14.247+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T00:08:24.109+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T00:10:21.766+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T00:10:43.016+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T00:55:32.635+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T00:55:55.844+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T00:57:05.622+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T00:57:34.969+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T00:58:04.436+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T10:15:13.020+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T10:16:29.856+0800","caller":"logic/vote.go:12","msg":"VoteForPost","userID":423748113010688,"postID":"14283784123846656","direction":1}
{"level":"ERROR","time":"2022-05-13T10:16:29.982+0800","caller":"controller/vote.go:36","msg":"logic.VoteForPost() failed","error":"投票时间已过"}
{"level":"INFO","time":"2022-05-13T10:16:29.982+0800","caller":"logger/logger.go:77","msg":"/api/v1/vote","status":200,"method":"POST","path":"/api/v1/vote","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.132466042}
{"level":"DEBUG","time":"2022-05-13T10:18:49.283+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T10:18:54.474+0800","caller":"logic/vote.go:12","msg":"VoteForPost","userID":423748113010688,"postID":"14283784123846656","direction":1}
{"level":"ERROR","time":"2022-05-13T10:18:54.474+0800","caller":"controller/vote.go:36","msg":"logic.VoteForPost() failed","error":"投票时间已过"}
{"level":"INFO","time":"2022-05-13T10:18:54.474+0800","caller":"logger/logger.go:77","msg":"/api/v1/vote","status":200,"method":"POST","path":"/api/v1/vote","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.00115325}
{"level":"INFO","time":"2022-05-13T10:20:57.989+0800","caller":"logger/logger.go:77","msg":"/api/v1/post","status":200,"method":"POST","path":"/api/v1/post","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.062959083}
{"level":"INFO","time":"2022-05-13T10:21:17.080+0800","caller":"logger/logger.go:77","msg":"/api/v1/get_post_list/","status":200,"method":"GET","path":"/api/v1/get_post_list/","query":"pageNum=1&pageSize=5","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.017518084}
{"level":"INFO","time":"2022-05-13T10:22:41.683+0800","caller":"logger/logger.go:77","msg":"/api/v1/post","status":200,"method":"POST","path":"/api/v1/post","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.030094625}
{"level":"INFO","time":"2022-05-13T10:22:45.561+0800","caller":"logger/logger.go:77","msg":"/api/v1/get_post_list/","status":200,"method":"GET","path":"/api/v1/get_post_list/","query":"pageNum=1&pageSize=5","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.060914458}
{"level":"DEBUG","time":"2022-05-13T10:25:49.291+0800","caller":"logic/vote.go:12","msg":"VoteForPost","userID":423748113010688,"postID":"3659788831428608","direction":1}
{"level":"ERROR","time":"2022-05-13T10:25:49.554+0800","caller":"controller/vote.go:36","msg":"logic.VoteForPost() failed","error":"投票时间已过"}
{"level":"INFO","time":"2022-05-13T10:25:49.557+0800","caller":"logger/logger.go:77","msg":"/api/v1/vote","status":200,"method":"POST","path":"/api/v1/vote","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.268384208}
{"level":"DEBUG","time":"2022-05-13T10:34:31.801+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T10:49:33.131+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T10:51:01.293+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-13T10:53:41.223+0800","caller":"logger/logger.go:77","msg":"/api/v1/post","status":200,"method":"POST","path":"/api/v1/post","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.087449917}
{"level":"INFO","time":"2022-05-13T10:53:49.782+0800","caller":"logger/logger.go:77","msg":"/api/v1/post/2923662348914688","status":200,"method":"GET","path":"/api/v1/post/2923662348914688","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.031071083}
{"level":"INFO","time":"2022-05-13T10:54:05.068+0800","caller":"logger/logger.go:77","msg":"/api/v1/get_post_list/","status":200,"method":"GET","path":"/api/v1/get_post_list/","query":"pageNum=1&pageSize=5","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.02442175}
{"level":"DEBUG","time":"2022-05-13T10:54:22.741+0800","caller":"logic/vote.go:12","msg":"VoteForPost","userID":423748113010688,"postID":"3659788831428608","direction":1}
{"level":"ERROR","time":"2022-05-13T10:54:22.785+0800","caller":"controller/vote.go:36","msg":"logic.VoteForPost() failed","error":"投票时间已过"}
{"level":"INFO","time":"2022-05-13T10:54:22.785+0800","caller":"logger/logger.go:77","msg":"/api/v1/vote","status":200,"method":"POST","path":"/api/v1/vote","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.044976917}
{"level":"DEBUG","time":"2022-05-13T10:55:24.238+0800","caller":"logic/vote.go:12","msg":"VoteForPost","userID":423748113010688,"postID":"3659788831428608","direction":1}
{"level":"ERROR","time":"2022-05-13T10:55:24.246+0800","caller":"controller/vote.go:36","msg":"logic.VoteForPost() failed","error":"投票时间已过"}
{"level":"INFO","time":"2022-05-13T10:55:24.246+0800","caller":"logger/logger.go:77","msg":"/api/v1/vote","status":200,"method":"POST","path":"/api/v1/vote","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.008611375}
{"level":"DEBUG","time":"2022-05-13T10:57:03.529+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T10:57:06.166+0800","caller":"logic/vote.go:12","msg":"VoteForPost","userID":423748113010688,"postID":"3659788831428608","direction":1}
{"level":"ERROR","time":"2022-05-13T10:57:06.170+0800","caller":"controller/vote.go:36","msg":"logic.VoteForPost() failed","error":"投票时间已过"}
{"level":"INFO","time":"2022-05-13T10:57:06.170+0800","caller":"logger/logger.go:77","msg":"/api/v1/vote","status":200,"method":"POST","path":"/api/v1/vote","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.006685042}
{"level":"DEBUG","time":"2022-05-13T10:58:03.395+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T10:58:05.281+0800","caller":"logic/vote.go:12","msg":"VoteForPost","userID":423748113010688,"postID":"3659788831428608","direction":1}
{"level":"ERROR","time":"2022-05-13T10:58:05.286+0800","caller":"controller/vote.go:36","msg":"logic.VoteForPost() failed","error":"投票时间已过"}
{"level":"INFO","time":"2022-05-13T10:58:05.286+0800","caller":"logger/logger.go:77","msg":"/api/v1/vote","status":200,"method":"POST","path":"/api/v1/vote","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.004828834}
{"level":"DEBUG","time":"2022-05-13T10:59:08.862+0800","caller":"logic/vote.go:12","msg":"VoteForPost","userID":423748113010688,"postID":"3659788831428608","direction":1}
{"level":"ERROR","time":"2022-05-13T10:59:08.865+0800","caller":"controller/vote.go:36","msg":"logic.VoteForPost() failed","error":"投票时间已过"}
{"level":"INFO","time":"2022-05-13T10:59:08.865+0800","caller":"logger/logger.go:77","msg":"/api/v1/vote","status":200,"method":"POST","path":"/api/v1/vote","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.003295292}
{"level":"DEBUG","time":"2022-05-13T11:07:02.368+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T11:11:42.634+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T11:15:04.992+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T11:15:09.470+0800","caller":"logic/vote.go:12","msg":"VoteForPost","userID":423748113010688,"postID":"3659788831428608","direction":1}
{"level":"ERROR","time":"2022-05-13T11:15:09.480+0800","caller":"controller/vote.go:36","msg":"logic.VoteForPost() failed","error":"投票时间已过"}
{"level":"INFO","time":"2022-05-13T11:15:09.480+0800","caller":"logger/logger.go:77","msg":"/api/v1/vote","status":200,"method":"POST","path":"/api/v1/vote","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.011103875}
{"level":"INFO","time":"2022-05-13T11:15:31.497+0800","caller":"logger/logger.go:77","msg":"/api/v1/post","status":200,"method":"POST","path":"/api/v1/post","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.074787792}
{"level":"INFO","time":"2022-05-13T11:15:40.382+0800","caller":"logger/logger.go:77","msg":"/api/v1/get_post_list/","status":200,"method":"GET","path":"/api/v1/get_post_list/","query":"pageNum=1&pageSize=10","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.091427625}
{"level":"DEBUG","time":"2022-05-13T11:15:59.491+0800","caller":"logic/vote.go:12","msg":"VoteForPost","userID":423748113010688,"postID":"3673083818807296","direction":1}
{"level":"INFO","time":"2022-05-13T11:15:59.501+0800","caller":"logger/logger.go:77","msg":"/api/v1/vote","status":200,"method":"POST","path":"/api/v1/vote","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.010154334}
{"level":"DEBUG","time":"2022-05-13T11:18:31.482+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T11:19:39.765+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T11:20:12.335+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T11:20:57.520+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T11:27:01.648+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T11:28:37.962+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T11:28:45.855+0800","caller":"logic/vote.go:12","msg":"VoteForPost","userID":423748113010688,"postID":"3673083818807296","direction":0}
{"level":"INFO","time":"2022-05-13T11:28:45.868+0800","caller":"logger/logger.go:77","msg":"/api/v1/vote","status":200,"method":"POST","path":"/api/v1/vote","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.013949125}
{"level":"DEBUG","time":"2022-05-13T14:27:22.714+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T14:36:35.722+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T14:37:56.116+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T14:38:25.732+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T14:38:56.291+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T14:39:23.159+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T14:40:23.945+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T14:40:44.815+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T14:40:58.554+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T14:41:55.058+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T14:42:27.538+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T14:46:24.233+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T14:46:38.199+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T14:50:52.804+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T14:55:12.685+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T14:55:33.674+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T14:57:23.214+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T14:58:08.026+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T15:00:44.881+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T15:01:10.953+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T15:01:54.104+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T15:02:56.513+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T15:48:06.839+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T15:50:06.950+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T15:50:25.967+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-13T15:56:06.717+0800","caller":"logger/logger.go:77","msg":"/api/v1/post2","status":404,"method":"GET","path":"/api/v1/post2","query":"order=time","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000000959}
{"level":"INFO","time":"2022-05-13T15:57:06.139+0800","caller":"logger/logger.go:77","msg":"/api/v1/post2","status":404,"method":"GET","path":"/api/v1/post2","query":"order=time","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000001125}
{"level":"INFO","time":"2022-05-13T15:57:47.167+0800","caller":"logger/logger.go:77","msg":"/api/v1/post2","status":404,"method":"GET","path":"/api/v1/post2","query":"order=time&page=1&size=2","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000000958}
{"level":"INFO","time":"2022-05-13T15:57:48.598+0800","caller":"logger/logger.go:77","msg":"/api/v1/post2","status":404,"method":"GET","path":"/api/v1/post2","query":"order=time&page=1&size=2","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.000001291}
{"level":"INFO","time":"2022-05-13T15:58:25.639+0800","caller":"logger/logger.go:77","msg":"/api/v1/posts2","status":200,"method":"GET","path":"/api/v1/posts2","query":"order=time&page=1&size=2","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.14374375}
{"level":"INFO","time":"2022-05-13T16:05:32.301+0800","caller":"logger/logger.go:77","msg":"/api/v1/posts2","status":200,"method":"GET","path":"/api/v1/posts2","query":"order=time&page=1&size=2","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.122621584}
{"level":"ERROR","time":"2022-05-13T16:05:39.782+0800","caller":"controller/post.go:97","msg":"logic.GetPostList2() failed","error":"Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'create time\n\t\t\t\tfrom post\n\t\t\t\twhere id in (?, ?)\n\t\t\t\torder by FIND_IN_SET(post_i' at line 1"}
{"level":"INFO","time":"2022-05-13T16:05:39.783+0800","caller":"logger/logger.go:77","msg":"/api/v1/get_post_list/","status":200,"method":"GET","path":"/api/v1/get_post_list/","query":"pageNum=1&pageSize=10","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.03923975}
{"level":"ERROR","time":"2022-05-13T16:06:07.269+0800","caller":"controller/post.go:97","msg":"logic.GetPostList2() failed","error":"Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'create time\n\t\t\t\tfrom post\n\t\t\t\twhere id in (?, ?)\n\t\t\t\torder by FIND_IN_SET(post_i' at line 1"}
{"level":"INFO","time":"2022-05-13T16:06:07.275+0800","caller":"logger/logger.go:77","msg":"/api/v1/get_post_list/","status":200,"method":"GET","path":"/api/v1/get_post_list/","query":"pageNum=1&pageSize=10","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.015676208}
{"level":"DEBUG","time":"2022-05-13T16:06:48.987+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-13T16:06:52.064+0800","caller":"logger/logger.go:77","msg":"/api/v1/get_post_list/","status":200,"method":"GET","path":"/api/v1/get_post_list/","query":"pageNum=1&pageSize=10","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.047642958}
{"level":"ERROR","time":"2022-05-13T16:07:05.759+0800","caller":"controller/post.go:97","msg":"logic.GetPostList2() failed","error":"Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'create time\n\t\t\t\tfrom post\n\t\t\t\twhere id in (?, ?)\n\t\t\t\torder by FIND_IN_SET(post_i' at line 1"}
{"level":"INFO","time":"2022-05-13T16:07:05.759+0800","caller":"logger/logger.go:77","msg":"/api/v1/posts2","status":200,"method":"GET","path":"/api/v1/posts2","query":"order=time&page=1&size=2","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.007295041}
{"level":"DEBUG","time":"2022-05-13T16:09:34.279+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T16:09:46.198+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-13T16:17:22.915+0800","caller":"logger/logger.go:77","msg":"/api/v1/posts2","status":200,"method":"GET","path":"/api/v1/posts2","query":"order=time&page=1&size=2","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.647822375}
{"level":"INFO","time":"2022-05-13T16:17:40.102+0800","caller":"logger/logger.go:77","msg":"/api/v1/posts2","status":200,"method":"GET","path":"/api/v1/posts2","query":"order=time&page=1&size=3","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.131783209}
{"level":"DEBUG","time":"2022-05-13T16:20:53.760+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-13T16:20:56.867+0800","caller":"logger/logger.go:77","msg":"/api/v1/posts2","status":200,"method":"GET","path":"/api/v1/posts2","query":"order=time&page=1&size=3","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.128235375}
{"level":"DEBUG","time":"2022-05-13T16:31:28.126+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T16:32:14.464+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T16:32:23.396+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T16:32:26.000+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T17:05:39.413+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"ERROR","time":"2022-05-13T17:06:10.875+0800","caller":"logger/logger.go:119","msg":"[Recovery from panic]","error":"runtime error: index out of range [0] with length 0","request":"GET /api/v1/posts2?order=time&page=1&size=3 HTTP/1.1\r\nHost: 127.0.0.1:8081\r\nAccept: */*\r\nAccept-Encoding: gzip, deflate, br\r\nAuthorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjo0MjM3NDgxMTMwMTA2ODgsImV4cCI6MTY4Mzc4NzEyOCwiaXNzIjoiand0In0.NhqH0mjRaWPPg62MNcQnI_1Jx_VHa6NhbVIjVuXseSo\r\nConnection: keep-alive\r\nUser-Agent: apifox/1.0.0 (https://www.apifox.cn)\r\n\r\n","stack":"goroutine 34 [running]:\nruntime/debug.Stack()\n\t/usr/local/go/src/runtime/debug/stack.go:24 +0x68\nGoi/logger.GinRecovery.func1.1()\n\t/Users/admin/Projects/Goi/logger/logger.go:122 +0x23c\npanic({0x1047b2b60, 0x140001360a8})\n\t/usr/local/go/src/runtime/panic.go:838 +0x204\nGoi/logic.GetPostList2(0x5?)\n\t/Users/admin/Projects/Goi/logic/post.go:144 +0x620\nGoi/controller.GetPostListHandler2(0x14000140200)\n\t/Users/admin/Projects/Goi/controller/post.go:95 +0x190\ngithub.com/gin-gonic/gin.(*Context).Next(...)\n\t/Users/admin/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:168\nGoi/middlewares.JWTAuthMiddleware.func1(0x14000140200)\n\t/Users/admin/Projects/Goi/middlewares/auth.go:40 +0x170\ngithub.com/gin-gonic/gin.(*Context).Next(...)\n\t/Users/admin/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:168\nGoi/logger.GinRecovery.func1(0x14000140200)\n\t/Users/admin/Projects/Goi/logger/logger.go:133 +0x78\ngithub.com/gin-gonic/gin.(*Context).Next(...)\n\t/Users/admin/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:168\nGoi/logger.GinLogger.func1(0x14000140200)\n\t/Users/admin/Projects/Goi/logger/logger.go:74 +0x88\ngithub.com/gin-gonic/gin.(*Context).Next(...)\n\t/Users/admin/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:168\ngithub.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0x140003a3a00, 0x14000140200)\n\t/Users/admin/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:555 +0x568\ngithub.com/gin-gonic/gin.(*Engine).ServeHTTP(0x140003a3a00, {0x104802e50?, 0x1400015a000}, 0x14000140100)\n\t/Users/admin/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:511 +0x1d4\nnet/http.serverHandler.ServeHTTP({0x140001103f0?}, {0x104802e50, 0x1400015a000}, 0x14000140100)\n\t/usr/local/go/src/net/http/server.go:2916 +0x3fc\nnet/http.(*conn).serve(0x1400013e000, {0x104803528, 0x14000110300})\n\t/usr/local/go/src/net/http/server.go:1966 +0x56c\ncreated by net/http.(*Server).Serve\n\t/usr/local/go/src/net/http/server.go:3071 +0x450\n"}
{"level":"INFO","time":"2022-05-13T17:06:10.876+0800","caller":"logger/logger.go:77","msg":"/api/v1/posts2","status":500,"method":"GET","path":"/api/v1/posts2","query":"order=time&page=1&size=3","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.191845459}
{"level":"ERROR","time":"2022-05-13T17:07:26.891+0800","caller":"logger/logger.go:119","msg":"[Recovery from panic]","error":"runtime error: index out of range [0] with length 0","request":"GET /api/v1/posts2?order=time&page=1&size=3 HTTP/1.1\r\nHost: 127.0.0.1:8081\r\nAccept: */*\r\nAccept-Encoding: gzip, deflate, br\r\nAuthorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjo0MjM3NDgxMTMwMTA2ODgsImV4cCI6MTY4Mzc4NzEyOCwiaXNzIjoiand0In0.NhqH0mjRaWPPg62MNcQnI_1Jx_VHa6NhbVIjVuXseSo\r\nConnection: keep-alive\r\nUser-Agent: apifox/1.0.0 (https://www.apifox.cn)\r\n\r\n","stack":"goroutine 34 [running]:\nruntime/debug.Stack()\n\t/usr/local/go/src/runtime/debug/stack.go:24 +0x68\nGoi/logger.GinRecovery.func1.1()\n\t/Users/admin/Projects/Goi/logger/logger.go:122 +0x23c\npanic({0x1047b2b60, 0x14000136180})\n\t/usr/local/go/src/runtime/panic.go:838 +0x204\nGoi/logic.GetPostList2(0x5?)\n\t/Users/admin/Projects/Goi/logic/post.go:144 +0x620\nGoi/controller.GetPostListHandler2(0x14000140200)\n\t/Users/admin/Projects/Goi/controller/post.go:95 +0x190\ngithub.com/gin-gonic/gin.(*Context).Next(...)\n\t/Users/admin/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:168\nGoi/middlewares.JWTAuthMiddleware.func1(0x14000140200)\n\t/Users/admin/Projects/Goi/middlewares/auth.go:40 +0x170\ngithub.com/gin-gonic/gin.(*Context).Next(...)\n\t/Users/admin/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:168\nGoi/logger.GinRecovery.func1(0x14000140200)\n\t/Users/admin/Projects/Goi/logger/logger.go:133 +0x78\ngithub.com/gin-gonic/gin.(*Context).Next(...)\n\t/Users/admin/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:168\nGoi/logger.GinLogger.func1(0x14000140200)\n\t/Users/admin/Projects/Goi/logger/logger.go:74 +0x88\ngithub.com/gin-gonic/gin.(*Context).Next(...)\n\t/Users/admin/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:168\ngithub.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0x140003a3a00, 0x14000140200)\n\t/Users/admin/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:555 +0x568\ngithub.com/gin-gonic/gin.(*Engine).ServeHTTP(0x140003a3a00, {0x104802e50?, 0x1400015a0e0}, 0x14000140300)\n\t/Users/admin/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:511 +0x1d4\nnet/http.serverHandler.ServeHTTP({0x140001103f0?}, {0x104802e50, 0x1400015a0e0}, 0x14000140300)\n\t/usr/local/go/src/net/http/server.go:2916 +0x3fc\nnet/http.(*conn).serve(0x1400013e000, {0x104803528, 0x14000110300})\n\t/usr/local/go/src/net/http/server.go:1966 +0x56c\ncreated by net/http.(*Server).Serve\n\t/usr/local/go/src/net/http/server.go:3071 +0x450\n"}
{"level":"INFO","time":"2022-05-13T17:07:26.892+0800","caller":"logger/logger.go:77","msg":"/api/v1/posts2","status":500,"method":"GET","path":"/api/v1/posts2","query":"order=time&page=1&size=3","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.063163125}
{"level":"DEBUG","time":"2022-05-13T17:10:07.461+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-13T17:11:09.256+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"ERROR","time":"2022-05-13T17:27:31.796+0800","caller":"logger/logger.go:119","msg":"[Recovery from panic]","error":"runtime error: index out of range [0] with length 0","request":"GET /api/v1/posts2?order=time&page=1&size=3 HTTP/1.1\r\nHost: 127.0.0.1:8081\r\nAccept: */*\r\nAccept-Encoding: gzip, deflate, br\r\nAuthorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjo0MjM3NDgxMTMwMTA2ODgsImV4cCI6MTY4Mzc4NzEyOCwiaXNzIjoiand0In0.NhqH0mjRaWPPg62MNcQnI_1Jx_VHa6NhbVIjVuXseSo\r\nConnection: keep-alive\r\nUser-Agent: apifox/1.0.0 (https://www.apifox.cn)\r\n\r\n","stack":"goroutine 66 [running]:\nruntime/debug.Stack()\n\t/usr/local/go/src/runtime/debug/stack.go:24 +0x68\nGoi/logger.GinRecovery.func1.1()\n\t/Users/admin/Projects/Goi/logger/logger.go:122 +0x23c\npanic({0x10307ab60, 0x140004de168})\n\t/usr/local/go/src/runtime/panic.go:838 +0x204\nGoi/logic.GetPostList2(0x5?)\n\t/Users/admin/Projects/Goi/logic/post.go:144 +0x620\nGoi/controller.GetPostListHandler2(0x1400049a200)\n\t/Users/admin/Projects/Goi/controller/post.go:95 +0x190\ngithub.com/gin-gonic/gin.(*Context).Next(...)\n\t/Users/admin/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:168\nGoi/middlewares.JWTAuthMiddleware.func1(0x1400049a200)\n\t/Users/admin/Projects/Goi/middlewares/auth.go:40 +0x170\ngithub.com/gin-gonic/gin.(*Context).Next(...)\n\t/Users/admin/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:168\nGoi/logger.GinRecovery.func1(0x1400049a200)\n\t/Users/admin/Projects/Goi/logger/logger.go:133 +0x78\ngithub.com/gin-gonic/gin.(*Context).Next(...)\n\t/Users/admin/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:168\nGoi/logger.GinLogger.func1(0x1400049a200)\n\t/Users/admin/Projects/Goi/logger/logger.go:74 +0x88\ngithub.com/gin-gonic/gin.(*Context).Next(...)\n\t/Users/admin/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:168\ngithub.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0x140004c6340, 0x1400049a200)\n\t/Users/admin/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:555 +0x568\ngithub.com/gin-gonic/gin.(*Engine).ServeHTTP(0x140004c6340, {0x1030cae50?, 0x140004da1c0}, 0x1400049a100)\n\t/Users/admin/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:511 +0x1d4\nnet/http.serverHandler.ServeHTTP({0x140004d67b0?}, {0x1030cae50, 0x140004da1c0}, 0x1400049a100)\n\t/usr/local/go/src/net/http/server.go:2916 +0x3fc\nnet/http.(*conn).serve(0x14000508000, {0x1030cb528, 0x140003325a0})\n\t/usr/local/go/src/net/http/server.go:1966 +0x56c\ncreated by net/http.(*Server).Serve\n\t/usr/local/go/src/net/http/server.go:3071 +0x450\n"}
{"level":"INFO","time":"2022-05-13T17:27:31.815+0800","caller":"logger/logger.go:77","msg":"/api/v1/posts2","status":500,"method":"GET","path":"/api/v1/posts2","query":"order=time&page=1&size=3","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.260136583}
{"level":"DEBUG","time":"2022-05-13T17:29:08.852+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"ERROR","time":"2022-05-13T17:29:10.320+0800","caller":"logger/logger.go:119","msg":"[Recovery from panic]","error":"runtime error: index out of range [0] with length 0","request":"GET /api/v1/posts2?order=time&page=1&size=3 HTTP/1.1\r\nHost: 127.0.0.1:8081\r\nAccept: */*\r\nAccept-Encoding: gzip, deflate, br\r\nAuthorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjo0MjM3NDgxMTMwMTA2ODgsImV4cCI6MTY4Mzc4NzEyOCwiaXNzIjoiand0In0.NhqH0mjRaWPPg62MNcQnI_1Jx_VHa6NhbVIjVuXseSo\r\nConnection: keep-alive\r\nUser-Agent: apifox/1.0.0 (https://www.apifox.cn)\r\n\r\n","stack":"goroutine 36 [running]:\nruntime/debug.Stack()\n\t/usr/local/go/src/runtime/debug/stack.go:24 +0x68\nGoi/logger.GinRecovery.func1.1()\n\t/Users/admin/Projects/Goi/logger/logger.go:122 +0x23c\npanic({0x1048d2b60, 0x140003940d8})\n\t/usr/local/go/src/runtime/panic.go:838 +0x204\nGoi/logic.GetPostList2(0x5?)\n\t/Users/admin/Projects/Goi/logic/post.go:145 +0x68c\nGoi/controller.GetPostListHandler2(0x140003c8200)\n\t/Users/admin/Projects/Goi/controller/post.go:95 +0x190\ngithub.com/gin-gonic/gin.(*Context).Next(...)\n\t/Users/admin/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:168\nGoi/middlewares.JWTAuthMiddleware.func1(0x140003c8200)\n\t/Users/admin/Projects/Goi/middlewares/auth.go:40 +0x170\ngithub.com/gin-gonic/gin.(*Context).Next(...)\n\t/Users/admin/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:168\nGoi/logger.GinRecovery.func1(0x140003c8200)\n\t/Users/admin/Projects/Goi/logger/logger.go:133 +0x78\ngithub.com/gin-gonic/gin.(*Context).Next(...)\n\t/Users/admin/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:168\nGoi/logger.GinLogger.func1(0x140003c8200)\n\t/Users/admin/Projects/Goi/logger/logger.go:74 +0x88\ngithub.com/gin-gonic/gin.(*Context).Next(...)\n\t/Users/admin/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:168\ngithub.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0x14000302ea0, 0x140003c8200)\n\t/Users/admin/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:555 +0x568\ngithub.com/gin-gonic/gin.(*Engine).ServeHTTP(0x14000302ea0, {0x104922e60?, 0x140003dc000}, 0x140003c8100)\n\t/Users/admin/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:511 +0x1d4\nnet/http.serverHandler.ServeHTTP({0x140003826f0?}, {0x104922e60, 0x140003dc000}, 0x140003c8100)\n\t/usr/local/go/src/net/http/server.go:2916 +0x3fc\nnet/http.(*conn).serve(0x1400039a0a0, {0x104923538, 0x14000382600})\n\t/usr/local/go/src/net/http/server.go:1966 +0x56c\ncreated by net/http.(*Server).Serve\n\t/usr/local/go/src/net/http/server.go:3071 +0x450\n"}
{"level":"INFO","time":"2022-05-13T17:29:10.422+0800","caller":"logger/logger.go:77","msg":"/api/v1/posts2","status":500,"method":"GET","path":"/api/v1/posts2","query":"order=time&page=1&size=3","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.262952041}
{"level":"DEBUG","time":"2022-05-13T17:33:19.799+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-13T17:33:28.730+0800","caller":"logger/logger.go:77","msg":"/api/v1/posts2","status":200,"method":"GET","path":"/api/v1/posts2","query":"order=time&page=1&size=3","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.144410375}
{"level":"INFO","time":"2022-05-13T17:35:48.851+0800","caller":"logger/logger.go:77","msg":"/api/v1/posts2","status":200,"method":"GET","path":"/api/v1/posts2","query":"page=1&order=time","ip":"127.0.0.1","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36 Edg/101.0.1210.39","errors":"","cost":0.003034541}
{"level":"INFO","time":"2022-05-13T17:53:54.416+0800","caller":"logger/logger.go:77","msg":"/api/v1/signup","status":200,"method":"POST","path":"/api/v1/signup","query":"","ip":"127.0.0.1","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36 Edg/101.0.1210.39","errors":"","cost":0.151684792}
{"level":"INFO","time":"2022-05-13T17:54:04.481+0800","caller":"logger/logger.go:77","msg":"/api/v1/login","status":200,"method":"POST","path":"/api/v1/login","query":"","ip":"127.0.0.1","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36 Edg/101.0.1210.39","errors":"","cost":0.008534542}
{"level":"DEBUG","time":"2022-05-15T13:53:17.118+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-15T13:55:52.209+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-15T13:56:46.108+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-15T13:57:49.959+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-15T13:58:49.592+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-15T13:59:57.895+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-15T14:35:57.549+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-15T14:37:53.958+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-15T14:42:51.876+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-15T14:43:43.347+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-15T14:47:22.038+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-15T15:02:19.588+0800","caller":"Goi/main.go:44","msg":"logger init success"}
{"level":"INFO","time":"2022-05-15T15:03:56.050+0800","caller":"logger/logger.go:77","msg":"/api/v1/posts2","status":200,"method":"GET","path":"/api/v1/posts2","query":"order=time&page=1&size=3","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.658236458}
{"level":"INFO","time":"2022-05-15T15:03:56.066+0800","caller":"logger/logger.go:77","msg":"/api/v1/posts2","status":200,"method":"GET","path":"/api/v1/posts2","query":"order=time&page=1&size=3","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.673748458}
{"level":"INFO","time":"2022-05-15T15:04:02.055+0800","caller":"logger/logger.go:77","msg":"/api/v1/posts2","status":200,"method":"GET","path":"/api/v1/posts2","query":"order=time&page=1&size=3","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.036263416}
{"level":"DEBUG","time":"2022-05-15T15:28:02.299+0800","caller":"Goi/main.go:57","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-15T15:32:54.063+0800","caller":"Goi/main.go:57","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-15T15:33:41.760+0800","caller":"Goi/main.go:57","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-15T15:35:52.262+0800","caller":"Goi/main.go:57","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-15T15:42:59.338+0800","caller":"Goi/main.go:59","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-15T15:48:16.182+0800","caller":"Goi/main.go:59","msg":"logger init success"}
{"level":"DEBUG","time":"2022-05-15T15:48:53.638+0800","caller":"Goi/main.go:59","msg":"logger init success"}
{"level":"INFO","time":"2022-05-15T15:48:57.938+0800","caller":"logger/logger.go:77","msg":"/swagger/index.html","status":200,"method":"GET","path":"/swagger/index.html","query":"","ip":"::1","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36 Edg/101.0.1210.39","errors":"","cost":0.000939584}
{"level":"INFO","time":"2022-05-15T15:48:58.624+0800","caller":"logger/logger.go:77","msg":"/swagger/swagger-ui.css","status":200,"method":"GET","path":"/swagger/swagger-ui.css","query":"","ip":"::1","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36 Edg/101.0.1210.39","errors":"","cost":0.000273542}
{"level":"INFO","time":"2022-05-15T15:48:58.730+0800","caller":"logger/logger.go:77","msg":"/swagger/swagger-ui-standalone-preset.js","status":200,"method":"GET","path":"/swagger/swagger-ui-standalone-preset.js","query":"","ip":"::1","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36 Edg/101.0.1210.39","errors":"","cost":0.000753041}
{"level":"INFO","time":"2022-05-15T15:48:58.744+0800","caller":"logger/logger.go:77","msg":"/swagger/swagger-ui-bundle.js","status":200,"method":"GET","path":"/swagger/swagger-ui-bundle.js","query":"","ip":"::1","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36 Edg/101.0.1210.39","errors":"","cost":0.013866}
{"level":"INFO","time":"2022-05-15T15:48:59.058+0800","caller":"logger/logger.go:77","msg":"/swagger/doc.json","status":200,"method":"GET","path":"/swagger/doc.json","query":"","ip":"::1","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36 Edg/101.0.1210.39","errors":"","cost":0.000379208}
{"level":"INFO","time":"2022-05-15T15:48:59.296+0800","caller":"logger/logger.go:77","msg":"/swagger/favicon-32x32.png","status":200,"method":"GET","path":"/swagger/favicon-32x32.png","query":"","ip":"::1","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36 Edg/101.0.1210.39","errors":"","cost":0.000086792}
{"level":"INFO","time":"2022-05-15T15:49:24.196+0800","caller":"logger/logger.go:77","msg":"/swagger/post","status":404,"method":"GET","path":"/swagger/post","query":"","ip":"::1","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36 Edg/101.0.1210.39","errors":"","cost":0.000056042}
{"level":"INFO","time":"2022-05-15T15:49:30.886+0800","caller":"logger/logger.go:77","msg":"/swagger/index.html","status":200,"method":"GET","path":"/swagger/index.html","query":"","ip":"::1","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36 Edg/101.0.1210.39","errors":"","cost":0.001258417}
{"level":"INFO","time":"2022-05-15T16:45:47.921+0800","caller":"logger/logger.go:77","msg":"/api/v1/post","status":200,"method":"POST","path":"/api/v1/post","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.353999792}
{"level":"INFO","time":"2022-05-15T17:18:24.550+0800","caller":"logger/logger.go:77","msg":"/api/v1/post","status":200,"method":"POST","path":"/api/v1/post","query":"","ip":"127.0.0.1","user-agent":"apifox/1.0.0 (https://www.apifox.cn)","errors":"","cost":0.131768083}