Browse Source

用户信息增加lock_fans字段

master v0.7.3
guzeng 3 years ago
parent
commit
813fa8c02f
2 changed files with 9 additions and 0 deletions
  1. +8
    -0
      user.pb.go
  2. +1
    -0
      user.proto

+ 8
- 0
user.pb.go View File

@ -152,6 +152,7 @@ type UserResponse struct {
Type *string `protobuf:"bytes,13,opt,name=type" json:"type,omitempty"`
ThirdId *string `protobuf:"bytes,14,opt,name=third_id" json:"third_id,omitempty"`
Platform *string `protobuf:"bytes,15,opt,name=platform" json:"platform,omitempty"`
LockFans *string `protobuf:"bytes,16,opt,name=lock_fans" json:"lock_fans,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
@ -264,6 +265,13 @@ func (m *UserResponse) GetPlatform() string {
return ""
}
func (m *UserResponse) GetLockFans() string {
if m != nil && m.LockFans != nil {
return *m.LockFans
}
return ""
}
// 用户登录请求结构
type LoginRequest struct {
Dbname *string `protobuf:"bytes,1,opt,name=dbname" json:"dbname,omitempty"`


+ 1
- 0
user.proto View File

@ -39,6 +39,7 @@ message UserResponse {
string type = 13;//
string third_id = 14; //token对应的third_id
string platform = 15; //
string lock_fans = 16; //
}
//


Loading…
Cancel
Save