operation

package
v0.0.0-...-4a0720b Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RESTYPE1  uint32 = iota //普通场抽成
	RESTYPE2                //普通场打牌
	RESTYPE3                //比赛场
	RESTYPE4                //私人局
	RESTYPE5                //破产
	RESTYPE6                //充值
	RESTYPE7                //签到
	RESTYPE8                //Vip
	RESTYPE9                //邮件
	RESTYPE10               //购买
	RESTYPE11               //兑换
	RESTYPE12               //排行榜
	RESTYPE13               //活动领奖
	RESTYPE14               //排行榜
	RESTYPE15               //任务
)

获取、扣除渠道

Variables

This section is empty.

Functions

func AddNotice

func AddNotice(c echo.Context) error

func CardRecode

func CardRecode(c echo.Context) error

func Consume

func Consume(c echo.Context) error

玩家资源消耗日志

func GetChargeOrder

func GetChargeOrder(c echo.Context) error

下单记录

func GetNotice

func GetNotice(c echo.Context) error

func GetTransition

func GetTransition(c echo.Context) error

交易记录

func IssueProps

func IssueProps(c echo.Context) error

func IssuePropsList

func IssuePropsList(c echo.Context) error

func LoginRecord

func LoginRecord(c echo.Context) error

func MatchRecord

func MatchRecord(c echo.Context) error

获取比赛场记录

func NormalRecord

func NormalRecord(c echo.Context) error

获取金币场牌局记录

func Postbox

func Postbox(c echo.Context) error

func PrivateRecord

func PrivateRecord(c echo.Context) error

获取私人局记录

func RoomCreateRecord

func RoomCreateRecord(c echo.Context) error

Types

type CardRecodeStr

type CardRecodeStr struct {
	Value uint32
	Seat  uint32
	Card  uint32
}

type ConsumeData

type ConsumeData struct {
	Userid   string //玩家ID
	Kind     uint32 //道具、货币种类
	Time     uint32 //变动时间
	Channel  uint32 //获取、扣除渠道
	Residual uint32 //剩余量
	Count    int32  // 变数量
}

type DataRoom

type DataRoom struct {
	Id            uint32 //房间ID
	Rtype         uint32 //房间类型
	Rname         string //房间名字
	Cid           uint32 //圈子id
	Expire        uint32 //牌局设定的过期时间
	Updownji      uint32 //是否有上下鸡
	Invitecode    string //房间邀请码
	Create_userid string //房间创建人
	Status        uint32 //
	RoundTotal    uint32 // 总牌局数
	Started       bool   //牌局是否已经开始
	Ante          uint32 //私人房底分
	Payment       uint32 //付费方式1=AA or 0=房主支付
	CTime         uint32 //创建时间
}

type DataUserActive

type DataUserActive struct {
	Userid   string //用户账号id
	Nickname string
	Address  string
	//Network  string //网络运营商
	IP     uint32
	Time   uint32 // 时间戳
	Action uint32 // 1:上线,2:下线
	Device string // 设备型号
}

type IssuePropsRecord

type IssuePropsRecord struct {
	AdminID    string
	Count      uint32
	WidgetType uint32 //
	UserID     string
	Desc       string
	Time       uint32
}

func GetIssuePropsList

func GetIssuePropsList(offset, limit int) ([]*IssuePropsRecord, int64, error)

func (*IssuePropsRecord) Save

func (this *IssuePropsRecord) Save() error

Jump to

Keyboard shortcuts

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