From 2e543c09bb2e8b560421c08b88fbb5b4c2487d28 Mon Sep 17 00:00:00 2001 From: hujiebin Date: Mon, 19 Jun 2023 15:54:03 +0800 Subject: [PATCH] 1 --- script/Makefile | 2 ++ script/group_power_data.go | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/script/Makefile b/script/Makefile index 6ad061d..4dc932c 100644 --- a/script/Makefile +++ b/script/Makefile @@ -8,4 +8,6 @@ simple_user_charge: CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o simple_user_charge12 simple_user_charge.go charge_max: CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o charge_max charge_max.go +group_power_data: + CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o group_power_data group_power_data.go diff --git a/script/group_power_data.go b/script/group_power_data.go index 5d69896..8a76266 100644 --- a/script/group_power_data.go +++ b/script/group_power_data.go @@ -75,7 +75,7 @@ func main() { pageIndex := 1 pageSize := 500 for { - url := fmt.Sprintf("https://apiv2.faceline.live/v1/groupPower/page?lang=zh-cn&ownerCode=&beginDate=2023-06-01&endDate=2023-06-12&pageIndex=%d&pageSize=%d&status=1", pageIndex, pageSize) + url := fmt.Sprintf("https://apiv2.faceline.live/v1/groupPower/page?lang=zh-cn&ownerCode=&beginDate=2023-06-01&endDate=2023-06-18&pageIndex=%d&pageSize=%d&status=1", pageIndex, pageSize) method := "GET" client := &http.Client{} -- 2.22.0