bnj

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

Documentation

Index

Constants

View Source
const (
	RewardTypePendant = "pendant"
	RewardTypeCoupon  = "coupon"
)

RewardTypes .

Variables

This section is empty.

Functions

This section is empty.

Types

type Info

type Info struct {
	Nav      string   `json:"nav"`
	Pic      string   `json:"pic"`
	H5Pic    string   `json:"h5_pic"`
	Arc      *api.Arc `json:"arc"`
	Detail   string   `json:"detail"`
	H5Detail string   `json:"h5_detail"`
}

Info .

type PreviewInfo

type PreviewInfo struct {
	ActID           int64   `json:"act_id"`
	SubID           int64   `json:"sub_id"`
	Info            []*Info `json:"info"`
	TimelinePic     string  `json:"timeline_pic"`
	H5TimelinePic   string  `json:"h5_timeline_pic"`
	GameCancel      int64   `json:"game_cancel"`
	RewardStep      []int64 `json:"reward_step"`
	HasRewardFirst  int     `json:"has_reward_first"`
	HasRewardSecond int     `json:"has_reward_second"`
}

PreviewInfo .

type ResetMsg

type ResetMsg struct {
	Mid int64 `json:"mid"`
	Ts  int64 `json:"ts"`
}

ResetMsg .

type Reward

type Reward struct {
	Step       int
	Condition  int64
	RewardID   string
	RewardType string
	Expire     int64
}

Reward .

type Timeline

type Timeline struct {
	TimelinePic   string `json:"timeline_pic"`
	H5TimelinePic string `json:"h5_timeline_pic"`
	GameCancel    int64  `json:"game_cancel"`
	LikeCount     int64  `json:"like_count"`
}

Timeline .

Jump to

Keyboard shortcuts

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