From e1d09bc77b7daa421ec3f366afca01a25a49b378 Mon Sep 17 00:00:00 2001 From: jay Date: Thu, 27 Sep 2018 22:07:55 +0800 Subject: [PATCH] remove debug log --- module/message-command/line-group.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/module/message-command/line-group.go b/module/message-command/line-group.go index 76af684..6bd500d 100644 --- a/module/message-command/line-group.go +++ b/module/message-command/line-group.go @@ -14,7 +14,6 @@ import ( ) func selectAct(cmd, sub, txt string, s *lineobj.SourceObject) (res string) { - fmt.Println("Try Run CMD :: ", cmd, sub) switch cmd { case "addgroup": return addLineGroup(sub, txt, s) @@ -304,12 +303,10 @@ func addYoutubeChannel(sub, txt string, s *lineobj.SourceObject) (res string) { } func lottery(sub, txt string, s *lineobj.SourceObject) (res string) { - fmt.Println("lottery input ", sub, txt) if len(sub) == 0 { return "" } data, err := model.GetRandomLotteryByType(sub) - fmt.Println("get data ::: ", data, err) if err != nil || data == nil { return } @@ -325,6 +322,5 @@ func lottery(sub, txt string, s *lineobj.SourceObject) (res string) { } o := u + oriURL + "/" + data.Message + "?d=" + sub t := u + thumbURL + "/" + data.Message + "?d=" + sub - fmt.Printf("$image$%s;%s\n", o, t) return fmt.Sprintf("$image$%s;%s", o, t) }