exp

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 AnchorLevelInfo

type AnchorLevelInfo struct {
	Level            int64 `json:"level"`
	NextLevel        int64 `json:"nextLevel"`
	UserExpLeft      int64 `json:"userExpLeft"`
	UserExpRight     int64 `json:"userExpRight"`
	UserExp          int64 `json:"userExp"`
	UserExpNextLevel int64 `json:"userExpNextLevel"`
	Color            int64 `json:"color"`
	UserExpNextLeft  int64 `json:"userExpNextLeft"`
	UserExpNextRight int64 `json:"userExpNextRight"`
	AnchorScore      int64 `json:"anchorScore"`
	IsLevelTop       int64 `json:"isLevelTop"`
}

AnchorLevelInfo 等级基础结构

type Exp

type Exp struct {
	UID   int64
	Uexp  int64
	Rexp  int64
	CTime string
	MTime string
}

Exp 经验DB层

type LevelInfo

type LevelInfo struct {
	UID         int64
	UserLevel   UserLevelInfo
	AnchorLevel AnchorLevelInfo
	CTime       string
	MTime       string
}

LevelInfo 等级结构

type ModelExpList

type ModelExpList struct {
	Data []Exp
}

ModelExpList exp list

type ModelExpLog

type ModelExpLog struct {
	Mid  int64
	Uexp int64
	Rexp int64
	Ts   int64
	// 业务来源
	ReqBizDesc string
	Buvid      string
	// 具体描述
	Content map[string]string
}

ModelExpLog 行为日志上报结构

type UserLevelInfo

type UserLevelInfo struct {
	Level            int64 `json:"level"`
	NextLevel        int64 `json:"nextLevel"`
	UserExpLeft      int64 `json:"userExpLeft"`
	UserExpRight     int64 `json:"userExpRight"`
	UserExp          int64 `json:"userExp"`
	UserExpNextLevel int64 `json:"userExpNextLevel"`
	Color            int64 `json:"color"`
	UserExpNextLeft  int64 `json:"userExpNextLeft"`
	UserExpNextRight int64 `json:"userExpNextRight"`
	IsLevelTop       int64 `json:"isLevelTop"`
}

UserLevelInfo 等级基础结构

Jump to

Keyboard shortcuts

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