Commit 671fb383 authored by anqi-wmm's avatar anqi-wmm

生产 sensor_data

parent acf9c7ff
......@@ -34,8 +34,8 @@ func NewAkmClient() *AkmClient {
if err != nil {
log.Println(err)
}
client.SetProxy("http://user-unifflcc-region-us:q39CEBTs5A5YQXor@pr.roxlabs.cn:4600")
//client.SetProxy("http://127.0.0.1:8888")
//client.SetProxy("http://user-unifflcc-region-us:q39CEBTs5A5YQXor@pr.roxlabs.cn:4600")
client.SetProxy("http://127.0.0.1:9999")
return &AkmClient{Jar: jar, Client: client}
}
......@@ -95,8 +95,8 @@ func initAbck(url string) {
},
}
resp, err := akmClient.Client.Do(req)
defer resp.Body.Close()
_, err = akmClient.Client.Do(req)
//defer resp.Body.Close()
if err != nil {
log.Println(err)
......
This diff is collapsed.
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