1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- package msg
- import "leafstalk/covenant/model"
- type UserShareData struct {
- LaunchReward int `json:"launchReward"` //0:今日未领 1:今日已领
- ShareNum int64 `json:"shareNum"` // 今日已分享次数
- AddToDesk int `json:"addToDesk"` // 0:未添加 1:已添加
- }
- // DayLaunch 每日启动游戏
- type DayLaunch struct {
- PlayerId int64 `json:"userId"`
- ClientPlat string `json:"clientPlat"` //wx:微信 tt:抖音
- }
- type ResponseDayLaunch struct {
- ErrCode int `json:"errCode"`
- Msg string `json:"msg,omitempty"`
- Data *model.DropedBundle `json:"data"`
- }
- // VideoShare 视频分享
- type VideoShare struct {
- PlayerId int64 `json:"userId"`
- ClientPlat string `json:"clientPlat"` //wx:微信 tt:抖音
- }
- type ResponseVideoShare struct {
- ErrCode int `json:"errCode"`
- Msg string `json:"msg,omitempty"`
- Data *VideoShareData `json:"data"`
- }
- type VideoShareData struct {
- ShareNum int64 `json:"shareNum"` // 今日已分享次数
- Bundles *model.DropedBundle `json:"bundles"`
- }
- // AddToDesk 添加到桌面
- type AddToDesk struct {
- PlayerId int64 `json:"userId"`
- ClientPlat string `json:"clientPlat"` //wx:微信 tt:抖音
- }
- type ResponseAddToDesk struct {
- ErrCode int `json:"errCode"`
- Msg string `json:"msg,omitempty"`
- Data *model.DropedBundle `json:"data"`
- }
|