Skip to content

Commit 1d81fdb

Browse files
committed
chore(deps):指标选股问题
- 将 User-Agent 中的 Firefox 版本从 140.0 更新为 145.0
1 parent 6aca0e1 commit 1d81fdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/data/search_stock_api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ func (s SearchStockApi) SearchStock(pageSize int) map[string]any {
2626
SetHeader("Host", "np-tjxg-g.eastmoney.com").
2727
SetHeader("Origin", "https://xuangu.eastmoney.com").
2828
SetHeader("Referer", "https://xuangu.eastmoney.com/").
29-
SetHeader("User-Agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:140.0) Gecko/20100101 Firefox/140.0").
29+
SetHeader("User-Agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:145.0) Gecko/20100101 Firefox/145.0").
3030
SetHeader("Content-Type", "application/json").
3131
SetBody(fmt.Sprintf(`{
3232
"keyWord": "%s",

0 commit comments

Comments
 (0)