Commit 178d5a99 authored by szh's avatar szh

add addr

parent 68d08325
......@@ -376,6 +376,9 @@ func FeedBackWithoutSSH(c *gin.Context){
func FeedBackStatusWithoutSSH(c *gin.Context){
appG:=app.Gin{C:c}
results := make(map[string]interface{})
var pai pai_service.Pai
pai.GetConfig()
results["addr"] = pai.Serial
resp,err:=http.Post(setting.Chain33Pai.IsCompleteNosshUrl,"application/json",nil)
if err!=nil{
appG.Response(http.StatusOK,e.NETWORK_ERROR,"网络错误")
......
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