This commit is contained in:
sk 2024-04-16 17:45:24 +08:00
parent bf19adf1d5
commit 6390826abf
14 changed files with 314 additions and 236 deletions

View File

@ -1,5 +1,5 @@
6ж├в├ст├у"║█ю└= 6т├у├ж├в├с├"║█ю└=
.ш├ь├ыз"║█ю└= .з├ш├ь├ы├"║█ю└=
Wз├ш├с├т├ж├ы├у├в├ь" ║█─╜Б Wс├в├ь├ы├ш├т├у├ж├з" ║█─╜Б
]ж├ь├з├ш├э├с├т├у├в├ы"╒█Т ]т├у├ж├ы├з├э├с├в├ь├ш"╒█Т

Binary file not shown.

View File

@ -230,7 +230,7 @@ type CSBagInfo struct {
unknownFields protoimpl.UnknownFields unknownFields protoimpl.UnknownFields
NowLocation int32 `protobuf:"varint,1,opt,name=NowLocation,proto3" json:"NowLocation,omitempty"` //0.通用 1.大厅 2.Tienlen 3.捕鱼 NowLocation int32 `protobuf:"varint,1,opt,name=NowLocation,proto3" json:"NowLocation,omitempty"` //0.通用 1.大厅 2.Tienlen 3.捕鱼
Tp int32 `protobuf:"varint,2,opt,name=Tp,proto3" json:"Tp,omitempty"` // 道具类型 Tp int32 `protobuf:"varint,2,opt,name=Tp,proto3" json:"Tp,omitempty"` // 道具类型,道具表中的道具类型
} }
func (x *CSBagInfo) Reset() { func (x *CSBagInfo) Reset() {

View File

@ -46,7 +46,7 @@ message ItemInfo{
//PACKET_ALL_BAG_INFO //PACKET_ALL_BAG_INFO
message CSBagInfo { message CSBagInfo {
int32 NowLocation = 1;//0. 1. 2.Tienlen 3. int32 NowLocation = 1;//0. 1. 2.Tienlen 3.
int32 Tp = 2;// int32 Tp = 2;//
} }
//PACKET_ALL_BAG_INFO //PACKET_ALL_BAG_INFO
message SCBagInfo { message SCBagInfo {

View File

@ -7683,14 +7683,13 @@ func (x *SCVIPInfo) GetMoneyRatio() int32 {
return 0 return 0
} }
//
// PACKET_SC_SWELFAREINFO // PACKET_SC_SWELFAREINFO
type SCEasyWelfaredInfo struct { type SCEasyWelfaredInfo struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields unknownFields protoimpl.UnknownFields
WelfareSwitch []int32 `protobuf:"varint,1,rep,packed,name=WelfareSwitch,proto3" json:"WelfareSwitch,omitempty"` // 下标 0转盘1盲盒2首冲3连续充值4抽手机活动 1显示 2不显示 WelfareSwitch []int32 `protobuf:"varint,1,rep,packed,name=WelfareSwitch,proto3" json:"WelfareSwitch,omitempty"` // 下标 0转盘1盲盒2首冲3连续充值4抽手机活动5集卡活动 1显示 2不显示
} }
func (x *SCEasyWelfaredInfo) Reset() { func (x *SCEasyWelfaredInfo) Reset() {

View File

@ -996,7 +996,7 @@ message SCVIPInfo {
// //
//PACKET_SC_SWELFAREINFO //PACKET_SC_SWELFAREINFO
message SCEasyWelfaredInfo{ message SCEasyWelfaredInfo{
repeated int32 WelfareSwitch = 1; // 01234 1 2 repeated int32 WelfareSwitch = 1; // 012345 1 2
} }
message CSVIPPrivilegeInfo { message CSVIPPrivilegeInfo {

View File

@ -226,7 +226,7 @@ func (x *SALogin) GetSnid() int32 {
} }
// 加币 // 加币
// [action] /api/mongo.games.com/game/QPAPIAddSubCoinById // [action] /api/game/QPAPIAddSubCoinById
type ASAddCoinById struct { type ASAddCoinById struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache

View File

@ -28,7 +28,7 @@ message SALogin{
} }
// //
// [action] /api/mongo.games.com/game/QPAPIAddSubCoinById // [action] /api/game/QPAPIAddSubCoinById
message ASAddCoinById{ message ASAddCoinById{
string Username = 1; // // string Username = 1; // //
int64 Gold = 2; // int64 Gold = 2; //

View File

@ -234,7 +234,7 @@ func (x *SALogin) GetSnid() int32 {
} }
// 加币 // 加币
// [action] /api/mongo.games.com/game/APIAddCoinById // [action] /api/game/APIAddCoinById
type ASAddCoinById struct { type ASAddCoinById struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
@ -600,7 +600,7 @@ func (x *SAMemberGold) GetData() *PlayerCoinData {
return nil return nil
} }
//校验碰撞游戏Hash /api/mongo.games.com/game/CrashVerifier // 校验碰撞游戏Hash /api/game/CrashVerifier
type ASCrachHash struct { type ASCrachHash struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache

View File

@ -29,7 +29,7 @@ message SALogin{
} }
// //
// [action] /api/mongo.games.com/game/APIAddCoinById // [action] /api/game/APIAddCoinById
message ASAddCoinById{ message ASAddCoinById{
int32 ID = 1;//id int32 ID = 1;//id
int64 Gold = 2;// int64 Gold = 2;//
@ -66,7 +66,7 @@ message SAMemberGold{
PlayerCoinData Data = 3; // PlayerCoinData Data = 3; //
} }
//Hash /api/mongo.games.com/game/CrashVerifier //Hash /api/game/CrashVerifier
message ASCrachHash{ message ASCrachHash{
string Hash = 1;// string Hash = 1;//
int32 Wheel = 2;// int32 Wheel = 2;//

View File

@ -7,9 +7,9 @@
package webapi package webapi
import ( import (
"mongo.games.com/game/protocol/server"
protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
"mongo.games.com/game/protocol/server"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
) )
@ -3206,7 +3206,7 @@ func (x *ExchangeType) GetId() int32 {
return 0 return 0
} }
// etcd /mongo.games.com/game/exchange_shop // etcd /game/exchange_shop
type ExchangeShopList struct { type ExchangeShopList struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
@ -3477,7 +3477,7 @@ func (x *ItemShop) GetFirstSwitch() bool {
return false return false
} }
// etcd /mongo.games.com/game/item_shop // etcd /game/item_shop
type ItemShopList struct { type ItemShopList struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
@ -3900,7 +3900,7 @@ func (x *GameMatchDate) GetOnChannelName() []string {
return nil return nil
} }
// etcd /mongo.games.com/game/game_match // etcd /game/game_match
type GameMatchDateList struct { type GameMatchDateList struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
@ -4129,7 +4129,7 @@ func (x *WelfareTurnplateRate) GetRate() []int32 {
return nil return nil
} }
// etcd /mongo.games.com/game/act_turnplate 转盘 // etcd /game/act_turnplate 转盘
type WelfareTurnplateDateList struct { type WelfareTurnplateDateList struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
@ -4319,7 +4319,7 @@ func (x *Welfare7SignDate) GetAddUpDate() []*AddUpWelfareDate {
return nil return nil
} }
// etcd /mongo.games.com/game/act_7sign 7日签到 // etcd /game/act_7sign 7日签到
type Welfare7SignDateList struct { type Welfare7SignDateList struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
@ -4494,7 +4494,7 @@ func (x *BlindBoxData) GetItem_Id() int32 {
return 0 return 0
} }
// etcd /mongo.games.com/game/act_blindbox 盲盒 // etcd /game/act_blindbox 盲盒
type WelfareBlindBoxDataList struct { type WelfareBlindBoxDataList struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
@ -4669,7 +4669,7 @@ func (x *WelfareSpree) GetDiscount() float64 {
return 0 return 0
} }
// etcd /mongo.games.com/game/act_FirstPay 首充 // etcd /game/act_FirstPay 首充
type WelfareFirstPayDataList struct { type WelfareFirstPayDataList struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
@ -4741,7 +4741,7 @@ func (x *WelfareFirstPayDataList) GetCycle() int32 {
return 0 return 0
} }
// etcd /mongo.games.com/game/act_ContinuousPay 连续充值 // etcd /game/act_ContinuousPay 连续充值
type WelfareContinuousPayDataList struct { type WelfareContinuousPayDataList struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
@ -4988,7 +4988,7 @@ func (x *VIPcfg) GetShopId7() int32 {
return 0 return 0
} }
// etcd /mongo.games.com/game/VIPcfg VIP配置 // etcd /game/VIPcfg VIP配置
type VIPcfgDataList struct { type VIPcfgDataList struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
@ -5559,7 +5559,7 @@ func (x *GameConfig) GetGoodFenCha() int32 {
return 0 return 0
} }
// etcd mongo.games.com/game/act_phoneLottery // etcd /game/act_phoneLottery
type WelfarePhoneLotteryStatus struct { type WelfarePhoneLotteryStatus struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
@ -5615,6 +5615,62 @@ func (x *WelfarePhoneLotteryStatus) GetSwitch() int32 {
return 0 return 0
} }
// etcd /game/act_collect
type WelfareCollectConfig struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Platform string `protobuf:"bytes,1,opt,name=Platform,proto3" json:"Platform,omitempty"`
Switch int32 `protobuf:"varint,2,opt,name=Switch,proto3" json:"Switch,omitempty"` // 1.开启 2.关闭
}
func (x *WelfareCollectConfig) Reset() {
*x = WelfareCollectConfig{}
if protoimpl.UnsafeEnabled {
mi := &file_common_proto_msgTypes[54]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *WelfareCollectConfig) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*WelfareCollectConfig) ProtoMessage() {}
func (x *WelfareCollectConfig) ProtoReflect() protoreflect.Message {
mi := &file_common_proto_msgTypes[54]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use WelfareCollectConfig.ProtoReflect.Descriptor instead.
func (*WelfareCollectConfig) Descriptor() ([]byte, []int) {
return file_common_proto_rawDescGZIP(), []int{54}
}
func (x *WelfareCollectConfig) GetPlatform() string {
if x != nil {
return x.Platform
}
return ""
}
func (x *WelfareCollectConfig) GetSwitch() int32 {
if x != nil {
return x.Switch
}
return 0
}
var File_common_proto protoreflect.FileDescriptor var File_common_proto protoreflect.FileDescriptor
var file_common_proto_rawDesc = []byte{ var file_common_proto_rawDesc = []byte{
@ -6517,8 +6573,12 @@ var file_common_proto_rawDesc = []byte{
0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x53, 0x77, 0x69, 0x74, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x53, 0x77, 0x69, 0x74,
0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68,
0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x3b, 0x77, 0x65, 0x62, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x22, 0x4a, 0x0a, 0x14, 0x57, 0x65, 0x6c, 0x66, 0x61, 0x72, 0x65, 0x43, 0x6f, 0x6c, 0x6c, 0x65,
0x6f, 0x74, 0x6f, 0x33, 0x63, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x50, 0x6c, 0x61, 0x74,
0x66, 0x6f, 0x72, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x50, 0x6c, 0x61, 0x74,
0x66, 0x6f, 0x72, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x18, 0x02,
0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x42, 0x0a, 0x5a, 0x08,
0x2e, 0x3b, 0x77, 0x65, 0x62, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
} }
var ( var (
@ -6533,7 +6593,7 @@ func file_common_proto_rawDescGZIP() []byte {
return file_common_proto_rawDescData return file_common_proto_rawDescData
} }
var file_common_proto_msgTypes = make([]protoimpl.MessageInfo, 59) var file_common_proto_msgTypes = make([]protoimpl.MessageInfo, 60)
var file_common_proto_goTypes = []interface{}{ var file_common_proto_goTypes = []interface{}{
(*MysqlDbSetting)(nil), // 0: pb.MysqlDbSetting (*MysqlDbSetting)(nil), // 0: pb.MysqlDbSetting
(*MongoDbSetting)(nil), // 1: pb.MongoDbSetting (*MongoDbSetting)(nil), // 1: pb.MongoDbSetting
@ -6589,31 +6649,32 @@ var file_common_proto_goTypes = []interface{}{
(*PlayerPool)(nil), // 51: pb.PlayerPool (*PlayerPool)(nil), // 51: pb.PlayerPool
(*GameConfig)(nil), // 52: pb.GameConfig (*GameConfig)(nil), // 52: pb.GameConfig
(*WelfarePhoneLotteryStatus)(nil), // 53: pb.WelfarePhoneLotteryStatus (*WelfarePhoneLotteryStatus)(nil), // 53: pb.WelfarePhoneLotteryStatus
nil, // 54: pb.Platform.BindTelRewardEntry (*WelfareCollectConfig)(nil), // 54: pb.WelfareCollectConfig
nil, // 55: pb.PlayerData.RankScoreEntry nil, // 55: pb.Platform.BindTelRewardEntry
nil, // 56: pb.ItemShop.AwardEntry nil, // 56: pb.PlayerData.RankScoreEntry
nil, // 57: pb.VIPcfg.AwardEntry nil, // 57: pb.ItemShop.AwardEntry
nil, // 58: pb.VIPcfg.Privilege7Entry nil, // 58: pb.VIPcfg.AwardEntry
(*server.DB_GameFree)(nil), // 59: pbdata.DB_GameFree nil, // 59: pb.VIPcfg.Privilege7Entry
(*server.DB_GameFree)(nil), // 60: pbdata.DB_GameFree
} }
var file_common_proto_depIdxs = []int32{ var file_common_proto_depIdxs = []int32{
2, // 0: pb.Platform.Leaderboard:type_name -> pb.RankSwitch 2, // 0: pb.Platform.Leaderboard:type_name -> pb.RankSwitch
3, // 1: pb.Platform.ClubConfig:type_name -> pb.ClubConfig 3, // 1: pb.Platform.ClubConfig:type_name -> pb.ClubConfig
4, // 2: pb.Platform.ThirdGameMerchant:type_name -> pb.ThirdGame 4, // 2: pb.Platform.ThirdGameMerchant:type_name -> pb.ThirdGame
54, // 3: pb.Platform.BindTelReward:type_name -> pb.Platform.BindTelRewardEntry 55, // 3: pb.Platform.BindTelReward:type_name -> pb.Platform.BindTelRewardEntry
6, // 4: pb.GameConfigGlobal.GameStatus:type_name -> pb.GameStatus 6, // 4: pb.GameConfigGlobal.GameStatus:type_name -> pb.GameStatus
59, // 5: pb.GameFree.DbGameFree:type_name -> pbdata.DB_GameFree 60, // 5: pb.GameFree.DbGameFree:type_name -> pbdata.DB_GameFree
8, // 6: pb.PlatformGameConfig.DbGameFrees:type_name -> pb.GameFree 8, // 6: pb.PlatformGameConfig.DbGameFrees:type_name -> pb.GameFree
0, // 7: pb.PlatformDbConfig.Mysql:type_name -> pb.MysqlDbSetting 0, // 7: pb.PlatformDbConfig.Mysql:type_name -> pb.MysqlDbSetting
1, // 8: pb.PlatformDbConfig.MongoDb:type_name -> pb.MongoDbSetting 1, // 8: pb.PlatformDbConfig.MongoDb:type_name -> pb.MongoDbSetting
1, // 9: pb.PlatformDbConfig.MongoDbLog:type_name -> pb.MongoDbSetting 1, // 9: pb.PlatformDbConfig.MongoDbLog:type_name -> pb.MongoDbSetting
59, // 10: pb.GameConfigGroup.DbGameFree:type_name -> pbdata.DB_GameFree 60, // 10: pb.GameConfigGroup.DbGameFree:type_name -> pbdata.DB_GameFree
55, // 11: pb.PlayerData.RankScore:type_name -> pb.PlayerData.RankScoreEntry 56, // 11: pb.PlayerData.RankScore:type_name -> pb.PlayerData.RankScoreEntry
20, // 12: pb.OnlineReport.GameCount:type_name -> pb.OnlineGameCnt 20, // 12: pb.OnlineReport.GameCount:type_name -> pb.OnlineGameCnt
22, // 13: pb.CommonNoticeList.List:type_name -> pb.CommonNotice 22, // 13: pb.CommonNoticeList.List:type_name -> pb.CommonNotice
25, // 14: pb.ExchangeShop.ExType:type_name -> pb.ExchangeType 25, // 14: pb.ExchangeShop.ExType:type_name -> pb.ExchangeType
24, // 15: pb.ExchangeShopList.List:type_name -> pb.ExchangeShop 24, // 15: pb.ExchangeShopList.List:type_name -> pb.ExchangeShop
56, // 16: pb.ItemShop.Award:type_name -> pb.ItemShop.AwardEntry 57, // 16: pb.ItemShop.Award:type_name -> pb.ItemShop.AwardEntry
27, // 17: pb.ItemShopList.List:type_name -> pb.ItemShop 27, // 17: pb.ItemShopList.List:type_name -> pb.ItemShop
29, // 18: pb.MatchInfoAward.ItemId:type_name -> pb.ItemInfo 29, // 18: pb.MatchInfoAward.ItemId:type_name -> pb.ItemInfo
30, // 19: pb.GameMatchDate.Award:type_name -> pb.MatchInfoAward 30, // 19: pb.GameMatchDate.Award:type_name -> pb.MatchInfoAward
@ -6630,8 +6691,8 @@ var file_common_proto_depIdxs = []int32{
33, // 30: pb.WelfareSpree.Item:type_name -> pb.WelfareDate 33, // 30: pb.WelfareSpree.Item:type_name -> pb.WelfareDate
42, // 31: pb.WelfareFirstPayDataList.List:type_name -> pb.WelfareSpree 42, // 31: pb.WelfareFirstPayDataList.List:type_name -> pb.WelfareSpree
42, // 32: pb.WelfareContinuousPayDataList.List:type_name -> pb.WelfareSpree 42, // 32: pb.WelfareContinuousPayDataList.List:type_name -> pb.WelfareSpree
57, // 33: pb.VIPcfg.Award:type_name -> pb.VIPcfg.AwardEntry 58, // 33: pb.VIPcfg.Award:type_name -> pb.VIPcfg.AwardEntry
58, // 34: pb.VIPcfg.Privilege7:type_name -> pb.VIPcfg.Privilege7Entry 59, // 34: pb.VIPcfg.Privilege7:type_name -> pb.VIPcfg.Privilege7Entry
45, // 35: pb.VIPcfgDataList.List:type_name -> pb.VIPcfg 45, // 35: pb.VIPcfgDataList.List:type_name -> pb.VIPcfg
33, // 36: pb.ChessRankConfig.Item:type_name -> pb.WelfareDate 33, // 36: pb.ChessRankConfig.Item:type_name -> pb.WelfareDate
49, // 37: pb.ChessRankcfgData.Datas:type_name -> pb.ChessRankConfig 49, // 37: pb.ChessRankcfgData.Datas:type_name -> pb.ChessRankConfig
@ -7297,6 +7358,18 @@ func file_common_proto_init() {
return nil return nil
} }
} }
file_common_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*WelfareCollectConfig); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
} }
type x struct{} type x struct{}
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
@ -7304,7 +7377,7 @@ func file_common_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_common_proto_rawDesc, RawDescriptor: file_common_proto_rawDesc,
NumEnums: 0, NumEnums: 0,
NumMessages: 59, NumMessages: 60,
NumExtensions: 0, NumExtensions: 0,
NumServices: 0, NumServices: 0,
}, },

View File

@ -362,7 +362,7 @@ message ExchangeType{
int32 Id = 4; // int32 Id = 4; //
} }
// etcd /mongo.games.com/game/exchange_shop // etcd /game/exchange_shop
message ExchangeShopList{ message ExchangeShopList{
repeated ExchangeShop List = 1; repeated ExchangeShop List = 1;
string Platform = 2; string Platform = 2;
@ -393,7 +393,7 @@ message ItemShop {
bool FirstSwitch = 22; // bool FirstSwitch = 22; //
} }
// etcd /mongo.games.com/game/item_shop // etcd /game/item_shop
message ItemShopList{ message ItemShopList{
repeated ItemShop List = 1; repeated ItemShop List = 1;
string Platform = 2; string Platform = 2;
@ -441,7 +441,7 @@ message GameMatchDate {
repeated string OnChannelName = 23; // repeated string OnChannelName = 23; //
} }
// etcd /mongo.games.com/game/game_match // etcd /game/game_match
message GameMatchDateList{ message GameMatchDateList{
repeated GameMatchDate List = 1; repeated GameMatchDate List = 1;
string Platform = 2; string Platform = 2;
@ -464,7 +464,7 @@ message WelfareTurnplateRate {
repeated int32 Rate = 1; // repeated int32 Rate = 1; //
} }
// etcd /mongo.games.com/game/act_turnplate // etcd /game/act_turnplate
message WelfareTurnplateDateList{ message WelfareTurnplateDateList{
repeated WelfareTurnplateDate List = 1; // repeated WelfareTurnplateDate List = 1; //
repeated WelfareTurnplateRate RateList = 2; // repeated WelfareTurnplateRate RateList = 2; //
@ -484,7 +484,7 @@ message Welfare7SignDate {
} }
// etcd /mongo.games.com/game/act_7sign 7 // etcd /game/act_7sign 7
message Welfare7SignDateList{ message Welfare7SignDateList{
repeated Welfare7SignDate List = 1; // repeated Welfare7SignDate List = 1; //
string Platform = 2; string Platform = 2;
@ -503,7 +503,7 @@ message BlindBoxData {
int32 Item_Id = 9; // id int32 Item_Id = 9; // id
} }
// etcd /mongo.games.com/game/act_blindbox // etcd /game/act_blindbox
message WelfareBlindBoxDataList{ message WelfareBlindBoxDataList{
repeated BlindBoxData List = 1; // repeated BlindBoxData List = 1; //
string Platform = 2; string Platform = 2;
@ -522,7 +522,7 @@ message WelfareSpree {
double Discount = 8; // double Discount = 8; //
} }
// etcd /mongo.games.com/game/act_FirstPay // etcd /game/act_FirstPay
message WelfareFirstPayDataList{ message WelfareFirstPayDataList{
repeated WelfareSpree List = 1; repeated WelfareSpree List = 1;
string Platform = 2; string Platform = 2;
@ -530,7 +530,7 @@ message WelfareFirstPayDataList{
int32 Cycle = 4; // 1. 2. int32 Cycle = 4; // 1. 2.
} }
// etcd /mongo.games.com/game/act_ContinuousPay // etcd /game/act_ContinuousPay
message WelfareContinuousPayDataList{ message WelfareContinuousPayDataList{
repeated WelfareSpree List = 1; // repeated WelfareSpree List = 1; //
string Platform = 2; string Platform = 2;
@ -558,7 +558,7 @@ message VIPcfg {
int32 ShopId7 = 16; int32 ShopId7 = 16;
} }
// etcd /mongo.games.com/game/VIPcfg VIP配置 // etcd /game/VIPcfg VIP配置
message VIPcfgDataList{ message VIPcfgDataList{
repeated VIPcfg List = 1; // VIP配置 repeated VIPcfg List = 1; // VIP配置
string Platform = 2; string Platform = 2;
@ -618,8 +618,14 @@ message GameConfig {
int32 GoodFenCha = 7; // int32 GoodFenCha = 7; //
} }
// etcd mongo.games.com/game/act_phoneLottery // etcd /game/act_phoneLottery
message WelfarePhoneLotteryStatus{ message WelfarePhoneLotteryStatus{
string Platform = 1; string Platform = 1;
int32 Switch = 2; // 1. 2. int32 Switch = 2; // 1. 2.
} }
// etcd /game/act_collect
message WelfareCollectConfig{
string Platform = 1;
int32 Switch = 2; // 1. 2.
}

View File

@ -1000,7 +1000,7 @@ func (x *SAUpdateGameConfigGroup) GetMsg() string {
// ///////////////////////////////////////////////////////////////////////////////////// // /////////////////////////////////////////////////////////////////////////////////////
// 加币 // 加币
// [action] /api/mongo.games.com/game/AddCoinById // [action] /api/game/AddCoinById
type ASAddCoinById struct { type ASAddCoinById struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
@ -1185,7 +1185,7 @@ func (x *SAAddCoinById) GetMsg() string {
} }
// 重置水池 // 重置水池
// [action] /api/mongo.games.com/game/ResetGamePool // [action] /api/game/ResetGamePool
type ASResetGamePool struct { type ASResetGamePool struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
@ -1329,7 +1329,7 @@ func (x *SAResetGamePool) GetMsg() string {
} }
// 更新水池 // 更新水池
// [action] /api/mongo.games.com/game/UpdateGamePool // [action] /api/game/UpdateGamePool
type ASUpdateGamePool struct { type ASUpdateGamePool struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
@ -1492,7 +1492,7 @@ func (x *SAUpdateGamePool) GetMsg() string {
// ResetTime // ResetTime
// ////////////////////////////////////////////////// // //////////////////////////////////////////////////
// 查询水池gameid // 查询水池gameid
// [action] /api/mongo.games.com/game/QueryGamePoolByGameId // [action] /api/game/QueryGamePoolByGameId
type ASQueryGamePoolByGameId struct { type ASQueryGamePoolByGameId struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
@ -1628,7 +1628,7 @@ func (x *SAQueryGamePoolByGameId) GetCoinPoolSetting() []*CoinPoolSetting {
} }
// 查询水池 // 查询水池
// [action] /api/mongo.games.com/game/QueryAllGamePool // [action] /api/game/QueryAllGamePool
type ASQueryAllGamePool struct { type ASQueryAllGamePool struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
@ -2258,7 +2258,7 @@ func (x *SADestroyRoom) GetMsg() string {
} }
// 单控 // 单控
// [action] /api/mongo.games.com/game/SinglePlayerAdjust // [action] /api/game/SinglePlayerAdjust
// PACKET_WG_SINGLEADJUST // PACKET_WG_SINGLEADJUST
type ASSinglePlayerAdjust struct { type ASSinglePlayerAdjust struct {
state protoimpl.MessageState state protoimpl.MessageState
@ -3861,7 +3861,7 @@ func (x *SABlackBySnId) GetMsg() string {
} }
// 邮件 // 邮件
// [action] /api/mongo.games.com/game/CreateShortMessage // [action] /api/game/CreateShortMessage
type ASCreateShortMessage struct { type ASCreateShortMessage struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
@ -4036,7 +4036,7 @@ func (x *SACreateShortMessage) GetMsg() string {
return "" return ""
} }
// [action] /api/mongo.games.com/game/QueryShortMessageList // [action] /api/game/QueryShortMessageList
type ASQueryShortMessageList struct { type ASQueryShortMessageList struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
@ -4203,7 +4203,7 @@ func (x *SAQueryShortMessageList) GetMessageInfo() []*MessageInfo {
return nil return nil
} }
// [action] /api/mongo.games.com/game/DeleteShortMessage // [action] /api/game/DeleteShortMessage
type ASDeleteShortMessage struct { type ASDeleteShortMessage struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
@ -5290,7 +5290,7 @@ func (x *SAOnlineReportTotal) GetOnlineReport() *OnlineReport {
// ///////////////////////////////////////////////////////////////////////////////////// // /////////////////////////////////////////////////////////////////////////////////////
// 加币 // 加币
// [action] /api/mongo.games.com/game/AddCoinByIdAndPT // [action] /api/game/AddCoinByIdAndPT
type ASAddCoinByIdAndPT struct { type ASAddCoinByIdAndPT struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
@ -5522,7 +5522,7 @@ func (x *JybInfoAward) GetDiamond() int64 {
} }
// 生成兑换码 // 生成兑换码
// [action] /api/mongo.games.com/game/CreateJYB // [action] /api/game/CreateJYB
type ASCreateJYB struct { type ASCreateJYB struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
@ -5707,7 +5707,7 @@ func (x *SACreateJYB) GetMsg() string {
} }
// 操作兑换码 删除 修改 // 操作兑换码 删除 修改
// [action] /api/mongo.games.com/game/UpdateJYB // [action] /api/game/UpdateJYB
type ASUpdateJYB struct { type ASUpdateJYB struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
@ -7618,7 +7618,7 @@ func (x *SACallbackPayment) GetMsg() string {
return "" return ""
} }
// 资源更新通知 [/api/mongo.games.com/game/resource] // 资源更新通知 [/api/game/resource]
type ASResource struct { type ASResource struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache

View File

@ -163,7 +163,7 @@ message SAUpdateGameConfigGroup {
} }
/////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////
// //
// [action] /api/mongo.games.com/game/AddCoinById // [action] /api/game/AddCoinById
message ASAddCoinById{ message ASAddCoinById{
int32 ID = 1;//id int32 ID = 1;//id
int64 Gold = 2;// int64 Gold = 2;//
@ -183,7 +183,7 @@ message SAAddCoinById {
string Msg = 2; //() string Msg = 2; //()
} }
// //
// [action] /api/mongo.games.com/game/ResetGamePool // [action] /api/game/ResetGamePool
message ASResetGamePool{ message ASResetGamePool{
int32 GameFreeId = 1; int32 GameFreeId = 1;
string Platform = 2; string Platform = 2;
@ -197,7 +197,7 @@ message SAResetGamePool{
string Msg = 2; //() string Msg = 2; //()
} }
// //
// [action] /api/mongo.games.com/game/UpdateGamePool // [action] /api/game/UpdateGamePool
message ASUpdateGamePool{ message ASUpdateGamePool{
int32 GameFreeId = 1; int32 GameFreeId = 1;
string Platform = 2; string Platform = 2;
@ -237,7 +237,7 @@ message SAUpdateGamePool{
//ResetTime //ResetTime
//////////////////////////////////////////////////// ////////////////////////////////////////////////////
//gameid //gameid
// [action] /api/mongo.games.com/game/QueryGamePoolByGameId // [action] /api/game/QueryGamePoolByGameId
message ASQueryGamePoolByGameId{ message ASQueryGamePoolByGameId{
int32 GameId = 1; int32 GameId = 1;
int32 GameMode = 2; int32 GameMode = 2;
@ -250,7 +250,7 @@ message SAQueryGamePoolByGameId{
repeated pb.CoinPoolSetting CoinPoolSetting = 3; repeated pb.CoinPoolSetting CoinPoolSetting = 3;
} }
// //
// [action] /api/mongo.games.com/game/QueryAllGamePool // [action] /api/game/QueryAllGamePool
message ASQueryAllGamePool{ message ASQueryAllGamePool{
int32 PageNo = 1; int32 PageNo = 1;
int32 PageSize = 2; int32 PageSize = 2;
@ -309,7 +309,7 @@ message SADestroyRoom{
string Msg = 2; //() string Msg = 2; //()
} }
// //
// [action] /api/mongo.games.com/game/SinglePlayerAdjust // [action] /api/game/SinglePlayerAdjust
//PACKET_WG_SINGLEADJUST //PACKET_WG_SINGLEADJUST
message ASSinglePlayerAdjust{ message ASSinglePlayerAdjust{
int32 Opration = 1;//1.add 2.edit 3.del 4. int32 Opration = 1;//1.add 2.edit 3.del 4.
@ -455,7 +455,7 @@ message SABlackBySnId{
string Msg = 2; //() string Msg = 2; //()
} }
// //
// [action] /api/mongo.games.com/game/CreateShortMessage // [action] /api/game/CreateShortMessage
message ASCreateShortMessage{ message ASCreateShortMessage{
string NoticeTitle = 1; string NoticeTitle = 1;
string NoticeContent = 2; string NoticeContent = 2;
@ -472,7 +472,7 @@ message SACreateShortMessage{
TagCode Tag = 1; // TagCode Tag = 1; //
string Msg = 2; //() string Msg = 2; //()
} }
// [action] /api/mongo.games.com/game/QueryShortMessageList // [action] /api/game/QueryShortMessageList
message ASQueryShortMessageList{ message ASQueryShortMessageList{
int64 StartTime = 1; int64 StartTime = 1;
int64 EndTime = 2; int64 EndTime = 2;
@ -488,7 +488,7 @@ message SAQueryShortMessageList{
int32 Count = 3; int32 Count = 3;
repeated pb.MessageInfo MessageInfo = 4; repeated pb.MessageInfo MessageInfo = 4;
} }
// [action] /api/mongo.games.com/game/DeleteShortMessage // [action] /api/game/DeleteShortMessage
message ASDeleteShortMessage{ message ASDeleteShortMessage{
string Id = 1; string Id = 1;
string Platform = 2; string Platform = 2;
@ -589,7 +589,7 @@ message SAOnlineReportTotal{
} }
/////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////
// //
// [action] /api/mongo.games.com/game/AddCoinByIdAndPT // [action] /api/game/AddCoinByIdAndPT
message ASAddCoinByIdAndPT{ message ASAddCoinByIdAndPT{
int32 ID = 1;//id int32 ID = 1;//id
string Platform = 2;// string Platform = 2;//
@ -615,7 +615,7 @@ message JybInfoAward {
} }
// //
// [action] /api/mongo.games.com/game/CreateJYB // [action] /api/game/CreateJYB
message ASCreateJYB { message ASCreateJYB {
string Platform = 1; // string Platform = 1; //
string Name = 2; // string Name = 2; //
@ -636,7 +636,7 @@ message SACreateJYB {
} }
// //
// [action] /api/mongo.games.com/game/UpdateJYB // [action] /api/game/UpdateJYB
message ASUpdateJYB { message ASUpdateJYB {
string Platform = 1; // string Platform = 1; //
string JYBID = 2; // ID string JYBID = 2; // ID
@ -824,7 +824,7 @@ message SACallbackPayment{
string Msg = 2; //() string Msg = 2; //()
} }
// [/api/mongo.games.com/game/resource] // [/api/game/resource]
message ASResource{ message ASResource{
string Msg = 1; // string Msg = 1; //
} }