diff --git a/user.pb.go b/user.pb.go index 4b6258b..ad39e55 100644 --- a/user.pb.go +++ b/user.pb.go @@ -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"` diff --git a/user.proto b/user.proto index 6563b4a..5ed5b69 100644 --- a/user.proto +++ b/user.proto @@ -39,6 +39,7 @@ message UserResponse { string type = 13;//类型 string third_id = 14; //token对应的third_id string platform = 15; //平台 + string lock_fans = 16; //锁定 } // 用户登录请求结构