content

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2021 License: GPL-2.0 Imports: 4 Imported by: 0

Documentation

Overview

*

  • Copyright 2015 @ 56x.net.
  • name : article
  • author : jarryliu
  • date : 2016-06-27 15:57
  • description :
  • history :

*

  • Copyright 2015 @ 56x.net.
  • name : content
  • author : jarryliu
  • date : -- :
  • description :
  • history :

*

  • Copyright 2015 @ 56x.net.
  • name : pag
  • author : jarryliu
  • date : -- :
  • description :
  • history :

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCategory

func NewCategory(v *content.ArticleCategory, m *articleManagerImpl,
	rep content.IContentRepo) content.ICategory

func NewContent

func NewContent(userId int64, rep content.IContentRepo) content.IContent

Types

type Content

type Content struct {
	// contains filtered or unexported fields
}

func (*Content) ArticleManager

func (c *Content) ArticleManager() content.IArticleManager

文章服务

func (*Content) CreatePage

func (c *Content) CreatePage(v *content.Page) content.IPage

创建页面

func (*Content) DeletePage

func (c *Content) DeletePage(id int32) error

删除页面

func (*Content) GetAggregateRootId

func (c *Content) GetAggregateRootId() int

获取聚合根编号

func (*Content) GetPage

func (c *Content) GetPage(id int32) content.IPage

获取页面

func (*Content) GetPageByStringIndent

func (c *Content) GetPageByStringIndent(indent string) content.IPage

根据字符串标识获取页面

Jump to

Keyboard shortcuts

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