model

package
v0.0.0-...-cf99d25 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2020 License: GPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SmzdmArticle

type SmzdmArticle struct {
	Id         int64  `json:"article_id" xorm:"pk"`
	Title      string `json:"article_title"`
	Time       time.Time
	TimeSort   int64  `json:"article_timesort" xorm:"-"`
	Price      string `json:"article_price"`
	Unworthy   int    `json:"article_unworthy"`
	Worthy     int    `json:"article_worthy"`
	Collection int    `json:"article_collection"`
	Comment    int    `json:"article_comment"`
	Content    string `json:"article_content"`
	URL        string `json:"article_url"`
	PicURL     string `json:"article_pic_url"`
	Mall       string `json:"article_mall"`
	Link       string `json:"article_link"`
}

SmzdmArticle smzdm Article

func (SmzdmArticle) MarshalJSON

func (a SmzdmArticle) MarshalJSON() ([]byte, error)

MarshalJSON Marshaler interface

type SmzdmArticlePage

type SmzdmArticlePage struct {
	ArticleList []SmzdmArticle `json:"article_list"`
}

SmzdmArticlePage smzdm Article page

type SmzdmArticlePaged

type SmzdmArticlePaged struct {
	Rows  []SmzdmArticle `json:"rows"`
	Total int64          `json:"total"`
}

SmzdmArticlePaged Smzdm Article Paged

Jump to

Keyboard shortcuts

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