mirror of
https://shylinux.com/x/icebergs
synced 2025-05-03 12:07:00 +08:00
opt panel
This commit is contained in:
parent
1d4cd0087e
commit
d823900ef4
@ -65,6 +65,7 @@ const HEADER = "header"
|
||||
func init() {
|
||||
Index.MergeCommands(ice.Commands{
|
||||
web.P(HEADER): {Name: "/header", Help: "标题栏", Actions: ice.MergeActions(ice.Actions{
|
||||
mdb.INPUTS: {Hand: func(m *ice.Message, arg ...string) {}},
|
||||
aaa.LOGIN: {Hand: func(m *ice.Message, arg ...string) {
|
||||
if len(arg) > 1 && aaa.UserLogin(m, arg[0], arg[1]) {
|
||||
web.RenderCookie(m, aaa.SessCreate(m, arg[0]))
|
||||
|
Loading…
x
Reference in New Issue
Block a user