generated from VLADIMIR/template
add security
This commit is contained in:
+24
-6
@@ -3860,6 +3860,7 @@ func (x *GiveTeamApplicationsRsp) GetError() string {
|
||||
type GetTeamActionsReq struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
@@ -3901,6 +3902,13 @@ func (x *GetTeamActionsReq) GetId() int64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *GetTeamActionsReq) GetPassword() string {
|
||||
if x != nil {
|
||||
return x.Password
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type GetTeamActionsRsp struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
|
||||
@@ -3956,7 +3964,8 @@ func (x *GetTeamActionsRsp) GetPlaces() []*Place {
|
||||
type AddTeamActionReq struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
|
||||
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
|
||||
Code string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
@@ -3998,6 +4007,13 @@ func (x *AddTeamActionReq) GetId() int64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *AddTeamActionReq) GetPassword() string {
|
||||
if x != nil {
|
||||
return x.Password
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *AddTeamActionReq) GetCode() string {
|
||||
if x != nil {
|
||||
return x.Code
|
||||
@@ -4284,15 +4300,17 @@ const file_main_proto_rawDesc = "" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04name\x18\x02 \x01(\tR\x04name\"/\n" +
|
||||
"\x17GiveTeamApplicationsRsp\x12\x14\n" +
|
||||
"\x05error\x18\x01 \x01(\tR\x05error\"#\n" +
|
||||
"\x05error\x18\x01 \x01(\tR\x05error\"?\n" +
|
||||
"\x11GetTeamActionsReq\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\"h\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x1a\n" +
|
||||
"\bpassword\x18\x02 \x01(\tR\bpassword\"h\n" +
|
||||
"\x11GetTeamActionsRsp\x12\x14\n" +
|
||||
"\x05error\x18\x01 \x01(\tR\x05error\x12=\n" +
|
||||
"\x06places\x18\x02 \x03(\v2%.crabs.evening_detective_server.PlaceR\x06places\"6\n" +
|
||||
"\x06places\x18\x02 \x03(\v2%.crabs.evening_detective_server.PlaceR\x06places\"R\n" +
|
||||
"\x10AddTeamActionReq\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04code\x18\x02 \x01(\tR\x04code\"(\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x1a\n" +
|
||||
"\bpassword\x18\x02 \x01(\tR\bpassword\x12\x12\n" +
|
||||
"\x04code\x18\x03 \x01(\tR\x04code\"(\n" +
|
||||
"\x10AddTeamActionRsp\x12\x14\n" +
|
||||
"\x05error\x18\x01 \x01(\tR\x05error2\x98<\n" +
|
||||
"\x16EveningDetectiveServer\x12\xa6\x01\n" +
|
||||
|
||||
Reference in New Issue
Block a user