Documentation ¶
Index ¶
- type Service
- func (s *Service) AllowWhiteCategory(mid int64, p *appMdl.PortalMeta) (ret bool)
- func (s *Service) BlockIntros(build int, platStr string) (res map[string]string)
- func (s *Service) Close()
- func (s *Service) H5Page() (res *conf.H5Page)
- func (s *Service) Icons() (res *conf.AppIcon)
- func (s *Service) Ping(c context.Context) (err error)
- func (s *Service) Portals(c context.Context, mid int64, artAuthor, build, ty int, plat string, ...) (pts []*appMdl.Portal, err error)
- func (s *Service) TopMsg(c context.Context, mid int64, build int, os, app, ak, ck, ip string) (data []*msgDML.Message, err error)
- func (s *Service) UploadMaterial(c context.Context, aid int64, editors []*appMdl.Editor) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
PortalIntro, PortalNotice []*appDML.PortalMeta
CameraCfg map[string]interface{}
// contains filtered or unexported fields
}
Service struct.
func (*Service) AllowWhiteCategory ¶
func (s *Service) AllowWhiteCategory(mid int64, p *appMdl.PortalMeta) (ret bool)
AllowWhiteCategory fn
func (*Service) BlockIntros ¶
BlockIntros fn
func (*Service) Portals ¶
func (s *Service) Portals(c context.Context, mid int64, artAuthor, build, ty int, plat string, resMdlPlat int8) (pts []*appMdl.Portal, err error)
Portals for app portal config.
Click to show internal directories.
Click to hide internal directories.