Browse Source

update

master
jaydan 2 months ago
parent
commit
07eaca7237
  1. 8
      configure/v1/configure.pb.go
  2. 2
      configure/v1/configure.proto
  3. 8
      gateway/v1/configure/configure.pb.go
  4. 2
      gateway/v1/configure/configure.proto
  5. 2
      gateway/v1/configure/configure.swagger.json
  6. 2
      gateway/v1/configure/configure.swagger.yaml

8
configure/v1/configure.pb.go

@ -158,7 +158,7 @@ type BaseConfigure struct {
// 直播规范
LiveBroadcastSpecification string `protobuf:"bytes,23,opt,name=live_broadcast_specification,json=liveBroadcastSpecification,proto3" json:"live_broadcast_specification"`
// 盲盒礼物是否直接送
BlindBoxGiftIsDirectSend string `protobuf:"bytes,24,opt,name=blind_box_gift_is_direct_send,json=blindBoxGiftIsDirectSend,proto3" json:"blind_box_gift_is_direct_send"`
BlindBoxGiftIsDirectSend bool `protobuf:"varint,24,opt,name=blind_box_gift_is_direct_send,json=blindBoxGiftIsDirectSend,proto3" json:"blind_box_gift_is_direct_send"`
}
func (x *BaseConfigure) Reset() {
@ -354,11 +354,11 @@ func (x *BaseConfigure) GetLiveBroadcastSpecification() string {
return ""
}
func (x *BaseConfigure) GetBlindBoxGiftIsDirectSend() string {
func (x *BaseConfigure) GetBlindBoxGiftIsDirectSend() bool {
if x != nil {
return x.BlindBoxGiftIsDirectSend
}
return ""
return false
}
type PKConfigure struct {
@ -2129,7 +2129,7 @@ var file_configure_v1_configure_proto_rawDesc = []byte{
0x74, 0x53, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3f,
0x0a, 0x1d, 0x62, 0x6c, 0x69, 0x6e, 0x64, 0x5f, 0x62, 0x6f, 0x78, 0x5f, 0x67, 0x69, 0x66, 0x74,
0x5f, 0x69, 0x73, 0x5f, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x5f, 0x73, 0x65, 0x6e, 0x64, 0x18,
0x18, 0x20, 0x01, 0x28, 0x09, 0x52, 0x18, 0x62, 0x6c, 0x69, 0x6e, 0x64, 0x42, 0x6f, 0x78, 0x47,
0x18, 0x20, 0x01, 0x28, 0x08, 0x52, 0x18, 0x62, 0x6c, 0x69, 0x6e, 0x64, 0x42, 0x6f, 0x78, 0x47,
0x69, 0x66, 0x74, 0x49, 0x73, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x53, 0x65, 0x6e, 0x64, 0x22,
0xaf, 0x0a, 0x0a, 0x0b, 0x50, 0x4b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x12,
0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12,

2
configure/v1/configure.proto

@ -98,7 +98,7 @@ message BaseConfigure {
//
string live_broadcast_specification = 23;
//
string blind_box_gift_is_direct_send = 24;
bool blind_box_gift_is_direct_send = 24;
}
message PKConfigure {

8
gateway/v1/configure/configure.pb.go

@ -56,7 +56,7 @@ type GetConfigureResp struct {
// 直播规范
LiveBroadcastSpecification string `protobuf:"bytes,15,opt,name=live_broadcast_specification,json=liveBroadcastSpecification,proto3" json:"live_broadcast_specification"`
// 盲盒礼物是否直接送
BlindBoxGiftIsDirectSend string `protobuf:"bytes,16,opt,name=blind_box_gift_is_direct_send,json=blindBoxGiftIsDirectSend,proto3" json:"blind_box_gift_is_direct_send"`
BlindBoxGiftIsDirectSend bool `protobuf:"varint,16,opt,name=blind_box_gift_is_direct_send,json=blindBoxGiftIsDirectSend,proto3" json:"blind_box_gift_is_direct_send"`
}
func (x *GetConfigureResp) Reset() {
@ -196,11 +196,11 @@ func (x *GetConfigureResp) GetLiveBroadcastSpecification() string {
return ""
}
func (x *GetConfigureResp) GetBlindBoxGiftIsDirectSend() string {
func (x *GetConfigureResp) GetBlindBoxGiftIsDirectSend() bool {
if x != nil {
return x.BlindBoxGiftIsDirectSend
}
return ""
return false
}
type QueryRoomSystemNoticeResp struct {
@ -461,7 +461,7 @@ var file_gateway_v1_configure_configure_proto_rawDesc = []byte{
0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3f, 0x0a, 0x1d, 0x62,
0x6c, 0x69, 0x6e, 0x64, 0x5f, 0x62, 0x6f, 0x78, 0x5f, 0x67, 0x69, 0x66, 0x74, 0x5f, 0x69, 0x73,
0x5f, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x5f, 0x73, 0x65, 0x6e, 0x64, 0x18, 0x10, 0x20, 0x01,
0x28, 0x09, 0x52, 0x18, 0x62, 0x6c, 0x69, 0x6e, 0x64, 0x42, 0x6f, 0x78, 0x47, 0x69, 0x66, 0x74,
0x28, 0x08, 0x52, 0x18, 0x62, 0x6c, 0x69, 0x6e, 0x64, 0x42, 0x6f, 0x78, 0x47, 0x69, 0x66, 0x74,
0x49, 0x73, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x53, 0x65, 0x6e, 0x64, 0x22, 0x49, 0x0a, 0x19,
0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x6f, 0x6f, 0x6d, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x4e,
0x6f, 0x74, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2c, 0x0a, 0x12, 0x73, 0x79, 0x73,

2
gateway/v1/configure/configure.proto

@ -60,7 +60,7 @@ message GetConfigureResp {
//
string live_broadcast_specification = 15;
//
string blind_box_gift_is_direct_send = 16;
bool blind_box_gift_is_direct_send = 16;
}
message QueryRoomSystemNoticeResp {

2
gateway/v1/configure/configure.swagger.json

@ -210,7 +210,7 @@
"title": "直播规范"
},
"blind_box_gift_is_direct_send": {
"type": "string",
"type": "boolean",
"title": "盲盒礼物是否直接送"
}
}

2
gateway/v1/configure/configure.swagger.yaml

@ -100,7 +100,7 @@ definitions:
type: string
title: 主播协议
blind_box_gift_is_direct_send:
type: string
type: boolean
title: 盲盒礼物是否直接送
cancel_notice:
type: string

Loading…
Cancel
Save