1
0
forked from lxh/go-wxhelper

🐛 Fix a bug.

This commit is contained in:
李寻欢 2023-10-11 09:51:33 +08:00
parent d0bba911ed
commit e6198a88c1
2 changed files with 3 additions and 2 deletions

View File

@ -10,4 +10,4 @@ task:
- '18958257758@chatroom' - '18958257758@chatroom'
- '49448748645@chatroom' - '49448748645@chatroom'
blacklist: blacklist:
- 'wxid_7788687886912' - 'wxid_778868788691exit2'

View File

@ -5,6 +5,7 @@ import (
"go-wechat/client" "go-wechat/client"
"go-wechat/config" "go-wechat/config"
"go-wechat/entity" "go-wechat/entity"
"go-wechat/utils"
"log" "log"
"strings" "strings"
) )
@ -82,5 +83,5 @@ func dealYesterday(gid string) {
notifyMsgs = append(notifyMsgs, " \n请未上榜的群友多多反思。") notifyMsgs = append(notifyMsgs, " \n请未上榜的群友多多反思。")
log.Printf("排行榜: \n%s", strings.Join(notifyMsgs, "\n")) log.Printf("排行榜: \n%s", strings.Join(notifyMsgs, "\n"))
//go utils.SendMessage(gid, "", strings.Join(notifyMsgs, "\n"), 0) go utils.SendMessage(gid, "", strings.Join(notifyMsgs, "\n"), 0)
} }