diff --git a/protocol/webapi/common.proto b/protocol/webapi/common.proto index 3a131bd..c295b7e 100644 --- a/protocol/webapi/common.proto +++ b/protocol/webapi/common.proto @@ -658,4 +658,19 @@ message ChannelSwitchConfig{ int32 Tp = 1; // 开关类型 1.兑换 2.道具掉落 string Platform = 2; // 平台id repeated string OnChannelName = 3; // 开启渠道 +} + +message RankAward{ + int64 Start = 1; // 开始积分 + int64 End = 2; // 结束积分 + int64 Num = 3; // 奖励 +} + +// etcd /game/act_invite +message ActInviteConfig { + int64 BindScore = 1; // 绑定积分 + int64 RechargeScore = 2; // 充值积分,一个玩家最多给上级贡献一次 + map PayScore = 3; // 充值积分;充值金额:获得积分 + repeated RankAward Awards = 4; // 周榜奖励列表 + repeated int64 Rates = 5; // 返佣比例;多级按顺序给 } \ No newline at end of file diff --git a/protocol/welfare/welfare.proto b/protocol/welfare/welfare.proto index 0ac6416..425dbba 100644 --- a/protocol/welfare/welfare.proto +++ b/protocol/welfare/welfare.proto @@ -246,6 +246,13 @@ message SCWelfareRelief{ // 邀请信息 // PACKET_CSInviteInfo message CSInviteInfo{} + +message RankAward{ + int64 Start = 1; // 开始积分 + int64 End = 2; // 结束积分 + int64 Num = 3; // 奖励 +} + // PACKET_SCInviteInfo message SCInviteInfo{ int32 Num = 1; // 邀请人数 @@ -253,6 +260,11 @@ message SCInviteInfo{ string InviteUrl = 3; // 邀请链接 int64 Score = 4; // 邀请积分 string OtherCode = 5; // 已绑定的邀请码 + int64 BindScore = 6; // 绑定积分 + int64 RechargeScore = 7; // 充值积分,一个玩家最多给上级贡献一次 + map PayScore = 8; // 充值积分;充值金额:获得积分 + repeated RankAward Awards = 9; // 周榜奖励列表 + repeated int64 Rates = 10; // 返佣比例;多级按顺序给 } // 绑定邀请人