Commit 0726a0cb authored by hujiebin's avatar hujiebin

Update group_power_data.go

parent 411c6eb6
......@@ -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-18&pageIndex=%d&pageSize=%d&status=1", pageIndex, pageSize)
url := fmt.Sprintf("https://apiv2.faceline.live/v1/groupPower/page?lang=zh-cn&ownerCode=&beginDate=2023-04-01&endDate=2023-04-30&pageIndex=%d&pageSize=%d&status=1", pageIndex, pageSize)
method := "GET"
client := &http.Client{}
......@@ -111,7 +111,7 @@ func main() {
data = append(data, resp.Data.Data...)
pageIndex++
}
excelFileName := fmt.Sprintf("./家族6月数据.xlsx")
excelFileName := fmt.Sprintf("./家族4月数据.xlsx")
xlFile := xlsx.NewFile()
sheet, err := xlFile.AddSheet("slot")
if err != nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment