mirror of
https://shylinux.com/x/enterprise
synced 2025-04-25 17:18:06 +08:00
15 lines
359 B
Go
15 lines
359 B
Go
package guanlixitong
|
|
|
|
import "shylinux.com/x/ice"
|
|
|
|
type document 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 document) List(m *ice.Message, arg ...string) { s.ValueList(m, arg) }
|
|
|
|
func init() { ice.TeamCtxCmd(document{}) }
|