|
@ -69,6 +69,7 @@ type UserResponse struct { |
|
|
IsVip *string `protobuf:"bytes,10,opt,name=is_vip" json:"is_vip,omitempty"` |
|
|
IsVip *string `protobuf:"bytes,10,opt,name=is_vip" json:"is_vip,omitempty"` |
|
|
Usercode *string `protobuf:"bytes,11,opt,name=usercode" json:"usercode,omitempty"` |
|
|
Usercode *string `protobuf:"bytes,11,opt,name=usercode" json:"usercode,omitempty"` |
|
|
GroupId *string `protobuf:"bytes,12,opt,name=group_id" json:"group_id,omitempty"` |
|
|
GroupId *string `protobuf:"bytes,12,opt,name=group_id" json:"group_id,omitempty"` |
|
|
|
|
|
Type *string `protobuf:"bytes,13,opt,name=type" json:"type,omitempty"` |
|
|
XXX_unrecognized []byte `json:"-"` |
|
|
XXX_unrecognized []byte `json:"-"` |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -160,6 +161,13 @@ func (m *UserResponse) GetGroupId() string { |
|
|
return "" |
|
|
return "" |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
func (m *UserResponse) GetType() string { |
|
|
|
|
|
if m != nil && m.Type != nil { |
|
|
|
|
|
return *m.Type |
|
|
|
|
|
} |
|
|
|
|
|
return "" |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
// 用户登录请求结构
|
|
|
// 用户登录请求结构
|
|
|
type LoginRequest struct { |
|
|
type LoginRequest struct { |
|
|
Dbname *string `protobuf:"bytes,1,opt,name=dbname" json:"dbname,omitempty"` |
|
|
Dbname *string `protobuf:"bytes,1,opt,name=dbname" json:"dbname,omitempty"` |
|
@ -208,6 +216,7 @@ type LoginResponse struct { |
|
|
Token *string `protobuf:"bytes,11,opt,name=token" json:"token,omitempty"` |
|
|
Token *string `protobuf:"bytes,11,opt,name=token" json:"token,omitempty"` |
|
|
Usercode *string `protobuf:"bytes,12,opt,name=usercode" json:"usercode,omitempty"` |
|
|
Usercode *string `protobuf:"bytes,12,opt,name=usercode" json:"usercode,omitempty"` |
|
|
GroupId *string `protobuf:"bytes,13,opt,name=group_id" json:"group_id,omitempty"` |
|
|
GroupId *string `protobuf:"bytes,13,opt,name=group_id" json:"group_id,omitempty"` |
|
|
|
|
|
Type *string `protobuf:"bytes,14,opt,name=type" json:"type,omitempty"` |
|
|
XXX_unrecognized []byte `json:"-"` |
|
|
XXX_unrecognized []byte `json:"-"` |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -306,6 +315,13 @@ func (m *LoginResponse) GetGroupId() string { |
|
|
return "" |
|
|
return "" |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
func (m *LoginResponse) GetType() string { |
|
|
|
|
|
if m != nil && m.Type != nil { |
|
|
|
|
|
return *m.Type |
|
|
|
|
|
} |
|
|
|
|
|
return "" |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
func init() { |
|
|
func init() { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|