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