1
0
mirror of https://shylinux.com/x/icebergs synced 2025-05-03 12:07:00 +08:00

opt panel

This commit is contained in:
harveyshao 2023-01-28 23:18:11 +08:00
parent 1d4cd0087e
commit d823900ef4

View File

@ -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]))