Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
L
lcc-akm
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
wangmingming
lcc-akm
Commits
b65941a6
Commit
b65941a6
authored
Mar 22, 2023
by
anqi-wmm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vy test ok
parent
7081dc88
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
8 deletions
+3
-8
sensor.go
src/sensor/sensor.go
+2
-8
test.go
src/test/test.go
+1
-0
No files found.
src/sensor/sensor.go
View file @
b65941a6
...
...
@@ -237,14 +237,8 @@ func (a *AkmSign) genData() (string, string) {
//BN := zN[6]
arg124
:=
""
fmt
.
Println
(
DN
,
EN
)
if
DN
==
nil
{
DN
=
"NaN"
}
if
EN
==
nil
{
EN
=
"NaN"
}
if
a
.
Times
>=
2
{
if
DN
!=
nil
&&
EN
!=
nil
{
AN
:=
a
.
startTs
Uz
:=
fmt
.
Sprintf
(
"%s%d%s"
,
DN
,
a
.
startTs
,
EN
)
ZX
:=
1
...
...
src/test/test.go
View file @
b65941a6
...
...
@@ -134,6 +134,7 @@ func actVY() {
px
=
"http://127.0.0.1:8890"
}
t1
:=
time
.
Now
()
fmt
.
Println
(
px
)
//resp, err := http.Post("http://lcc.unififi.com/akamai/gen",
resp
,
err
:=
http
.
Post
(
"http://127.0.0.1:59001/akamai/gen"
,
"application/json"
,
strings
.
NewReader
(
"{
\"
type
\"
:
\"
VY
\"
,
\"
proxy
\"
:
\"
"
+
px
+
"
\"
}"
))
...
...
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