Skip to content

Commit

Permalink
change deviceid
Browse files Browse the repository at this point in the history
  • Loading branch information
axiaoxin committed Jul 15, 2021
1 parent 1b56e17 commit ec9df74
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions datacenter/eastmoney/fund_net_list.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,10 @@ func (e EastMoney) QueryAllFundList(ctx context.Context, fundType FundType) (Fun
logging.Warnf(ctx, "code:%v is already exist", d.Fcode)
continue
}
sm.Store(d.Fcode, struct{}{})
mu.Lock()
result = append(result, d)
mu.Unlock()
sm.Store(d.Fcode, struct{}{})
}
}
}()
Expand All @@ -167,9 +167,9 @@ func (e EastMoney) QueryFundListByPage(ctx context.Context, fundType FundType, p
"pageIndex": fmt.Sprint(pageIndex),
"pageSize": "30",
"plat": "Iphone",
"deviceid": "-",
"deviceid": fmt.Sprint(time.Now().UnixNano()),
"product": "EFund",
"version": "-",
"version": "6.4.5",
}
logging.Debug(ctx, "EastMoney QueryFundListByPage "+apiurl+" begin", zap.Any("params", params))
beginTime := time.Now()
Expand Down

0 comments on commit ec9df74

Please sign in to comment.