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

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddExp

type AddExp struct {
	Event string `json:"event,omitempty"`
	Mid   int64  `json:"mid,omitempty"`
	IP    string `json:"ip,omitempty"`
	Ts    int64  `json:"ts,omitempty"`
}

AddExp databus add exp arg.

type CoinSettle

type CoinSettle struct {
	ITime     time.Time `json:"itime"`
	CTime     time.Time `json:"ctime"`
	MTime     time.Time `json:"mtime"`
	ID        int64     `json:"id"`
	Mid       int64     `json:"mid"`
	Aid       int64     `json:"aid"`
	AvType    int64     `json:"avtype"`
	CoinCount int64     `json:"coin_count"`
	ExpTotal  int64     `json:"exp_total"`
	ExpSub    int64     `json:"exp_sub"`
	State     int       `json:"state"`
	Describe  string    `json:"describe"`
}

CoinSettle coin settle.

type CoinSettlePeriod

type CoinSettlePeriod struct {
	ID        int64     `json:"id"`
	FromYear  int       `json:"from_year"`
	FromMonth int       `json:"from_month"`
	FromDay   int       `json:"from_day"`
	ToYear    int       `json:"to_year"`
	ToMonth   int       `json:"to_month"`
	ToDay     int       `json:"to_day"`
	CTime     time.Time `json:"ctime"`
	MTime     time.Time `json:"mtime"`
}

CoinSettlePeriod coin settle conf.

type DatabusCoin

type DatabusCoin struct {
	Mid   int64   `json:"mid"`
	Money float32 `money:"money"`
	Mtime string  `json:"modify_time"`
}

DatabusCoin databus coin msg.

type LoginLog

type LoginLog struct {
	Mid       int64  `json:"mid,omitempty"`
	IP        string `json:"ip,omitempty"`
	CTime     string `json:"ctime"`
	Action    string `json:"action"`
	Business  int    `json:"business"`
	Type      int    `json:"type"`
	RawData   string
	Timestamp int64
}

LoginLog user login log.

type Message

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

Message binlog databus msg.

type UserCoin

type UserCoin struct {
	Mid   int64     `json:"mid"`
	Money float32   `money:"money"`
	Mtime time.Time `json:"mtime"`
}

UserCoin dede_member user coin.

Jump to

Keyboard shortcuts

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