指令更新

This commit is contained in:
ZJY 2021-09-07 12:31:33 +08:00
parent ecc1f2684c
commit 9ba6264798

View File

@ -3,6 +3,7 @@ package models
import ( import (
"errors" "errors"
"fmt" "fmt"
"github.com/beego/beego/v2/core/logs"
"regexp" "regexp"
"strings" "strings"
"time" "time"
@ -183,10 +184,11 @@ var codeSignals = []CodeSignal{
}, },
}, },
{ {
Command: []string{"更新账号"}, Command: []string{"测试测试"},
Admin: true, Admin: true,
Handle: func(sender *Sender) interface{} { Handle: func(sender *Sender) interface{} {
sender.Reply("更新所有账号") sender.Reply("更新所有账号")
logs.Info("更新所有账号")
updateCookie() updateCookie()
return nil return nil
}, },