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 MsgCanal

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

MsgCanal canal message struct

type PointHistory

type PointHistory struct {
	ID           int64     `json:"id"`
	Mid          int64     `json:"mid"`
	Point        int64     `json:"point"`
	OrderID      string    `json:"orderID"`
	ChangeType   int       `json:"changeType"`
	ChangeTime   time.Time `json:"changeTime"`
	RelationID   string    `json:"relationID"`
	PointBalance int64     `json:"pointBalance"`
	Remark       string    `json:"remark"`
	Operator     string    `json:"operator"`
}

PointHistory point history

type PointInfo

type PointInfo struct {
	Mid          int64 `protobuf:"varint,1,opt,name=Mid,proto3" json:"mid"`
	PointBalance int64 `protobuf:"varint,2,opt,name=PointBalance,proto3" json:"pointBalance"`
	Ver          int64 `protobuf:"varint,3,opt,name=Ver,proto3" json:"ver"`
}

PointInfo def.

type VipPoint

type VipPoint struct {
	ID           int64 `json:"id"`
	Mid          int64 `json:"mid"`
	PointBalance int64 `json:"point_balance"`
	Ver          int64 `json:"ver"`
}

VipPoint vip_point table

type VipPointChangeHistory

type VipPointChangeHistory struct {
	ID           int64     `json:"id"`
	Mid          int64     `json:"mid"`
	Point        int64     `json:"point"`
	OrderID      string    `json:"order_id"`
	ChangeType   int8      `json:"change_type"`
	ChangeTime   time.Time `json:"change_time"`
	RelationID   string    `json:"relation_id"`
	PointBalance int64     `json:"point_balance"`
	Remark       string    `json:"remark"`
	Operator     string    `json:"operator"`
}

VipPointChangeHistory vip_point_change_history table

type VipPointChangeHistoryMsg

type VipPointChangeHistoryMsg struct {
	ID           int64  `json:"id"`
	Mid          int64  `json:"mid"`
	Point        int64  `json:"point"`
	OrderID      string `json:"order_id"`
	ChangeType   int8   `json:"change_type"`
	ChangeTime   string `json:"change_time"`
	RelationID   string `json:"relation_id"`
	PointBalance int64  `json:"point_balance"`
	Remark       string `json:"remark"`
	Operator     string `json:"operator"`
}

VipPointChangeHistoryMsg get databus json data

Jump to

Keyboard shortcuts

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