Commit 7852b80e authored by szh's avatar szh

add addr

parent 178d5a99
......@@ -379,7 +379,9 @@ func FeedBackStatusWithoutSSH(c *gin.Context){
var pai pai_service.Pai
pai.GetConfig()
results["addr"] = pai.Serial
resp,err:=http.Post(setting.Chain33Pai.IsCompleteNosshUrl,"application/json",nil)
keyPairStream,_ :=json.Marshal(results)
resp,err:=http.Post(setting.Chain33Pai.IsCompleteNosshUrl,"application/json",bytes.NewReader(keyPairStream))
if err!=nil{
appG.Response(http.StatusOK,e.NETWORK_ERROR,"网络错误")
log.Println(err)
......
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