Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hilo-common
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujiebin
hilo-common
Commits
0726a0cb
Commit
0726a0cb
authored
Jul 05, 2023
by
hujiebin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update group_power_data.go
parent
411c6eb6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
group_power_data.go
script/group_power_data.go
+2
-2
No files found.
script/group_power_data.go
View file @
0726a0cb
...
@@ -75,7 +75,7 @@ func main() {
...
@@ -75,7 +75,7 @@ func main() {
pageIndex
:=
1
pageIndex
:=
1
pageSize
:=
500
pageSize
:=
500
for
{
for
{
url
:=
fmt
.
Sprintf
(
"https://apiv2.faceline.live/v1/groupPower/page?lang=zh-cn&ownerCode=&beginDate=2023-0
6-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-0
4-01&endDate=2023-04-30
&pageIndex=%d&pageSize=%d&status=1"
,
pageIndex
,
pageSize
)
method
:=
"GET"
method
:=
"GET"
client
:=
&
http
.
Client
{}
client
:=
&
http
.
Client
{}
...
@@ -111,7 +111,7 @@ func main() {
...
@@ -111,7 +111,7 @@ func main() {
data
=
append
(
data
,
resp
.
Data
.
Data
...
)
data
=
append
(
data
,
resp
.
Data
.
Data
...
)
pageIndex
++
pageIndex
++
}
}
excelFileName
:=
fmt
.
Sprintf
(
"./家族
6
月数据.xlsx"
)
excelFileName
:=
fmt
.
Sprintf
(
"./家族
4
月数据.xlsx"
)
xlFile
:=
xlsx
.
NewFile
()
xlFile
:=
xlsx
.
NewFile
()
sheet
,
err
:=
xlFile
.
AddSheet
(
"slot"
)
sheet
,
err
:=
xlFile
.
AddSheet
(
"slot"
)
if
err
!=
nil
{
if
err
!=
nil
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment