Commit 77c7848ab0e4a06d26fe2488fe5475fa085b356b

Authored by 陆恒
1 parent df46dd7a
Exists in master

提交

src/HttpServer/logic/httpserver.go
@@ -57,6 +57,7 @@ func Testsendhttp() { @@ -57,6 +57,7 @@ func Testsendhttp() {
57 } 57 }
58 } 58 }
59 } 59 }
  60 + logger.Info("FINAL++++++++++++++++++++++++++++res=%v",right)
60 } 61 }
61 62
62 func CheckErr(err error) { 63 func CheckErr(err error) {
src/HttpServer/main/main.go
@@ -65,11 +65,11 @@ func main() { @@ -65,11 +65,11 @@ func main() {
65 } 65 }
66 66
67 //測試 67 //測試
68 - logic.Test()  
69 - go logic.StartHttpServe() 68 + //logic.Test()
  69 + //go logic.StartHttpServe()
70 //go logic.StartHttpTicker() 70 //go logic.StartHttpTicker()
71 //time.Sleep(time.Duration(2) * time.Second) 71 //time.Sleep(time.Duration(2) * time.Second)
72 - //go logic.Testsendhttp() 72 + go logic.Testsendhttp()
73 73
74 select { 74 select {
75 case _ = <-ch: 75 case _ = <-ch: