上传用户登录pb文件
This commit is contained in:
parent
04032ba2c9
commit
8889722da8
@ -140,8 +140,8 @@ type DBUser struct {
|
||||
CurSkin string `protobuf:"bytes,34,opt,name=curSkin,proto3" json:"curSkin" bson:"curSkin"` //默认皮肤
|
||||
CurAction string `protobuf:"bytes,35,opt,name=curAction,proto3" json:"curAction" bson:"curAction"` //默认动作
|
||||
CurBg string `protobuf:"bytes,36,opt,name=curBg,proto3" json:"curBg" bson:"curBg"` //默认背景
|
||||
Area string `protobuf:"bytes,37,opt,name=area,proto3" json:"area"` //@go_tags(`bson:"area"`)区域
|
||||
Channel string `protobuf:"bytes,38,opt,name=channel,proto3" json:"channel"` //@go_tags(`bson:"channel"`)渠道
|
||||
Area int32 `protobuf:"varint,37,opt,name=area,proto3" json:"area"` //@go_tags(`bson:"area"`)区域
|
||||
Channel int32 `protobuf:"varint,38,opt,name=channel,proto3" json:"channel"` //@go_tags(`bson:"channel"`)渠道
|
||||
Vcode int32 `protobuf:"varint,39,opt,name=vcode,proto3" json:"vcode"` //@go_tags(`bson:"vcode"`)版本号
|
||||
Vname string `protobuf:"bytes,40,opt,name=vname,proto3" json:"vname"` //@go_tags(`bson:"vname"`)版本名
|
||||
}
|
||||
@ -430,18 +430,18 @@ func (x *DBUser) GetCurBg() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *DBUser) GetArea() string {
|
||||
func (x *DBUser) GetArea() int32 {
|
||||
if x != nil {
|
||||
return x.Area
|
||||
}
|
||||
return ""
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *DBUser) GetChannel() string {
|
||||
func (x *DBUser) GetChannel() int32 {
|
||||
if x != nil {
|
||||
return x.Channel
|
||||
}
|
||||
return ""
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *DBUser) GetVcode() int32 {
|
||||
@ -775,9 +775,9 @@ var file_user_user_db_proto_rawDesc = []byte{
|
||||
0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x23, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x75,
|
||||
0x72, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x75, 0x72, 0x42, 0x67,
|
||||
0x18, 0x24, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x75, 0x72, 0x42, 0x67, 0x12, 0x12, 0x0a,
|
||||
0x04, 0x61, 0x72, 0x65, 0x61, 0x18, 0x25, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x72, 0x65,
|
||||
0x04, 0x61, 0x72, 0x65, 0x61, 0x18, 0x25, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x61, 0x72, 0x65,
|
||||
0x61, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x18, 0x26, 0x20, 0x01,
|
||||
0x28, 0x09, 0x52, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x76,
|
||||
0x28, 0x05, 0x52, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x76,
|
||||
0x63, 0x6f, 0x64, 0x65, 0x18, 0x27, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x63, 0x6f, 0x64,
|
||||
0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x28, 0x20, 0x01, 0x28, 0x09,
|
||||
0x52, 0x05, 0x76, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xc7, 0x02, 0x0a, 0x0d, 0x44, 0x42, 0x55, 0x73,
|
||||
|
@ -26,12 +26,12 @@ type UserLoginReq struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account"` //账号
|
||||
Sid string `protobuf:"bytes,2,opt,name=sid,proto3" json:"sid"` //区服编号
|
||||
Area string `protobuf:"bytes,3,opt,name=area,proto3" json:"area"` //区域
|
||||
Channel string `protobuf:"bytes,4,opt,name=channel,proto3" json:"channel"` //渠道
|
||||
Vcode int32 `protobuf:"varint,5,opt,name=vcode,proto3" json:"vcode"` //版本号
|
||||
Vname string `protobuf:"bytes,6,opt,name=vname,proto3" json:"vname"` //版本名
|
||||
Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account"` //账号
|
||||
Sid string `protobuf:"bytes,2,opt,name=sid,proto3" json:"sid"` //区服编号
|
||||
Area int32 `protobuf:"varint,3,opt,name=area,proto3" json:"area"` //区域
|
||||
Channel int32 `protobuf:"varint,4,opt,name=channel,proto3" json:"channel"` //渠道
|
||||
Vcode int32 `protobuf:"varint,5,opt,name=vcode,proto3" json:"vcode"` //版本号
|
||||
Vname string `protobuf:"bytes,6,opt,name=vname,proto3" json:"vname"` //版本名
|
||||
}
|
||||
|
||||
func (x *UserLoginReq) Reset() {
|
||||
@ -80,18 +80,18 @@ func (x *UserLoginReq) GetSid() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *UserLoginReq) GetArea() string {
|
||||
func (x *UserLoginReq) GetArea() int32 {
|
||||
if x != nil {
|
||||
return x.Area
|
||||
}
|
||||
return ""
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *UserLoginReq) GetChannel() string {
|
||||
func (x *UserLoginReq) GetChannel() int32 {
|
||||
if x != nil {
|
||||
return x.Channel
|
||||
}
|
||||
return ""
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *UserLoginReq) GetVcode() int32 {
|
||||
@ -3052,9 +3052,9 @@ var file_user_user_msg_proto_rawDesc = []byte{
|
||||
0x69, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12,
|
||||
0x10, 0x0a, 0x03, 0x73, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x69,
|
||||
0x64, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72, 0x65, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x64, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72, 0x65, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52,
|
||||
0x04, 0x61, 0x72, 0x65, 0x61, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c,
|
||||
0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12,
|
||||
0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12,
|
||||
0x14, 0x0a, 0x05, 0x76, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05,
|
||||
0x76, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x65, 0x0a, 0x0d, 0x55,
|
||||
|
Loading…
Reference in New Issue
Block a user