mirror of
https://shylinux.com/x/enterprise
synced 2025-04-25 17:18:06 +08:00
15 lines
362 B
Go
15 lines
362 B
Go
package guanlixitong
|
|
|
|
import "shylinux.com/x/ice"
|
|
|
|
type inventory struct {
|
|
Table
|
|
fields string `data:"title,content,user_uid"`
|
|
create string `name:"create title* content*" role:"leader"`
|
|
remove string `name:"remove" role:"leader"`
|
|
}
|
|
|
|
func (s inventory) List(m *ice.Message, arg ...string) { s.ValueList(m, arg) }
|
|
|
|
func init() { ice.TeamCtxCmd(inventory{}) }
|