|
@@ -161,6 +161,7 @@ func getHot() {
|
|
file := gtime.Now().AddDate(0, 0, -1).Format("Y-m-d")
|
|
file := gtime.Now().AddDate(0, 0, -1).Format("Y-m-d")
|
|
res := gclient.New().GetContent(context.Background(), "http://172.17.145.164:18880/jyartvisit/"+file+".res")
|
|
res := gclient.New().GetContent(context.Background(), "http://172.17.145.164:18880/jyartvisit/"+file+".res")
|
|
arrs := strings.Split(res, "\n")
|
|
arrs := strings.Split(res, "\n")
|
|
|
|
+ log.Info("getHot", zap.Int("res", len(arrs)))
|
|
for _, va := range arrs {
|
|
for _, va := range arrs {
|
|
vs := strings.Split(va, " ")
|
|
vs := strings.Split(va, " ")
|
|
if len(vs) == 2 {
|
|
if len(vs) == 2 {
|