|
@@ -27,6 +27,7 @@ func DataCollectCronMiyuanRealNews(types int) { |
|
|
fmt.Println("============", time.Since(now)) |
|
|
fmt.Println("============", time.Since(now)) |
|
|
for _, v := range ids { |
|
|
for _, v := range ids { |
|
|
for i := 1; i <= num; i++ { |
|
|
for i := 1; i <= num; i++ { |
|
|
|
|
|
time.Sleep(time.Microsecond * 10) // 等待10毫秒 |
|
|
newsData, err := gzmiyuan.GetGzmiRealData(utils.IntToStr(size), utils.IntToStr(i), v) |
|
|
newsData, err := gzmiyuan.GetGzmiRealData(utils.IntToStr(size), utils.IntToStr(i), v) |
|
|
if newsData == nil || err != nil { |
|
|
if newsData == nil || err != nil { |
|
|
continue |
|
|
continue |
|
|