Documentation ¶
Index ¶
- func CreateArticle(author string, reviewer string, content string, forecast float64, ...) int64
- func DeleteArticle(id int64) int64
- func GetArticleInfoById(id int64, selectFields []string) (*schema.Article, error)
- func GetArticleList(offset, count uint, sort string, filter map[string]interface{}, ...) ([]*schema.Article, error)
- func UpdateArticleField(id int64, data map[string]interface{}) (int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateArticle ¶
func CreateArticle(author string, reviewer string, content string, forecast float64, importance int8, xtype int8, status int8, image_url string, platforms int8) int64
创建 TODO 此处代码自动生成,请删减不必要的字段
func GetArticleInfoById ¶
获取单个
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.