forked from x/icebergs
add some
This commit is contained in:
parent
ff4fc43c36
commit
420c3ed8aa
@ -43,7 +43,7 @@ func DevTokenAction(name, origin string) ice.Actions {
|
|||||||
))
|
))
|
||||||
}},
|
}},
|
||||||
mdb.DEV_CHOOSE: {Hand: func(m *ice.Message, arg ...string) {
|
mdb.DEV_CHOOSE: {Hand: func(m *ice.Message, arg ...string) {
|
||||||
m.EchoInfoButton(kit.JoinWord(m.ShortKey(), m.Cmdx(nfs.CAT, path.Join(nfs.SRC_TEMPLATE, m.PrefixKey(), "saveto.html")), m.Option(cli.BACK)), mdb.DEV_RESPONSE)
|
m.EchoInfoButton(kit.JoinWord(m.ShortKey(), m.Cmdx(nfs.CAT, path.Join(nfs.SRC_TEMPLATE, "web.token", "saveto.html")), m.Option(cli.BACK)), mdb.DEV_RESPONSE)
|
||||||
}},
|
}},
|
||||||
mdb.DEV_RESPONSE: {Help: "确认", Hand: func(m *ice.Message, arg ...string) {
|
mdb.DEV_RESPONSE: {Help: "确认", Hand: func(m *ice.Message, arg ...string) {
|
||||||
if !m.WarnNotAllow(m.Option(ice.MSG_METHOD) != http.MethodPost) {
|
if !m.WarnNotAllow(m.Option(ice.MSG_METHOD) != http.MethodPost) {
|
||||||
@ -52,7 +52,7 @@ func DevTokenAction(name, origin string) ice.Actions {
|
|||||||
}
|
}
|
||||||
}},
|
}},
|
||||||
mdb.DEV_CONFIRM: {Hand: func(m *ice.Message, arg ...string) {
|
mdb.DEV_CONFIRM: {Hand: func(m *ice.Message, arg ...string) {
|
||||||
m.EchoInfoButton(kit.JoinWord(m.ShortKey(), m.Cmdx(nfs.CAT, path.Join(nfs.SRC_TEMPLATE, m.PrefixKey(), "savefrom.html")), m.Option(name)), mdb.DEV_CREATE)
|
m.EchoInfoButton(kit.JoinWord(m.ShortKey(), m.Cmdx(nfs.CAT, path.Join(nfs.SRC_TEMPLATE, "web.token", "savefrom.html")), m.Option(name)), mdb.DEV_CREATE)
|
||||||
}},
|
}},
|
||||||
mdb.DEV_CREATE: {Help: "创建", Hand: func(m *ice.Message, arg ...string) {
|
mdb.DEV_CREATE: {Help: "创建", Hand: func(m *ice.Message, arg ...string) {
|
||||||
if !m.WarnNotAllow(m.Option(ice.MSG_METHOD) != http.MethodPost) {
|
if !m.WarnNotAllow(m.Option(ice.MSG_METHOD) != http.MethodPost) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user