add log show

This commit is contained in:
Jay 2018-12-06 10:28:35 +08:00
parent 1584aacb04
commit cd472c511d

View File

@ -124,8 +124,10 @@ func GetNotifyWebhook(c *context.Context) {
c.ServerError(nil) c.ServerError(nil)
return return
} }
log.Println("yt groups ::::: ", yt.Groups)
for _, v := range yt.Groups { for _, v := range yt.Groups {
log.Println("group data :::: ", v)
if v.Notify { if v.Notify {
str := v.Tmpl str := v.Tmpl
if len(str) == 0 { if len(str) == 0 {