From 813fa8c02fd1937a61baf87c7935f9071334d7c9 Mon Sep 17 00:00:00 2001 From: guzeng Date: Mon, 27 Sep 2021 10:06:10 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E4=BF=A1=E6=81=AF=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0lock=5Ffans=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- user.pb.go | 8 ++++++++ user.proto | 1 + 2 files changed, 9 insertions(+) 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; //锁定 } // 用户登录请求结构