diff --git a/script/Makefile b/script/Makefile index 6ad061d99114130ccc47d8a8190e171c8fce5316..4dc932c057ce98a30781109fd1a6d48c738e12ce 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 5d698962e81d1c6f5a5db5dfffa4c1ab2257da9a..8a76266d66e139ba45ebb09d97f883d462d73b69 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{}