zd

package
v0.0.0-...-a619a86 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 25, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type XtZd

type XtZd struct {
	Id    GUID
	Mc    string
	Uri   string
	Qz    int
	Bz    string
	Items []ZdItem
}

func NewXtZd

func NewXtZd() (m XtZd)

func (XtZd) GetDmByJc

func (p XtZd) GetDmByJc(jc string) string

func (XtZd) GetDmByMc

func (p XtZd) GetDmByMc(mc string) string

func (XtZd) GetItemByDm

func (p XtZd) GetItemByDm(dm string) (ZdItem, bool)

func (XtZd) GetItemByJc

func (p XtZd) GetItemByJc(jc string) (ZdItem, bool)

func (XtZd) GetItemByMc

func (p XtZd) GetItemByMc(mc string) (ZdItem, bool)

func (XtZd) GetJcByDm

func (p XtZd) GetJcByDm(dm string) string

func (XtZd) GetMc

func (p XtZd) GetMc() string

func (XtZd) GetMcByDm

func (p XtZd) GetMcByDm(dm string) string

func (XtZd) GetQz

func (p XtZd) GetQz() int

func (XtZd) GetUri

func (p XtZd) GetUri() string

type XtZdVm

type XtZdVm struct {
	Id  GUID
	Mc  string
	Uri string
	Qz  int
	Bz  string
}

type ZdCtx

type ZdCtx struct {
	*orm.Orm `di:"*"`
}

func (*ZdCtx) All

func (c *ZdCtx) All() (lst []XtZd)

func (*ZdCtx) GetZd

func (c *ZdCtx) GetZd(id GUID) (m XtZd)

type ZdItem

type ZdItem struct {
	Dm string
	Mc string
	Jc string
	Qz int //小于0,表示不可见
	Bz string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL