From e7d405de45a0f9748c9f74688a6e083bddbb62cb Mon Sep 17 00:00:00 2001 From: liuxiaolong <liuxiaolong@aiotlink.com> Date: 星期一, 22 六月 2020 15:53:32 +0800 Subject: [PATCH] add log --- controllers/car.go | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/controllers/car.go b/controllers/car.go index 11ce19b..4a365fd 100644 --- a/controllers/car.go +++ b/controllers/car.go @@ -33,7 +33,10 @@ left = 5 } if left <=10 && left != prePushLeft { - go service.Push("鑲茶嫳鏅烘収鍋滆溅", fmt.Sprintf("褰撳墠鍓╀綑杞︿綅锛�%d涓�", left)) + go func() { + b, e := service.Push("鑲茶嫳鏅烘収鍋滆溅", fmt.Sprintf("褰撳墠鍓╀綑杞︿綅锛�%d涓�", left)) + fmt.Println("b:", b,"e:",e) + }() } updateSpaceLeft(left) default: -- Gitblit v1.8.0