123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- package msg
- import "leafstalk/covenant/model"
- // 上报邀请好友
- type InviteFriend struct {
- PlayerId int64 `json:"userId"`
- Invitee int64 `json:"invitee"` //被邀请者
- // ClientPlat string `json:"clientPlat"`
- }
- // 发放被邀请奖励
- type SendInviteeReward struct {
- AccId int64 `json:"accId"`
- }
- // InviteProcess 邀请进度查看
- type InviteProcess struct {
- PlayerId int64 `json:"userId"`
- }
- type ResponseInviteProcess struct {
- ErrCode int `json:"errCode"`
- Msg string `json:"msg,omitempty"`
- Data *InviteProcessData `json:"data"`
- }
- type InviteProcessData struct {
- InviteNum int64 `json:"inviteNum"`
- Reward int64 `json:"reward"` //已领取奖励最大ID
- }
- // 领取奖励
- type InviteProcessReward struct {
- PlayerId int64 `json:"userId"`
- Reward int64 `json:"reward"` //取奖励最大ID
- }
- type ResponseInviteProcessReward struct {
- ErrCode int `json:"errCode"`
- Msg string `json:"msg,omitempty"`
- Data *InviteProcessRewardData `json:"data"`
- }
- type InviteProcessRewardData struct {
- Bundles model.DropedBundle `json:"bundles"`
- Reward int64 `json:"reward"` //取奖励最大ID
- }
|