From 9ba6264798ca76c37cc903749b7da41a0064a8e9 Mon Sep 17 00:00:00 2001 From: ZJY <764763903@qq.com> Date: Tue, 7 Sep 2021 12:31:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8C=87=E4=BB=A4=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- models/command.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/models/command.go b/models/command.go index 93f9203..adf253b 100644 --- a/models/command.go +++ b/models/command.go @@ -3,6 +3,7 @@ package models import ( "errors" "fmt" + "github.com/beego/beego/v2/core/logs" "regexp" "strings" "time" @@ -183,10 +184,11 @@ var codeSignals = []CodeSignal{ }, }, { - Command: []string{"更新账号"}, + Command: []string{"测试测试"}, Admin: true, Handle: func(sender *Sender) interface{} { sender.Reply("更新所有账号") + logs.Info("更新所有账号") updateCookie() return nil },