model

package
v0.0.0-...-83adff0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Comment

type Comment struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
	TTL     int    `json:"ttl"`
	Data    *struct {
		Page *struct {
			Count int `json:"count"`
			Num   int `json:"num"`
			Size  int `json:"size"`
		}
		Replies []*struct {
			Ctime  int64 `json:"ctime"`
			Member *struct {
				Mid   string `json:"mid"`
				Uname string `json:"uname"`
			} `json:"member"`
		} `json:"replies"`
	} `json:"data"`
}

Comment struct

type Order

type Order struct {
	OrderID      int         `json:"order_id"`
	Ctime        string      `json:"ctime"`
	Mtime        string      `json:"mtime"`
	OrderType    int         `json:"order_type"`
	Source       string      `json:"source"`
	PayMoney     int         `json:"pay_money"`
	TotalMoney   int         `json:"total_money"`
	ExpressFee   int         `json:"express_fee"`
	UID          string      `json:"uid"`
	PersonalID   string      `json:"personal_id"`
	Tel          string      `json:"tel"`
	Status       int         `json:"status"`
	SubStatus    int         `json:"sub_status"`
	RefundStatus int         `json:"refund_status"`
	PayTime      string      `json:"pay_time"`
	Skus         []OrderSkus `json:"skus"`
	ProjectID    int         `json:"project_id"`
	DistUserID   int         `json:"dist_user_id"`
	DistType     int         `json:"dist_type"`
	SendStatus   int         `json:"send_status"`
}

Order struct

type OrderSkus

type OrderSkus struct {
	ProjectID   int    `json:"project_id"`
	ProjectName string `json:"project_name"`
	ScreenID    int    `json:"screen_id"`
	ScreenName  string `json:"screen_name"`
	SkuID       int    `json:"sku_id"`
	Count       int    `json:"count"`
	OriginPrice int    `json:"origin_price"`
	Price       int    `json:"price"`
	TicketType  string `json:"ticket_type"`
	Desc        string `json:"desc"`
}

OrderSkus struct

type PUV

type PUV struct {
	PV int64 `json:"pv"`
	UV int64 `json:"uv"`
}

PUV puv info

type PUVResult

type PUVResult struct {
	PUV
	DaysBefore int32 `json:"days_before"`
}

PUVResult get responce

type Project

type Project struct {
	ID           int32           `json:"id"`
	Name         string          `json:"name"`
	StartTime    int64           `json:"start_time"`
	Type         int             `json:"type"`
	PV           map[int32]int64 `json:"pv"`
	UV           map[int32]int64 `json:"uv"`
	SaleInfo     map[int32]int64 `json:"sale_info"`
	WishInfo     map[int32]int64 `json:"wish_info"`
	CommentInfo  map[int32]int64 `json:"comment_info"`
	FavoriteInfo map[int32]int64 `json:"favorite_info"`
}

Project struct

Jump to

Keyboard shortcuts

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