Signed-off-by: dongl <2725096176@qq.com>
This commit is contained in:
2022-07-19 09:38:09 +08:00
parent 6a6842be4e
commit 44fc4a7395
3 changed files with 5 additions and 14 deletions

View File

@@ -22,18 +22,17 @@ func main() {
// 注册消息处理函数
bot.MessageHandler = func(msg *openwechat.Message) {
if msg.IsText() && msg.Content == "专升本英语" {
if msg.IsText() && msg.Content == "英语" {
controller.SingleChoice(msg)
}
if msg.IsText() && msg.Content == "打卡开启" {
module.SignInBegin(msg)
controller.SignInBegin(msg)
}
if msg.IsText() && msg.Content == "打卡关闭" {
module.SignInEnd(msg)
controller.SignInEnd(msg)
}