From cefb30a1e8737b52e46da86f2decafb7d7e150f0 Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期五, 28 六月 2019 20:33:21 +0800
Subject: [PATCH] test

---
 service/FaceSdkService.go |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/service/FaceSdkService.go b/service/FaceSdkService.go
index 608050a..64e5f6c 100644
--- a/service/FaceSdkService.go
+++ b/service/FaceSdkService.go
@@ -122,7 +122,8 @@
 	go func() {
 		for {
 			select {
-			case <-time.Tick(time.Second*10):
+			case <-time.Tick(time.Second*5):
+				fmt.Println("鍊掕鏃剁粨鏉�")
 				ch <- nil
 				wg.Done()
 				return
@@ -131,11 +132,15 @@
 					fmt.Println("faceFea got!!!")
 					ch <- feas
 					return
+				} else {
+					fmt.Println("灏氭湭鎷垮埌fea")
 				}
 			}
 		}
 	}()
+	fmt.Println("wa.Wait")
 	wg.Wait()
+	fmt.Println("<-ch")
 	msg := <- ch
 	if msg != nil {
 		return msg,nil

--
Gitblit v1.8.0