Commit b65941a6 authored by anqi-wmm's avatar anqi-wmm

vy test ok

parent 7081dc88
...@@ -237,14 +237,8 @@ func (a *AkmSign) genData() (string, string) { ...@@ -237,14 +237,8 @@ func (a *AkmSign) genData() (string, string) {
//BN := zN[6] //BN := zN[6]
arg124 := "" arg124 := ""
fmt.Println(DN, EN)
if DN == nil { if DN != nil && EN != nil {
DN = "NaN"
}
if EN == nil {
EN = "NaN"
}
if a.Times >= 2 {
AN := a.startTs AN := a.startTs
Uz := fmt.Sprintf("%s%d%s", DN, a.startTs, EN) Uz := fmt.Sprintf("%s%d%s", DN, a.startTs, EN)
ZX := 1 ZX := 1
......
...@@ -134,6 +134,7 @@ func actVY() { ...@@ -134,6 +134,7 @@ func actVY() {
px = "http://127.0.0.1:8890" px = "http://127.0.0.1:8890"
} }
t1 := time.Now() t1 := time.Now()
fmt.Println(px)
//resp, err := http.Post("http://lcc.unififi.com/akamai/gen", //resp, err := http.Post("http://lcc.unififi.com/akamai/gen",
resp, err := http.Post("http://127.0.0.1:59001/akamai/gen", resp, err := http.Post("http://127.0.0.1:59001/akamai/gen",
"application/json", strings.NewReader("{\"type\": \"VY\", \"proxy\": \""+px+"\"}")) "application/json", strings.NewReader("{\"type\": \"VY\", \"proxy\": \""+px+"\"}"))
......
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