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
2e543c09
Commit
2e543c09
authored
Jun 19, 2023
by
hujiebin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
39c991ee
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
Makefile
script/Makefile
+2
-0
group_power_data.go
script/group_power_data.go
+1
-1
No files found.
script/Makefile
View file @
2e543c09
...
...
@@ -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
script/group_power_data.go
View file @
2e543c09
...
...
@@ -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-1
2
&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-1
8
&pageIndex=%d&pageSize=%d&status=1"
,
pageIndex
,
pageSize
)
method
:=
"GET"
client
:=
&
http
.
Client
{}
...
...
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