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: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// OwnerInstall is_activated=1.
	OwnerInstall = 1
	// OwnerUninstall is_activated=0.
	OwnerUninstall = 0
)
View Source
const (
	AccountNotifyUpdatePendant = "updatePendant"
	AccountNotifyUpdateMedal   = "updateMedal"
)

const

View Source
const (
	TimeFormatSec = "2006-01-02 15:04:05"
)

const .

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountNotify

type AccountNotify struct {
	UID    int64  `json:"mid"`
	Type   string `json:"type"`
	Action string `json:"action"`
}

AccountNotify .

type MedalGroup

type MedalGroup struct {
	GID      int64
	Name     string `json:"group_name"`
	PID      int64  `json:"parent_gid"`
	Rank     int8   `json:"group_rank"`
	IsOnline int8   `json:"is_online"`
	IsDel    int8
	Ctime    xtime.Time
	Mtime    string `json:"modify_time"`
}

MedalGroup struct .

type MedalInfo

type MedalInfo struct {
	NID         int64
	GID         int64
	Name        string
	Description string
	Image       string `json:"image"`
	ImageSmall  string `json:"image_small"`
	Condition   string
	Level       int8
	LevelRank   string `json:"level_rank"`
	Sort        int8
	IsOnline    int8 `json:"is_online"`
	CTime       xtime.Time
	MTime       string `json:"modify_time"`
}

MedalInfo struct .

type MedalOwner

type MedalOwner struct {
	ID          int64
	MID         int64
	NID         int64
	IsActivated int8 `json:"is_activated"`
	Ctime       int64
	Mtime       string `json:"modify_time"`
}

MedalOwner struct db bus trans.

type Message

type Message struct {
	Action string          `json:"action"`
	Table  string          `json:"table"`
	New    json.RawMessage `json:"new"`
	Old    json.RawMessage `json:"old"`
}

Message is simple message struct info.

type PGTransHistory

type PGTransHistory struct {
	ID             int64
	Mid            int64
	OperatorName   string
	OperatorTime   int64
	OperatorAction string
	OperatorType   int32
	Mtime          string
}

PGTransHistory pendant grant history

type PTransHistory

type PTransHistory struct {
	ID           int64  `json:"id"`
	Mid          int64  `json:"mid"`
	OrderID      string `json:"order_id"`
	PayID        string `json:"pay_id"`
	AppID        int64  `json:"appid"`
	Status       int32  `json:"status"`
	Pid          int64  `json:"pid"`
	TimeLength   int64  `json:"time_length"`
	Cost         string `json:"cost"`
	BuyTime      int64  `json:"buy_time"`
	IsCallback   int32  `json:"is_callback"`
	CallbackTime int64  `json:"callback_time"`
	Mtime        string `json:"modify_time"`
}

PTransHistory pendant trans pendant info

type PTransStatus

type PTransStatus struct {
	ID          int64  `json:"id"`
	Mid         int64  `json:"mid"`
	Pid         int64  `json:"pid"`
	Expire      int64  `json:"expire"`
	IsActivated int64  `json:"is_activated"`
	Mtime       string `json:"modify_time"`
}

PTransStatus pendant history

type PendantEquip

type PendantEquip struct {
	Mid     int64
	Pid     int64
	Expires int64
}

PendantEquip .

type PendantGroupTrans

type PendantGroupTrans struct {
	Gid        int64
	GroupName  string
	Rank       string
	GroupImage string
	IsOnline   int32
	ModifyTime string
}

PendantGroupTrans pendant group pendant

type PendantPriceTrans

type PendantPriceTrans struct {
	ID     int64
	Pid    int64
	Ecode  string
	Price  int64
	Active int32
	Ctime  string
	Mtime  string
}

PendantPriceTrans pendantPrice

type PendantTrans

type PendantTrans struct {
	Pid           int64
	Name          string
	Image         string
	ImageModel    string
	DisplayExpire int64
	Gid           int64
	Rank          int32
	IsOnline      int32
	ModifyTime    string
}

PendantTrans pendant trans

type UpInfo

type UpInfo struct {
	Code int            `json:"code"`
	Data []*UpInfoGroup `json:"results"`
}

UpInfo .

type UpInfoGroup

type UpInfoGroup struct {
	ID   int64   `json:"id"`
	Desc string  `json:"desc"`
	Mids []int64 `json:"mids"`
}

UpInfoGroup .

type VipInfoMessage

type VipInfoMessage struct {
	Mid            int64  `json:"mid"`
	VipType        int8   `json:"vip_type"`
	VipPayType     int8   `json:"vip_pay_type"`
	VipStatus      int8   `json:"vip_status"`
	VipOverdueTime string `json:"vip_overdue_time"`
}

VipInfoMessage .

Jump to

Keyboard shortcuts

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