|
@@ -3,10 +3,10 @@ package services
|
|
|
import (
|
|
|
"fmt"
|
|
|
"github.com/mozillazg/go-pinyin"
|
|
|
+ "github.com/rdlucklib/rdluck_tools/http"
|
|
|
"hongze/hongze_data_crawler/models"
|
|
|
"hongze/hongze_data_crawler/utils"
|
|
|
"log"
|
|
|
- "github.com/rdlucklib/rdluck_tools/http"
|
|
|
"strconv"
|
|
|
"strings"
|
|
|
"time"
|
|
@@ -68,7 +68,7 @@ func SyncRankingFromZhengzhou() {
|
|
|
for _, item := range allCode {
|
|
|
zIndexCodeMap[item.IndexName] = item.IndexCode
|
|
|
}
|
|
|
- for i := 2; i > 0; i-- {
|
|
|
+ for i := 2; i >= 0; i-- {
|
|
|
var itemVerifyCode int
|
|
|
zzUrl := "http://www.czce.com.cn/cn/DFSStaticFiles/Future/%s/%s/FutureDataHolding.htm"
|
|
|
date := time.Now().AddDate(0, 0, -i)
|