指令更新
This commit is contained in:
parent
ecc1f2684c
commit
9ba6264798
@ -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
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user