mirror of
https://shylinux.com/x/icebergs
synced 2025-04-26 01:24:05 +08:00
opt some
This commit is contained in:
parent
a17a4fce6e
commit
c625ff88a3
@ -63,8 +63,8 @@ func init() {
|
||||
}, Commands: map[string]*ice.Command{
|
||||
TASK: {Name: "task zone id auto insert export import", Help: "任务", Action: ice.MergeAction(map[string]*ice.Action{
|
||||
mdb.INSERT: {Name: "insert zone type=once,step,week name text begin_time@date close_time@date", Help: "添加", Hand: func(m *ice.Message, arg ...string) {
|
||||
m.Cmdy(mdb.INSERT, m.PrefixKey(), "", mdb.HASH, m.OptionSimple(mdb.ZONE))
|
||||
m.Cmdy(mdb.INSERT, m.PrefixKey(), "", mdb.ZONE, m.Option(mdb.ZONE),
|
||||
m.Cmdy(mdb.INSERT, m.Prefix(TASK), "", mdb.HASH, m.OptionSimple(mdb.ZONE))
|
||||
m.Cmdy(mdb.INSERT, m.Prefix(TASK), "", mdb.ZONE, m.Option(mdb.ZONE),
|
||||
BEGIN_TIME, m.Time(), CLOSE_TIME, m.Time("30m"),
|
||||
STATUS, PREPARE, LEVEL, 3, SCORE, 3, arg)
|
||||
m.ProcessRefresh30ms()
|
||||
|
@ -130,6 +130,7 @@ func init() {
|
||||
switch m.Option(cli.CMD_DIR, m.Option(nfs.DIR_ROOT)); kit.Ext(arg[1]) {
|
||||
case code.GO:
|
||||
_spide_go(m, arg[1])
|
||||
case code.JS:
|
||||
default:
|
||||
_spide_c(m, arg[1])
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user