You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
3561 lines
111 KiB
3561 lines
111 KiB
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.6
|
|
// protoc v7.34.1
|
|
// source: user/user_msg.proto
|
|
|
|
package pb
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
unsafe "unsafe"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
// 登录请求
|
|
type UserSginReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Stype SginTyoe `protobuf:"varint,1,opt,name=stype,proto3,enum=SginTyoe" json:"stype" example:"0"` //@go_tags(`json:"stype" example:"0" description:"登录方式“`) 登录方式
|
|
Mail string `protobuf:"bytes,2,opt,name=mail,proto3" json:"mail" example:"" description:"邮箱地址"` //@go_tags(`json:"mail" example:"" description:"邮箱地址"`) 邮箱地址
|
|
Phone string `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone" example:""` //@go_tags(`json:"phone" example:"" description:"手机号码“`) 手机号
|
|
Ttoken string `protobuf:"bytes,4,opt,name=ttoken,proto3" json:"ttoken" example:"" description:"第三方token"` //@go_tags(`json:"ttoken" example:"" description:"第三方token"`) 第三方token
|
|
Vcode string `protobuf:"bytes,5,opt,name=vcode,proto3" json:"vcode" example:"" description:"验证码"` //@go_tags(`json:"vcode" example:"" description:"验证码"`) 验证码
|
|
Phonemodel string `protobuf:"bytes,10,opt,name=phonemodel,proto3" json:"phonemodel" example:"" description:"设备型号"` //@go_tags(`json:"phonemodel" example:"" description:"设备型号"`) 手机型号
|
|
Phonemac string `protobuf:"bytes,11,opt,name=phonemac,proto3" json:"phonemac" example:"" description:"手机硬件id"` //@go_tags(`json:"phonemac" example:"" description:"手机硬件id"`) 手机硬件id
|
|
Name string `protobuf:"bytes,20,opt,name=name,proto3" json:"name" gorm:"name:50" example:"" description:"用户名"` //@go_tags(`gorm:"name:50" json:"name" example:"" description:"用户名"`) 用户名
|
|
Avatar string `protobuf:"bytes,21,opt,name=avatar,proto3" json:"avatar" gorm:"avatar" example:"" description:"头像连接"` //@go_tags(`gorm:"avatar" json:"avatar" example:"" description:"头像连接"`) 头像连接
|
|
Language string `protobuf:"bytes,22,opt,name=language,proto3" json:"language" example:"en" description:"语言"` //@go_tags(`json:"language" example:"en" description:"语言"`)
|
|
Channel UserChannel `protobuf:"varint,23,opt,name=channel,proto3,enum=UserChannel" json:"channel,omitempty"` //渠道
|
|
Version string `protobuf:"bytes,24,opt,name=version,proto3" json:"version,omitempty"` //版本号
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserSginReq) Reset() {
|
|
*x = UserSginReq{}
|
|
mi := &file_user_user_msg_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserSginReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserSginReq) ProtoMessage() {}
|
|
|
|
func (x *UserSginReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserSginReq.ProtoReflect.Descriptor instead.
|
|
func (*UserSginReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *UserSginReq) GetStype() SginTyoe {
|
|
if x != nil {
|
|
return x.Stype
|
|
}
|
|
return SginTyoe_Mail
|
|
}
|
|
|
|
func (x *UserSginReq) GetMail() string {
|
|
if x != nil {
|
|
return x.Mail
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserSginReq) GetPhone() string {
|
|
if x != nil {
|
|
return x.Phone
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserSginReq) GetTtoken() string {
|
|
if x != nil {
|
|
return x.Ttoken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserSginReq) GetVcode() string {
|
|
if x != nil {
|
|
return x.Vcode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserSginReq) GetPhonemodel() string {
|
|
if x != nil {
|
|
return x.Phonemodel
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserSginReq) GetPhonemac() string {
|
|
if x != nil {
|
|
return x.Phonemac
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserSginReq) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserSginReq) GetAvatar() string {
|
|
if x != nil {
|
|
return x.Avatar
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserSginReq) GetLanguage() string {
|
|
if x != nil {
|
|
return x.Language
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserSginReq) GetChannel() UserChannel {
|
|
if x != nil {
|
|
return x.Channel
|
|
}
|
|
return UserChannel_UNKNOWN
|
|
}
|
|
|
|
func (x *UserSginReq) GetVersion() string {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UserSginResp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// 认证token
|
|
// 缓存在本地 可以通过token 登录
|
|
// example: 认证token
|
|
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token" example:"认证token" description:"认证token"` //@go_tags(`json:"token" example:"认证token" description:"认证token"`)
|
|
// 用户信息
|
|
// example:
|
|
User *DBUser `protobuf:"bytes,2,opt,name=user,proto3" json:"user" description:"用户信息"` //@go_tags(`json:"user" description:"用户信息"`)
|
|
// 用户设备列表
|
|
// example:
|
|
Devices []*DBUserDivice `protobuf:"bytes,3,rep,name=devices,proto3" json:"devices" description:"用户设备列表"` //@go_tags(`json:"devices" description:"用户设备列表"`)
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserSginResp) Reset() {
|
|
*x = UserSginResp{}
|
|
mi := &file_user_user_msg_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserSginResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserSginResp) ProtoMessage() {}
|
|
|
|
func (x *UserSginResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserSginResp.ProtoReflect.Descriptor instead.
|
|
func (*UserSginResp) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *UserSginResp) GetToken() string {
|
|
if x != nil {
|
|
return x.Token
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserSginResp) GetUser() *DBUser {
|
|
if x != nil {
|
|
return x.User
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *UserSginResp) GetDevices() []*DBUserDivice {
|
|
if x != nil {
|
|
return x.Devices
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 验证码请求
|
|
type UserVerificationReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// 验证码类型“
|
|
// 选填,长度 11
|
|
// example: 0 邮箱验证 1 手机验证
|
|
Vtype int32 `protobuf:"varint,1,opt,name=vtype,proto3" json:"vtype" example:"0"` //@go_tags(`json:"vtype" example:"0" description:"验证码类型 0 手机验证 1 邮箱验证“`)
|
|
// 目标地址
|
|
// 选填,长度 11
|
|
// example: 手机号/邮箱
|
|
Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr" example:"" description:"手机号/邮箱"` //@go_tags(`json:"addr" example:"" description:"手机号/邮箱"`)
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserVerificationReq) Reset() {
|
|
*x = UserVerificationReq{}
|
|
mi := &file_user_user_msg_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserVerificationReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserVerificationReq) ProtoMessage() {}
|
|
|
|
func (x *UserVerificationReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[2]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserVerificationReq.ProtoReflect.Descriptor instead.
|
|
func (*UserVerificationReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *UserVerificationReq) GetVtype() int32 {
|
|
if x != nil {
|
|
return x.Vtype
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UserVerificationReq) GetAddr() string {
|
|
if x != nil {
|
|
return x.Addr
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// 验证码请求
|
|
type UserVerificationResp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserVerificationResp) Reset() {
|
|
*x = UserVerificationResp{}
|
|
mi := &file_user_user_msg_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserVerificationResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserVerificationResp) ProtoMessage() {}
|
|
|
|
func (x *UserVerificationResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[3]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserVerificationResp.ProtoReflect.Descriptor instead.
|
|
func (*UserVerificationResp) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
// 通过toke 登录 同意设备下可以持续登录,当更换设备后 登录会返回错误码,token已过期 需要转 sgin 登录请求
|
|
type UserGetInfoReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` //版本号
|
|
Channel UserChannel `protobuf:"varint,2,opt,name=channel,proto3,enum=UserChannel" json:"channel,omitempty"` //渠道
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserGetInfoReq) Reset() {
|
|
*x = UserGetInfoReq{}
|
|
mi := &file_user_user_msg_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserGetInfoReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserGetInfoReq) ProtoMessage() {}
|
|
|
|
func (x *UserGetInfoReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[4]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserGetInfoReq.ProtoReflect.Descriptor instead.
|
|
func (*UserGetInfoReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *UserGetInfoReq) GetVersion() string {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserGetInfoReq) GetChannel() UserChannel {
|
|
if x != nil {
|
|
return x.Channel
|
|
}
|
|
return UserChannel_UNKNOWN
|
|
}
|
|
|
|
type UserGetInfoResp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// 用户信息
|
|
// example:
|
|
User *DBUser `protobuf:"bytes,1,opt,name=user,proto3" json:"user" description:"用户信息"` //@go_tags(`json:"user" description:"用户信息"`)
|
|
// 用户设备列表
|
|
// example:
|
|
Devices []*DBUserDivice `protobuf:"bytes,2,rep,name=devices,proto3" json:"devices" description:"用户设备列表"` //@go_tags(`json:"devices" description:"用户设备列表"`)
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserGetInfoResp) Reset() {
|
|
*x = UserGetInfoResp{}
|
|
mi := &file_user_user_msg_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserGetInfoResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserGetInfoResp) ProtoMessage() {}
|
|
|
|
func (x *UserGetInfoResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[5]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserGetInfoResp.ProtoReflect.Descriptor instead.
|
|
func (*UserGetInfoResp) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *UserGetInfoResp) GetUser() *DBUser {
|
|
if x != nil {
|
|
return x.User
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *UserGetInfoResp) GetDevices() []*DBUserDivice {
|
|
if x != nil {
|
|
return x.Devices
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 设置请求 此接口由于需要上传头像 只能支持字符串类型的参数
|
|
type UserSettingReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name" example:"" description:"用户名"` //@go_tags(`json:"name" example:"" description:"用户名"`) 用户名
|
|
Language string `protobuf:"bytes,2,opt,name=language,proto3" json:"language" example:"en" description:"语言"` //@go_tags(`json:"language" example:"en" description:"语言"`)
|
|
Image string `protobuf:"bytes,3,opt,name=image,proto3" json:"image" example:"" description:"头像"` //@go_tags(`json:"image" example:"" description:"头像"`) 头像连接
|
|
Gender string `protobuf:"bytes,4,opt,name=gender,proto3" json:"gender" example:"1" description:"性别 1-男 2-女"` //@go_tags(`json:"gender" example:"1" description:"性别 1-男 2-女"`) 性别 1-男 2-女
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserSettingReq) Reset() {
|
|
*x = UserSettingReq{}
|
|
mi := &file_user_user_msg_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserSettingReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserSettingReq) ProtoMessage() {}
|
|
|
|
func (x *UserSettingReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[6]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserSettingReq.ProtoReflect.Descriptor instead.
|
|
func (*UserSettingReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *UserSettingReq) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserSettingReq) GetLanguage() string {
|
|
if x != nil {
|
|
return x.Language
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserSettingReq) GetImage() string {
|
|
if x != nil {
|
|
return x.Image
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserSettingReq) GetGender() string {
|
|
if x != nil {
|
|
return x.Gender
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UserSettingResp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name" example:"用户名" description:"用户名"` //@go_tags(`json:"name" example:"用户名" description:"用户名"`)
|
|
Language string `protobuf:"bytes,2,opt,name=language,proto3" json:"language" example:"en" description:"语言"` //@go_tags(`json:"language" example:"en" description:"语言"`)
|
|
Avatar string `protobuf:"bytes,3,opt,name=avatar,proto3" json:"avatar" example:"" description:"地址"` //@go_tags(`json:"avatar" example:"" description:"地址"`) 头像连接
|
|
Gender int32 `protobuf:"varint,4,opt,name=gender,proto3" json:"gender" example:"1" description:"性别 1-男 2-女"` //@go_tags(`json:"gender" example:"1" description:"性别 1-男 2-女"`) 性别 1-男 2-女
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserSettingResp) Reset() {
|
|
*x = UserSettingResp{}
|
|
mi := &file_user_user_msg_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserSettingResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserSettingResp) ProtoMessage() {}
|
|
|
|
func (x *UserSettingResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[7]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserSettingResp.ProtoReflect.Descriptor instead.
|
|
func (*UserSettingResp) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *UserSettingResp) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserSettingResp) GetLanguage() string {
|
|
if x != nil {
|
|
return x.Language
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserSettingResp) GetAvatar() string {
|
|
if x != nil {
|
|
return x.Avatar
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserSettingResp) GetGender() int32 {
|
|
if x != nil {
|
|
return x.Gender
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// 绑定耳机请求
|
|
type UserBindDeviceReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Pid int32 `protobuf:"varint,1,opt,name=pid,proto3" json:"pid,omitempty"` //产品id
|
|
Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` //授权码
|
|
Devicename string `protobuf:"bytes,3,opt,name=devicename,proto3" json:"devicename,omitempty"` //耳机名称
|
|
Devicemac string `protobuf:"bytes,4,opt,name=devicemac,proto3" json:"devicemac,omitempty"` //耳机名称地址
|
|
Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"` //版本号
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserBindDeviceReq) Reset() {
|
|
*x = UserBindDeviceReq{}
|
|
mi := &file_user_user_msg_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserBindDeviceReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserBindDeviceReq) ProtoMessage() {}
|
|
|
|
func (x *UserBindDeviceReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[8]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserBindDeviceReq.ProtoReflect.Descriptor instead.
|
|
func (*UserBindDeviceReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *UserBindDeviceReq) GetPid() int32 {
|
|
if x != nil {
|
|
return x.Pid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UserBindDeviceReq) GetCode() string {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserBindDeviceReq) GetDevicename() string {
|
|
if x != nil {
|
|
return x.Devicename
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserBindDeviceReq) GetDevicemac() string {
|
|
if x != nil {
|
|
return x.Devicemac
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserBindDeviceReq) GetVersion() string {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// 绑定耳机请求
|
|
type UserBindDeviceResp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Device *DBUserDivice `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"` //绑定的耳机信息
|
|
Isgiveaway bool `protobuf:"varint,2,opt,name=isgiveaway,proto3" json:"isgiveaway" gorm:"isgiveaway"` //@go_tags(`gorm:"isgiveaway" json:"isgiveaway"`) 是否是第一次绑定
|
|
Viplv int32 `protobuf:"varint,3,opt,name=viplv,proto3" json:"viplv" gorm:"viplv:50"` //@go_tags(`gorm:"viplv:50" json:"viplv"`) viplv
|
|
Vipexptime int64 `protobuf:"varint,4,opt,name=vipexptime,proto3" json:"vipexptime" gorm:"vipexptime"` //@go_tags(`gorm:"vipexptime" json:"vipexptime"`) 会员过期时间
|
|
Aichatintegral int64 `protobuf:"varint,5,opt,name=aichatintegral,proto3" json:"aichatintegral" gorm:"aichatintegral"` //@go_tags(`gorm:"aichatintegral" json:"aichatintegral"`) ai聊天积分
|
|
Aichattotalintegral int64 `protobuf:"varint,6,opt,name=aichattotalintegral,proto3" json:"aichattotalintegral" gorm:"aichattotalintegral"` //@go_tags(`gorm:"aichattotalintegral" json:"aichattotalintegral"`) ai聊天总积分
|
|
Tradeintegral int64 `protobuf:"varint,7,opt,name=tradeintegral,proto3" json:"tradeintegral" gorm:"tradeintegral"` //@go_tags(`gorm:"tradeintegral" json:"tradeintegral"`) 翻译积分
|
|
Tradetotalintegral int64 `protobuf:"varint,8,opt,name=tradetotalintegral,proto3" json:"tradetotalintegral" gorm:"tradetotalintegral"` //@go_tags(`gorm:"tradetotalintegral" json:"tradetotalintegral"`) 翻译总积分
|
|
Meetintegral int64 `protobuf:"varint,9,opt,name=meetintegral,proto3" json:"meetintegral" gorm:"meetintegral"` //@go_tags(`gorm:"meetintegral" json:"meetintegral"`) 会议积分
|
|
Meettotalintegral int64 `protobuf:"varint,10,opt,name=meettotalintegral,proto3" json:"meettotalintegral" gorm:"meettotalintegral"` //@go_tags(`gorm:"meettotalintegral" json:"meettotalintegral"`) 会议总积分
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserBindDeviceResp) Reset() {
|
|
*x = UserBindDeviceResp{}
|
|
mi := &file_user_user_msg_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserBindDeviceResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserBindDeviceResp) ProtoMessage() {}
|
|
|
|
func (x *UserBindDeviceResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[9]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserBindDeviceResp.ProtoReflect.Descriptor instead.
|
|
func (*UserBindDeviceResp) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *UserBindDeviceResp) GetDevice() *DBUserDivice {
|
|
if x != nil {
|
|
return x.Device
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *UserBindDeviceResp) GetIsgiveaway() bool {
|
|
if x != nil {
|
|
return x.Isgiveaway
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *UserBindDeviceResp) GetViplv() int32 {
|
|
if x != nil {
|
|
return x.Viplv
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UserBindDeviceResp) GetVipexptime() int64 {
|
|
if x != nil {
|
|
return x.Vipexptime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UserBindDeviceResp) GetAichatintegral() int64 {
|
|
if x != nil {
|
|
return x.Aichatintegral
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UserBindDeviceResp) GetAichattotalintegral() int64 {
|
|
if x != nil {
|
|
return x.Aichattotalintegral
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UserBindDeviceResp) GetTradeintegral() int64 {
|
|
if x != nil {
|
|
return x.Tradeintegral
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UserBindDeviceResp) GetTradetotalintegral() int64 {
|
|
if x != nil {
|
|
return x.Tradetotalintegral
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UserBindDeviceResp) GetMeetintegral() int64 {
|
|
if x != nil {
|
|
return x.Meetintegral
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UserBindDeviceResp) GetMeettotalintegral() int64 {
|
|
if x != nil {
|
|
return x.Meettotalintegral
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// 解绑定耳机请求
|
|
type UserUnBindDeviceReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` //设备id
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserUnBindDeviceReq) Reset() {
|
|
*x = UserUnBindDeviceReq{}
|
|
mi := &file_user_user_msg_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserUnBindDeviceReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserUnBindDeviceReq) ProtoMessage() {}
|
|
|
|
func (x *UserUnBindDeviceReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[10]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserUnBindDeviceReq.ProtoReflect.Descriptor instead.
|
|
func (*UserUnBindDeviceReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *UserUnBindDeviceReq) GetId() uint64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// 解绑定耳机请求
|
|
type UserUnBindDeviceResp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserUnBindDeviceResp) Reset() {
|
|
*x = UserUnBindDeviceResp{}
|
|
mi := &file_user_user_msg_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserUnBindDeviceResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserUnBindDeviceResp) ProtoMessage() {}
|
|
|
|
func (x *UserUnBindDeviceResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[11]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserUnBindDeviceResp.ProtoReflect.Descriptor instead.
|
|
func (*UserUnBindDeviceResp) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
// 扫激活码(厂家公码)领取奖励请求
|
|
// 新设计下激活码 = 厂家公码:每个用户一生仅可领取 1 次(任意厂家任意码均算)
|
|
type UserBindAuthCodeReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` //激活码/公码(必填)
|
|
Devicename string `protobuf:"bytes,2,opt,name=devicename,proto3" json:"devicename,omitempty"` //[已废弃] 旧的逐设备激活码遗留字段,公码场景下忽略
|
|
Devicemac string `protobuf:"bytes,3,opt,name=devicemac,proto3" json:"devicemac,omitempty"` //[已废弃] 旧的逐设备激活码遗留字段,公码场景下忽略
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserBindAuthCodeReq) Reset() {
|
|
*x = UserBindAuthCodeReq{}
|
|
mi := &file_user_user_msg_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserBindAuthCodeReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserBindAuthCodeReq) ProtoMessage() {}
|
|
|
|
func (x *UserBindAuthCodeReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[12]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserBindAuthCodeReq.ProtoReflect.Descriptor instead.
|
|
func (*UserBindAuthCodeReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *UserBindAuthCodeReq) GetCode() string {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserBindAuthCodeReq) GetDevicename() string {
|
|
if x != nil {
|
|
return x.Devicename
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserBindAuthCodeReq) GetDevicemac() string {
|
|
if x != nil {
|
|
return x.Devicemac
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// 扫激活码(厂家公码)领取奖励响应
|
|
type UserBindAuthCodeResp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Device *DBUserDivice `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"` //[已废弃] 公码场景下为空
|
|
Isgiveaway bool `protobuf:"varint,2,opt,name=isgiveaway,proto3" json:"isgiveaway,omitempty"` //本次是否发放奖励
|
|
Viplv int32 `protobuf:"varint,3,opt,name=viplv,proto3" json:"viplv,omitempty"` //VIP等级
|
|
Vipexptime int64 `protobuf:"varint,4,opt,name=vipexptime,proto3" json:"vipexptime,omitempty"` //VIP过期时间
|
|
Tradeintegral int64 `protobuf:"varint,5,opt,name=tradeintegral,proto3" json:"tradeintegral,omitempty"` //翻译积分
|
|
Tradetotalintegral int64 `protobuf:"varint,6,opt,name=tradetotalintegral,proto3" json:"tradetotalintegral,omitempty"` //翻译总积分
|
|
Meetintegral int64 `protobuf:"varint,7,opt,name=meetintegral,proto3" json:"meetintegral,omitempty"` //会议积分
|
|
Meettotalintegral int64 `protobuf:"varint,8,opt,name=meettotalintegral,proto3" json:"meettotalintegral,omitempty"` //会议总积分
|
|
Addvipday int64 `protobuf:"varint,9,opt,name=addvipday,proto3" json:"addvipday,omitempty"` //本次发放VIP天数
|
|
Addtradesecond int64 `protobuf:"varint,10,opt,name=addtradesecond,proto3" json:"addtradesecond,omitempty"` //本次发放翻译秒数
|
|
Addmeetsecond int64 `protobuf:"varint,11,opt,name=addmeetsecond,proto3" json:"addmeetsecond,omitempty"` //本次发放会议秒数
|
|
Factoryid uint32 `protobuf:"varint,12,opt,name=factoryid,proto3" json:"factoryid,omitempty"` //奖励来源厂家id
|
|
Productid uint32 `protobuf:"varint,13,opt,name=productid,proto3" json:"productid,omitempty"` //奖励来源产品id(公码上配置的分类标识)
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserBindAuthCodeResp) Reset() {
|
|
*x = UserBindAuthCodeResp{}
|
|
mi := &file_user_user_msg_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserBindAuthCodeResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserBindAuthCodeResp) ProtoMessage() {}
|
|
|
|
func (x *UserBindAuthCodeResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[13]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserBindAuthCodeResp.ProtoReflect.Descriptor instead.
|
|
func (*UserBindAuthCodeResp) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *UserBindAuthCodeResp) GetDevice() *DBUserDivice {
|
|
if x != nil {
|
|
return x.Device
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *UserBindAuthCodeResp) GetIsgiveaway() bool {
|
|
if x != nil {
|
|
return x.Isgiveaway
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *UserBindAuthCodeResp) GetViplv() int32 {
|
|
if x != nil {
|
|
return x.Viplv
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UserBindAuthCodeResp) GetVipexptime() int64 {
|
|
if x != nil {
|
|
return x.Vipexptime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UserBindAuthCodeResp) GetTradeintegral() int64 {
|
|
if x != nil {
|
|
return x.Tradeintegral
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UserBindAuthCodeResp) GetTradetotalintegral() int64 {
|
|
if x != nil {
|
|
return x.Tradetotalintegral
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UserBindAuthCodeResp) GetMeetintegral() int64 {
|
|
if x != nil {
|
|
return x.Meetintegral
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UserBindAuthCodeResp) GetMeettotalintegral() int64 {
|
|
if x != nil {
|
|
return x.Meettotalintegral
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UserBindAuthCodeResp) GetAddvipday() int64 {
|
|
if x != nil {
|
|
return x.Addvipday
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UserBindAuthCodeResp) GetAddtradesecond() int64 {
|
|
if x != nil {
|
|
return x.Addtradesecond
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UserBindAuthCodeResp) GetAddmeetsecond() int64 {
|
|
if x != nil {
|
|
return x.Addmeetsecond
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UserBindAuthCodeResp) GetFactoryid() uint32 {
|
|
if x != nil {
|
|
return x.Factoryid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UserBindAuthCodeResp) GetProductid() uint32 {
|
|
if x != nil {
|
|
return x.Productid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// 注销账号
|
|
type UserDelReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserDelReq) Reset() {
|
|
*x = UserDelReq{}
|
|
mi := &file_user_user_msg_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserDelReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserDelReq) ProtoMessage() {}
|
|
|
|
func (x *UserDelReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[14]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserDelReq.ProtoReflect.Descriptor instead.
|
|
func (*UserDelReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
type UserDelResp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserDelResp) Reset() {
|
|
*x = UserDelResp{}
|
|
mi := &file_user_user_msg_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserDelResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserDelResp) ProtoMessage() {}
|
|
|
|
func (x *UserDelResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[15]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserDelResp.ProtoReflect.Descriptor instead.
|
|
func (*UserDelResp) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
// 用户反馈
|
|
type UserFeedbackReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserFeedbackReq) Reset() {
|
|
*x = UserFeedbackReq{}
|
|
mi := &file_user_user_msg_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserFeedbackReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserFeedbackReq) ProtoMessage() {}
|
|
|
|
func (x *UserFeedbackReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[16]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserFeedbackReq.ProtoReflect.Descriptor instead.
|
|
func (*UserFeedbackReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
func (x *UserFeedbackReq) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UserFeedbackResp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserFeedbackResp) Reset() {
|
|
*x = UserFeedbackResp{}
|
|
mi := &file_user_user_msg_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserFeedbackResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserFeedbackResp) ProtoMessage() {}
|
|
|
|
func (x *UserFeedbackResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[17]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserFeedbackResp.ProtoReflect.Descriptor instead.
|
|
func (*UserFeedbackResp) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
// 获取 app 的环境变量
|
|
type UserGetAppConfigReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserGetAppConfigReq) Reset() {
|
|
*x = UserGetAppConfigReq{}
|
|
mi := &file_user_user_msg_proto_msgTypes[18]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserGetAppConfigReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserGetAppConfigReq) ProtoMessage() {}
|
|
|
|
func (x *UserGetAppConfigReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[18]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserGetAppConfigReq.ProtoReflect.Descriptor instead.
|
|
func (*UserGetAppConfigReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
type McpServer struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Servername string `protobuf:"bytes,1,opt,name=servername,proto3" json:"servername,omitempty"`
|
|
Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
|
|
Type MCPServerType `protobuf:"varint,3,opt,name=type,proto3,enum=MCPServerType" json:"type"` //@go_tags(`json:"type"`) 服务类型
|
|
Tools string `protobuf:"bytes,4,opt,name=tools,proto3" json:"tools"` //@go_tags(`json:"tools"`) 工具列表
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *McpServer) Reset() {
|
|
*x = McpServer{}
|
|
mi := &file_user_user_msg_proto_msgTypes[19]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *McpServer) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*McpServer) ProtoMessage() {}
|
|
|
|
func (x *McpServer) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[19]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use McpServer.ProtoReflect.Descriptor instead.
|
|
func (*McpServer) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{19}
|
|
}
|
|
|
|
func (x *McpServer) GetServername() string {
|
|
if x != nil {
|
|
return x.Servername
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *McpServer) GetUrl() string {
|
|
if x != nil {
|
|
return x.Url
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *McpServer) GetType() MCPServerType {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return MCPServerType_Http
|
|
}
|
|
|
|
func (x *McpServer) GetTools() string {
|
|
if x != nil {
|
|
return x.Tools
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// 获取 app 的环境变量
|
|
type UserGetAppConfigResp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Env map[string]string `protobuf:"bytes,1,rep,name=env,proto3" json:"env" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` //@go_tags(`json:"env"`) 時間
|
|
Agents []*DBAgent `protobuf:"bytes,2,rep,name=agents,proto3" json:"agents"` //@go_tags(`json:"agents"`) 時間
|
|
Mcps map[string]*McpServer `protobuf:"bytes,3,rep,name=mcps,proto3" json:"mcps" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` //@go_tags(`json:"mcps"`) 時間
|
|
Products []*DBProduct `protobuf:"bytes,4,rep,name=products,proto3" json:"products"` //@go_tags(`json:"products"`) 時間
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserGetAppConfigResp) Reset() {
|
|
*x = UserGetAppConfigResp{}
|
|
mi := &file_user_user_msg_proto_msgTypes[20]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserGetAppConfigResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserGetAppConfigResp) ProtoMessage() {}
|
|
|
|
func (x *UserGetAppConfigResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[20]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserGetAppConfigResp.ProtoReflect.Descriptor instead.
|
|
func (*UserGetAppConfigResp) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{20}
|
|
}
|
|
|
|
func (x *UserGetAppConfigResp) GetEnv() map[string]string {
|
|
if x != nil {
|
|
return x.Env
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *UserGetAppConfigResp) GetAgents() []*DBAgent {
|
|
if x != nil {
|
|
return x.Agents
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *UserGetAppConfigResp) GetMcps() map[string]*McpServer {
|
|
if x != nil {
|
|
return x.Mcps
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *UserGetAppConfigResp) GetProducts() []*DBProduct {
|
|
if x != nil {
|
|
return x.Products
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 获取设备信息 校验升级
|
|
type UserGetProductReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserGetProductReq) Reset() {
|
|
*x = UserGetProductReq{}
|
|
mi := &file_user_user_msg_proto_msgTypes[21]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserGetProductReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserGetProductReq) ProtoMessage() {}
|
|
|
|
func (x *UserGetProductReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[21]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserGetProductReq.ProtoReflect.Descriptor instead.
|
|
func (*UserGetProductReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{21}
|
|
}
|
|
|
|
func (x *UserGetProductReq) GetId() int32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type UserGetProductResp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Product *DBProduct `protobuf:"bytes,1,opt,name=product,proto3" json:"product,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserGetProductResp) Reset() {
|
|
*x = UserGetProductResp{}
|
|
mi := &file_user_user_msg_proto_msgTypes[22]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserGetProductResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserGetProductResp) ProtoMessage() {}
|
|
|
|
func (x *UserGetProductResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[22]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserGetProductResp.ProtoReflect.Descriptor instead.
|
|
func (*UserGetProductResp) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{22}
|
|
}
|
|
|
|
func (x *UserGetProductResp) GetProduct() *DBProduct {
|
|
if x != nil {
|
|
return x.Product
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 获取产品对应的固件版本列表
|
|
type UserGetProductVersionsReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Pid uint32 `protobuf:"varint,1,opt,name=pid,proto3" json:"pid"` //@go_tags(`json:"pid"`) 产品id
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserGetProductVersionsReq) Reset() {
|
|
*x = UserGetProductVersionsReq{}
|
|
mi := &file_user_user_msg_proto_msgTypes[23]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserGetProductVersionsReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserGetProductVersionsReq) ProtoMessage() {}
|
|
|
|
func (x *UserGetProductVersionsReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[23]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserGetProductVersionsReq.ProtoReflect.Descriptor instead.
|
|
func (*UserGetProductVersionsReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{23}
|
|
}
|
|
|
|
func (x *UserGetProductVersionsReq) GetPid() uint32 {
|
|
if x != nil {
|
|
return x.Pid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type UserGetProductVersionsResp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Versions []*DBProductVersion `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions"` //@go_tags(`json:"versions"`) 固件版本列表
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserGetProductVersionsResp) Reset() {
|
|
*x = UserGetProductVersionsResp{}
|
|
mi := &file_user_user_msg_proto_msgTypes[24]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserGetProductVersionsResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserGetProductVersionsResp) ProtoMessage() {}
|
|
|
|
func (x *UserGetProductVersionsResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[24]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserGetProductVersionsResp.ProtoReflect.Descriptor instead.
|
|
func (*UserGetProductVersionsResp) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{24}
|
|
}
|
|
|
|
func (x *UserGetProductVersionsResp) GetVersions() []*DBProductVersion {
|
|
if x != nil {
|
|
return x.Versions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 举报AI内容
|
|
type UserReportAIContentReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Reporttype string `protobuf:"bytes,1,opt,name=reporttype,proto3" json:"reporttype,omitempty"`
|
|
Describe string `protobuf:"bytes,2,opt,name=describe,proto3" json:"describe,omitempty"`
|
|
Message []string `protobuf:"bytes,3,rep,name=message,proto3" json:"message,omitempty"`
|
|
ReportContent string `protobuf:"bytes,4,opt,name=reportContent,proto3" json:"reportContent,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserReportAIContentReq) Reset() {
|
|
*x = UserReportAIContentReq{}
|
|
mi := &file_user_user_msg_proto_msgTypes[25]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserReportAIContentReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserReportAIContentReq) ProtoMessage() {}
|
|
|
|
func (x *UserReportAIContentReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[25]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserReportAIContentReq.ProtoReflect.Descriptor instead.
|
|
func (*UserReportAIContentReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{25}
|
|
}
|
|
|
|
func (x *UserReportAIContentReq) GetReporttype() string {
|
|
if x != nil {
|
|
return x.Reporttype
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserReportAIContentReq) GetDescribe() string {
|
|
if x != nil {
|
|
return x.Describe
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserReportAIContentReq) GetMessage() []string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *UserReportAIContentReq) GetReportContent() string {
|
|
if x != nil {
|
|
return x.ReportContent
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UserReportAIContentResp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserReportAIContentResp) Reset() {
|
|
*x = UserReportAIContentResp{}
|
|
mi := &file_user_user_msg_proto_msgTypes[26]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserReportAIContentResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserReportAIContentResp) ProtoMessage() {}
|
|
|
|
func (x *UserReportAIContentResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[26]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserReportAIContentResp.ProtoReflect.Descriptor instead.
|
|
func (*UserReportAIContentResp) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{26}
|
|
}
|
|
|
|
// 获取设备信息 校验升级
|
|
type UserGetChannelAppsReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` //客户端当前版本号(如 1.4.2)。游客登录是否可见由服务端按此版本判定,留空视为不匹配任何「游客登录生效版本」
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserGetChannelAppsReq) Reset() {
|
|
*x = UserGetChannelAppsReq{}
|
|
mi := &file_user_user_msg_proto_msgTypes[27]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserGetChannelAppsReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserGetChannelAppsReq) ProtoMessage() {}
|
|
|
|
func (x *UserGetChannelAppsReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[27]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserGetChannelAppsReq.ProtoReflect.Descriptor instead.
|
|
func (*UserGetChannelAppsReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{27}
|
|
}
|
|
|
|
func (x *UserGetChannelAppsReq) GetVersion() string {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UserGetChannelAppsResp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Apps []*DBChannelApp `protobuf:"bytes,1,rep,name=apps,proto3" json:"apps,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserGetChannelAppsResp) Reset() {
|
|
*x = UserGetChannelAppsResp{}
|
|
mi := &file_user_user_msg_proto_msgTypes[28]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserGetChannelAppsResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserGetChannelAppsResp) ProtoMessage() {}
|
|
|
|
func (x *UserGetChannelAppsResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[28]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserGetChannelAppsResp.ProtoReflect.Descriptor instead.
|
|
func (*UserGetChannelAppsResp) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{28}
|
|
}
|
|
|
|
func (x *UserGetChannelAppsResp) GetApps() []*DBChannelApp {
|
|
if x != nil {
|
|
return x.Apps
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 获取渠道包信息 + 校验升级
|
|
type UserGetChannelAppReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Channel int32 `protobuf:"varint,1,opt,name=channel,proto3" json:"channel,omitempty"`
|
|
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` //客户端当前版本号(如 1.4.2);传了才会返回下面的升级判定,留空则判定字段恒为 false
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserGetChannelAppReq) Reset() {
|
|
*x = UserGetChannelAppReq{}
|
|
mi := &file_user_user_msg_proto_msgTypes[29]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserGetChannelAppReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserGetChannelAppReq) ProtoMessage() {}
|
|
|
|
func (x *UserGetChannelAppReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[29]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserGetChannelAppReq.ProtoReflect.Descriptor instead.
|
|
func (*UserGetChannelAppReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{29}
|
|
}
|
|
|
|
func (x *UserGetChannelAppReq) GetChannel() int32 {
|
|
if x != nil {
|
|
return x.Channel
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UserGetChannelAppReq) GetVersion() string {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UserGetChannelAppResp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
App *DBChannelApp `protobuf:"bytes,1,opt,name=app,proto3" json:"app,omitempty"`
|
|
Needupdate bool `protobuf:"varint,2,opt,name=needupdate,proto3" json:"needupdate,omitempty"` //有更新可用:线上版本高于客户端版本
|
|
Forceupdate bool `protobuf:"varint,3,opt,name=forceupdate,proto3" json:"forceupdate,omitempty"` //必须更新:渠道开了强更且客户端版本低于最低支持版本,为 true 时客户端应阻断使用
|
|
Reviewing bool `protobuf:"varint,4,opt,name=reviewing,proto3" json:"reviewing,omitempty"` //客户端当前版本正处于渠道审核期,可据此隐藏未过审功能
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserGetChannelAppResp) Reset() {
|
|
*x = UserGetChannelAppResp{}
|
|
mi := &file_user_user_msg_proto_msgTypes[30]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserGetChannelAppResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserGetChannelAppResp) ProtoMessage() {}
|
|
|
|
func (x *UserGetChannelAppResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[30]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserGetChannelAppResp.ProtoReflect.Descriptor instead.
|
|
func (*UserGetChannelAppResp) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{30}
|
|
}
|
|
|
|
func (x *UserGetChannelAppResp) GetApp() *DBChannelApp {
|
|
if x != nil {
|
|
return x.App
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *UserGetChannelAppResp) GetNeedupdate() bool {
|
|
if x != nil {
|
|
return x.Needupdate
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *UserGetChannelAppResp) GetForceupdate() bool {
|
|
if x != nil {
|
|
return x.Forceupdate
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *UserGetChannelAppResp) GetReviewing() bool {
|
|
if x != nil {
|
|
return x.Reviewing
|
|
}
|
|
return false
|
|
}
|
|
|
|
// 用户上报行为
|
|
type UserPushActionReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Actions map[string]int32 `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` //行为
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserPushActionReq) Reset() {
|
|
*x = UserPushActionReq{}
|
|
mi := &file_user_user_msg_proto_msgTypes[31]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserPushActionReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserPushActionReq) ProtoMessage() {}
|
|
|
|
func (x *UserPushActionReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[31]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserPushActionReq.ProtoReflect.Descriptor instead.
|
|
func (*UserPushActionReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{31}
|
|
}
|
|
|
|
func (x *UserPushActionReq) GetActions() map[string]int32 {
|
|
if x != nil {
|
|
return x.Actions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UserPushActionResp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserPushActionResp) Reset() {
|
|
*x = UserPushActionResp{}
|
|
mi := &file_user_user_msg_proto_msgTypes[32]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserPushActionResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserPushActionResp) ProtoMessage() {}
|
|
|
|
func (x *UserPushActionResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[32]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserPushActionResp.ProtoReflect.Descriptor instead.
|
|
func (*UserPushActionResp) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{32}
|
|
}
|
|
|
|
// 获取设备信息 校验升级
|
|
type UserGetDevicesReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserGetDevicesReq) Reset() {
|
|
*x = UserGetDevicesReq{}
|
|
mi := &file_user_user_msg_proto_msgTypes[33]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserGetDevicesReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserGetDevicesReq) ProtoMessage() {}
|
|
|
|
func (x *UserGetDevicesReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[33]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserGetDevicesReq.ProtoReflect.Descriptor instead.
|
|
func (*UserGetDevicesReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{33}
|
|
}
|
|
|
|
type UserGetDevicesResp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Devices []*DBUserDivice `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserGetDevicesResp) Reset() {
|
|
*x = UserGetDevicesResp{}
|
|
mi := &file_user_user_msg_proto_msgTypes[34]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserGetDevicesResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserGetDevicesResp) ProtoMessage() {}
|
|
|
|
func (x *UserGetDevicesResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[34]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserGetDevicesResp.ProtoReflect.Descriptor instead.
|
|
func (*UserGetDevicesResp) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{34}
|
|
}
|
|
|
|
func (x *UserGetDevicesResp) GetDevices() []*DBUserDivice {
|
|
if x != nil {
|
|
return x.Devices
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 上传资源使用
|
|
type UserUsagesReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Usagetype UsageType `protobuf:"varint,1,opt,name=usagetype,proto3,enum=UsageType" json:"usagetype,omitempty"` //使用类型
|
|
Usages map[string]int64 `protobuf:"bytes,2,rep,name=usages,proto3" json:"usages,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` //用量统计数据
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserUsagesReq) Reset() {
|
|
*x = UserUsagesReq{}
|
|
mi := &file_user_user_msg_proto_msgTypes[35]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserUsagesReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserUsagesReq) ProtoMessage() {}
|
|
|
|
func (x *UserUsagesReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[35]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserUsagesReq.ProtoReflect.Descriptor instead.
|
|
func (*UserUsagesReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{35}
|
|
}
|
|
|
|
func (x *UserUsagesReq) GetUsagetype() UsageType {
|
|
if x != nil {
|
|
return x.Usagetype
|
|
}
|
|
return UsageType_UsageNull
|
|
}
|
|
|
|
func (x *UserUsagesReq) GetUsages() map[string]int64 {
|
|
if x != nil {
|
|
return x.Usages
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UserUsagesResp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Usages map[int32]int64 `protobuf:"bytes,1,rep,name=usages,proto3" json:"usages,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` //资源剩余使用量
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserUsagesResp) Reset() {
|
|
*x = UserUsagesResp{}
|
|
mi := &file_user_user_msg_proto_msgTypes[36]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserUsagesResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserUsagesResp) ProtoMessage() {}
|
|
|
|
func (x *UserUsagesResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[36]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserUsagesResp.ProtoReflect.Descriptor instead.
|
|
func (*UserUsagesResp) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{36}
|
|
}
|
|
|
|
func (x *UserUsagesResp) GetUsages() map[int32]int64 {
|
|
if x != nil {
|
|
return x.Usages
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 获取唤醒词列表
|
|
type UserGetWakeupVoicesReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserGetWakeupVoicesReq) Reset() {
|
|
*x = UserGetWakeupVoicesReq{}
|
|
mi := &file_user_user_msg_proto_msgTypes[37]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserGetWakeupVoicesReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserGetWakeupVoicesReq) ProtoMessage() {}
|
|
|
|
func (x *UserGetWakeupVoicesReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[37]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserGetWakeupVoicesReq.ProtoReflect.Descriptor instead.
|
|
func (*UserGetWakeupVoicesReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{37}
|
|
}
|
|
|
|
type UserGetWakeupVoicesResp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Voices []*DBWakeupVoice `protobuf:"bytes,1,rep,name=voices,proto3" json:"voices,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserGetWakeupVoicesResp) Reset() {
|
|
*x = UserGetWakeupVoicesResp{}
|
|
mi := &file_user_user_msg_proto_msgTypes[38]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserGetWakeupVoicesResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserGetWakeupVoicesResp) ProtoMessage() {}
|
|
|
|
func (x *UserGetWakeupVoicesResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[38]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserGetWakeupVoicesResp.ProtoReflect.Descriptor instead.
|
|
func (*UserGetWakeupVoicesResp) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{38}
|
|
}
|
|
|
|
func (x *UserGetWakeupVoicesResp) GetVoices() []*DBWakeupVoice {
|
|
if x != nil {
|
|
return x.Voices
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 获取统计数据
|
|
type UserGetStatisticsReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserGetStatisticsReq) Reset() {
|
|
*x = UserGetStatisticsReq{}
|
|
mi := &file_user_user_msg_proto_msgTypes[39]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserGetStatisticsReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserGetStatisticsReq) ProtoMessage() {}
|
|
|
|
func (x *UserGetStatisticsReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[39]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserGetStatisticsReq.ProtoReflect.Descriptor instead.
|
|
func (*UserGetStatisticsReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{39}
|
|
}
|
|
|
|
type UserGetStatisticsResp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Statistics *DBUserStatistics `protobuf:"bytes,1,opt,name=statistics,proto3" json:"statistics,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserGetStatisticsResp) Reset() {
|
|
*x = UserGetStatisticsResp{}
|
|
mi := &file_user_user_msg_proto_msgTypes[40]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserGetStatisticsResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserGetStatisticsResp) ProtoMessage() {}
|
|
|
|
func (x *UserGetStatisticsResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[40]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserGetStatisticsResp.ProtoReflect.Descriptor instead.
|
|
func (*UserGetStatisticsResp) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{40}
|
|
}
|
|
|
|
func (x *UserGetStatisticsResp) GetStatistics() *DBUserStatistics {
|
|
if x != nil {
|
|
return x.Statistics
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 获取应用设置
|
|
type UserGetAppSettingReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserGetAppSettingReq) Reset() {
|
|
*x = UserGetAppSettingReq{}
|
|
mi := &file_user_user_msg_proto_msgTypes[41]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserGetAppSettingReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserGetAppSettingReq) ProtoMessage() {}
|
|
|
|
func (x *UserGetAppSettingReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[41]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserGetAppSettingReq.ProtoReflect.Descriptor instead.
|
|
func (*UserGetAppSettingReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{41}
|
|
}
|
|
|
|
type UserGetAppSettingResp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Setting *DBUuserAppSetting `protobuf:"bytes,1,opt,name=setting,proto3" json:"setting,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserGetAppSettingResp) Reset() {
|
|
*x = UserGetAppSettingResp{}
|
|
mi := &file_user_user_msg_proto_msgTypes[42]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserGetAppSettingResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserGetAppSettingResp) ProtoMessage() {}
|
|
|
|
func (x *UserGetAppSettingResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[42]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserGetAppSettingResp.ProtoReflect.Descriptor instead.
|
|
func (*UserGetAppSettingResp) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{42}
|
|
}
|
|
|
|
func (x *UserGetAppSettingResp) GetSetting() *DBUuserAppSetting {
|
|
if x != nil {
|
|
return x.Setting
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 更新应用设置
|
|
type UserUpdateAppSettingReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Setting *DBUuserAppSetting `protobuf:"bytes,1,opt,name=setting,proto3" json:"setting,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserUpdateAppSettingReq) Reset() {
|
|
*x = UserUpdateAppSettingReq{}
|
|
mi := &file_user_user_msg_proto_msgTypes[43]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserUpdateAppSettingReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserUpdateAppSettingReq) ProtoMessage() {}
|
|
|
|
func (x *UserUpdateAppSettingReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[43]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserUpdateAppSettingReq.ProtoReflect.Descriptor instead.
|
|
func (*UserUpdateAppSettingReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{43}
|
|
}
|
|
|
|
func (x *UserUpdateAppSettingReq) GetSetting() *DBUuserAppSetting {
|
|
if x != nil {
|
|
return x.Setting
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UserUpdateAppSettingResp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserUpdateAppSettingResp) Reset() {
|
|
*x = UserUpdateAppSettingResp{}
|
|
mi := &file_user_user_msg_proto_msgTypes[44]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserUpdateAppSettingResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserUpdateAppSettingResp) ProtoMessage() {}
|
|
|
|
func (x *UserUpdateAppSettingResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[44]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserUpdateAppSettingResp.ProtoReflect.Descriptor instead.
|
|
func (*UserUpdateAppSettingResp) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{44}
|
|
}
|
|
|
|
// 更新设备设置
|
|
type UserUpdateDeviceSettingReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Lxsetting string `protobuf:"bytes,2,opt,name=lxsetting,proto3" json:"lxsetting,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserUpdateDeviceSettingReq) Reset() {
|
|
*x = UserUpdateDeviceSettingReq{}
|
|
mi := &file_user_user_msg_proto_msgTypes[45]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserUpdateDeviceSettingReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserUpdateDeviceSettingReq) ProtoMessage() {}
|
|
|
|
func (x *UserUpdateDeviceSettingReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[45]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserUpdateDeviceSettingReq.ProtoReflect.Descriptor instead.
|
|
func (*UserUpdateDeviceSettingReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{45}
|
|
}
|
|
|
|
func (x *UserUpdateDeviceSettingReq) GetId() uint64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UserUpdateDeviceSettingReq) GetLxsetting() string {
|
|
if x != nil {
|
|
return x.Lxsetting
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UserUpdateDeviceSettingResp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Lxsetting string `protobuf:"bytes,2,opt,name=lxsetting,proto3" json:"lxsetting,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserUpdateDeviceSettingResp) Reset() {
|
|
*x = UserUpdateDeviceSettingResp{}
|
|
mi := &file_user_user_msg_proto_msgTypes[46]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserUpdateDeviceSettingResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserUpdateDeviceSettingResp) ProtoMessage() {}
|
|
|
|
func (x *UserUpdateDeviceSettingResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[46]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserUpdateDeviceSettingResp.ProtoReflect.Descriptor instead.
|
|
func (*UserUpdateDeviceSettingResp) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{46}
|
|
}
|
|
|
|
func (x *UserUpdateDeviceSettingResp) GetId() uint64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UserUpdateDeviceSettingResp) GetLxsetting() string {
|
|
if x != nil {
|
|
return x.Lxsetting
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// 实名认证:提交姓名+身份证号做二要素核验
|
|
// 路由 user_idverify
|
|
type UserIdVerifyReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Realname string `protobuf:"bytes,1,opt,name=realname,proto3" json:"realname,omitempty"` //姓名
|
|
Idcardno string `protobuf:"bytes,2,opt,name=idcardno,proto3" json:"idcardno,omitempty"` //身份证号(18位;仅用于向服务商核验,服务端不落库全文)
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserIdVerifyReq) Reset() {
|
|
*x = UserIdVerifyReq{}
|
|
mi := &file_user_user_msg_proto_msgTypes[47]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserIdVerifyReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserIdVerifyReq) ProtoMessage() {}
|
|
|
|
func (x *UserIdVerifyReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[47]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserIdVerifyReq.ProtoReflect.Descriptor instead.
|
|
func (*UserIdVerifyReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{47}
|
|
}
|
|
|
|
func (x *UserIdVerifyReq) GetRealname() string {
|
|
if x != nil {
|
|
return x.Realname
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserIdVerifyReq) GetIdcardno() string {
|
|
if x != nil {
|
|
return x.Idcardno
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UserIdVerifyResp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Verified bool `protobuf:"varint,1,opt,name=verified,proto3" json:"verified,omitempty"` //是否核验通过
|
|
Realname string `protobuf:"bytes,2,opt,name=realname,proto3" json:"realname,omitempty"` //姓名
|
|
Idcardmask string `protobuf:"bytes,3,opt,name=idcardmask,proto3" json:"idcardmask,omitempty"` //身份证号掩码,如 4403**********1234
|
|
Verifytime int64 `protobuf:"varint,4,opt,name=verifytime,proto3" json:"verifytime,omitempty"` //通过时间
|
|
Gender int32 `protobuf:"varint,5,opt,name=gender,proto3" json:"gender,omitempty"` //按身份证解析出的真实性别 1-男 2-女(0=解析不出),核验通过后已写入用户资料
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserIdVerifyResp) Reset() {
|
|
*x = UserIdVerifyResp{}
|
|
mi := &file_user_user_msg_proto_msgTypes[48]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserIdVerifyResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserIdVerifyResp) ProtoMessage() {}
|
|
|
|
func (x *UserIdVerifyResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[48]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserIdVerifyResp.ProtoReflect.Descriptor instead.
|
|
func (*UserIdVerifyResp) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{48}
|
|
}
|
|
|
|
func (x *UserIdVerifyResp) GetVerified() bool {
|
|
if x != nil {
|
|
return x.Verified
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *UserIdVerifyResp) GetRealname() string {
|
|
if x != nil {
|
|
return x.Realname
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserIdVerifyResp) GetIdcardmask() string {
|
|
if x != nil {
|
|
return x.Idcardmask
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserIdVerifyResp) GetVerifytime() int64 {
|
|
if x != nil {
|
|
return x.Verifytime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UserIdVerifyResp) GetGender() int32 {
|
|
if x != nil {
|
|
return x.Gender
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// 查询本账号的实名状态
|
|
// 路由 user_getidverify
|
|
type UserGetIdVerifyReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserGetIdVerifyReq) Reset() {
|
|
*x = UserGetIdVerifyReq{}
|
|
mi := &file_user_user_msg_proto_msgTypes[49]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserGetIdVerifyReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserGetIdVerifyReq) ProtoMessage() {}
|
|
|
|
func (x *UserGetIdVerifyReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[49]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserGetIdVerifyReq.ProtoReflect.Descriptor instead.
|
|
func (*UserGetIdVerifyReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{49}
|
|
}
|
|
|
|
type UserGetIdVerifyResp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Verified bool `protobuf:"varint,1,opt,name=verified,proto3" json:"verified,omitempty"` //是否已实名
|
|
Realname string `protobuf:"bytes,2,opt,name=realname,proto3" json:"realname,omitempty"` //姓名(未实名为空)
|
|
Idcardmask string `protobuf:"bytes,3,opt,name=idcardmask,proto3" json:"idcardmask,omitempty"` //身份证号掩码(未实名为空)
|
|
Verifytime int64 `protobuf:"varint,4,opt,name=verifytime,proto3" json:"verifytime,omitempty"` //通过时间(0=未通过)
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserGetIdVerifyResp) Reset() {
|
|
*x = UserGetIdVerifyResp{}
|
|
mi := &file_user_user_msg_proto_msgTypes[50]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserGetIdVerifyResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserGetIdVerifyResp) ProtoMessage() {}
|
|
|
|
func (x *UserGetIdVerifyResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[50]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserGetIdVerifyResp.ProtoReflect.Descriptor instead.
|
|
func (*UserGetIdVerifyResp) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{50}
|
|
}
|
|
|
|
func (x *UserGetIdVerifyResp) GetVerified() bool {
|
|
if x != nil {
|
|
return x.Verified
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *UserGetIdVerifyResp) GetRealname() string {
|
|
if x != nil {
|
|
return x.Realname
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserGetIdVerifyResp) GetIdcardmask() string {
|
|
if x != nil {
|
|
return x.Idcardmask
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserGetIdVerifyResp) GetVerifytime() int64 {
|
|
if x != nil {
|
|
return x.Verifytime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// 实时机器翻译(同声传译 / 面对面翻译用)
|
|
//
|
|
// 由服务端调用后台「第三方服务配置」里启用的 MT 服务(类别3),
|
|
// 云账号凭据因此不必下发到客户端。
|
|
// 路由 user_translate
|
|
type UserTranslateReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` //待翻译原文
|
|
From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` //源语言(BCP-47,如 zh-CN;服务端会归一成服务商要的短码)。**留空 = 自动检测**
|
|
To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` //目标语言(BCP-47)
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserTranslateReq) Reset() {
|
|
*x = UserTranslateReq{}
|
|
mi := &file_user_user_msg_proto_msgTypes[51]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserTranslateReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserTranslateReq) ProtoMessage() {}
|
|
|
|
func (x *UserTranslateReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[51]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserTranslateReq.ProtoReflect.Descriptor instead.
|
|
func (*UserTranslateReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{51}
|
|
}
|
|
|
|
func (x *UserTranslateReq) GetText() string {
|
|
if x != nil {
|
|
return x.Text
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserTranslateReq) GetFrom() string {
|
|
if x != nil {
|
|
return x.From
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserTranslateReq) GetTo() string {
|
|
if x != nil {
|
|
return x.To
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UserTranslateResp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` //译文
|
|
Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` //实际使用的服务商,便于排查
|
|
Svcid string `protobuf:"bytes,3,opt,name=svcid,proto3" json:"svcid,omitempty"` //实际使用的服务配置 id
|
|
DetectedFrom string `protobuf:"bytes,4,opt,name=detected_from,json=detectedFrom,proto3" json:"detected_from,omitempty"` //from 传空(自动检测)时,服务商检测出的源语种短码;否则为空
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserTranslateResp) Reset() {
|
|
*x = UserTranslateResp{}
|
|
mi := &file_user_user_msg_proto_msgTypes[52]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserTranslateResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserTranslateResp) ProtoMessage() {}
|
|
|
|
func (x *UserTranslateResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[52]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserTranslateResp.ProtoReflect.Descriptor instead.
|
|
func (*UserTranslateResp) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{52}
|
|
}
|
|
|
|
func (x *UserTranslateResp) GetText() string {
|
|
if x != nil {
|
|
return x.Text
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserTranslateResp) GetProvider() string {
|
|
if x != nil {
|
|
return x.Provider
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserTranslateResp) GetSvcid() string {
|
|
if x != nil {
|
|
return x.Svcid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserTranslateResp) GetDetectedFrom() string {
|
|
if x != nil {
|
|
return x.DetectedFrom
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// 请求文件上传地址(录音、聊天图片等一切客户端产生的文件)
|
|
//
|
|
// 客户端**不再持有对象存储的长期密钥**:由服务端读【第三方服务配置 → 存储】
|
|
// 里启用的阿里云 OSS 配置,签发一个短时效的预签名 PUT URL,客户端拿着它直传。
|
|
// object key 由服务端强制拼成 EAIMAR/User/<uid>/<scene>/<日期>/<随机>.<ext>,
|
|
// uid 取自会话不采信客户端,所以一个用户传不到别人的目录下。
|
|
// 路由 user_getuploadurl
|
|
type UserGetUploadUrlReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Scene string `protobuf:"bytes,1,opt,name=scene,proto3" json:"scene,omitempty"` //用途,决定 object key 里那一段目录:LocalAudio(录音) / ChatImages(聊天图片)
|
|
Filename string `protobuf:"bytes,2,opt,name=filename,proto3" json:"filename,omitempty"` //原文件名,服务端只取它的扩展名,目录部分一律丢弃
|
|
Contenttype string `protobuf:"bytes,3,opt,name=contenttype,proto3" json:"contenttype,omitempty"` //可选。留空则由服务端按扩展名推断,推断结果随响应回带
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserGetUploadUrlReq) Reset() {
|
|
*x = UserGetUploadUrlReq{}
|
|
mi := &file_user_user_msg_proto_msgTypes[53]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserGetUploadUrlReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserGetUploadUrlReq) ProtoMessage() {}
|
|
|
|
func (x *UserGetUploadUrlReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[53]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserGetUploadUrlReq.ProtoReflect.Descriptor instead.
|
|
func (*UserGetUploadUrlReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{53}
|
|
}
|
|
|
|
func (x *UserGetUploadUrlReq) GetScene() string {
|
|
if x != nil {
|
|
return x.Scene
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserGetUploadUrlReq) GetFilename() string {
|
|
if x != nil {
|
|
return x.Filename
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserGetUploadUrlReq) GetContenttype() string {
|
|
if x != nil {
|
|
return x.Contenttype
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UserGetUploadUrlResp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Uploadurl string `protobuf:"bytes,1,opt,name=uploadurl,proto3" json:"uploadurl,omitempty"` //预签名 PUT URL,客户端直接 PUT 文件体到这个地址
|
|
Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` //上传成功后的访问地址(配了自定义域名就走域名)
|
|
Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` //object key,排查用
|
|
Contenttype string `protobuf:"bytes,4,opt,name=contenttype,proto3" json:"contenttype,omitempty"` //⚠️ PUT 时必须带这个 Content-Type,它计入了签名,不一致会 403
|
|
Expiresec int64 `protobuf:"varint,5,opt,name=expiresec,proto3" json:"expiresec,omitempty"` //预签名有效期(秒),超时要重新申请
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserGetUploadUrlResp) Reset() {
|
|
*x = UserGetUploadUrlResp{}
|
|
mi := &file_user_user_msg_proto_msgTypes[54]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserGetUploadUrlResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserGetUploadUrlResp) ProtoMessage() {}
|
|
|
|
func (x *UserGetUploadUrlResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[54]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserGetUploadUrlResp.ProtoReflect.Descriptor instead.
|
|
func (*UserGetUploadUrlResp) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{54}
|
|
}
|
|
|
|
func (x *UserGetUploadUrlResp) GetUploadurl() string {
|
|
if x != nil {
|
|
return x.Uploadurl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserGetUploadUrlResp) GetUrl() string {
|
|
if x != nil {
|
|
return x.Url
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserGetUploadUrlResp) GetKey() string {
|
|
if x != nil {
|
|
return x.Key
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserGetUploadUrlResp) GetContenttype() string {
|
|
if x != nil {
|
|
return x.Contenttype
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserGetUploadUrlResp) GetExpiresec() int64 {
|
|
if x != nil {
|
|
return x.Expiresec
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// 申请 MCP 访问令牌
|
|
//
|
|
// EMAI 助手在百炼那边调我们的 MCP 工具时,需要知道「这是哪个用户」。
|
|
// 但这条路上没有任何地方能带用户身份:客户端连百炼只带百炼的 API Key,
|
|
// 百炼调 MCP 的 Authorization 头是控制台里配死的、所有用户共用。
|
|
// 唯一可行的通道是 Start 指令的 biz_params.user_defined_params(协议里明确说
|
|
// 「透传给 agent 和 mcp 服务的参数」),它会作为工具参数交到 MCP 手上。
|
|
//
|
|
// ⚠️ 因此这里签发的是**短时效、仅限 MCP 用途**的令牌,绝不能直接把登录 JWT
|
|
// 丢进去——那东西等价于账号的全部权限,而这条链路要经过百炼(第三方)。
|
|
// 本令牌即使泄露,也只能读该用户的会议纪要/待办这类只读工具。
|
|
// 路由 user_getmcptoken
|
|
type UserGetMcpTokenReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserGetMcpTokenReq) Reset() {
|
|
*x = UserGetMcpTokenReq{}
|
|
mi := &file_user_user_msg_proto_msgTypes[55]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserGetMcpTokenReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserGetMcpTokenReq) ProtoMessage() {}
|
|
|
|
func (x *UserGetMcpTokenReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[55]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserGetMcpTokenReq.ProtoReflect.Descriptor instead.
|
|
func (*UserGetMcpTokenReq) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{55}
|
|
}
|
|
|
|
type UserGetMcpTokenResp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token"` //@go_tags(`json:"token"`) 放进 biz_params.user_defined_params 交给百炼
|
|
Expiresat int64 `protobuf:"varint,2,opt,name=expiresat,proto3" json:"expiresat"` //@go_tags(`json:"expiresat"`) 过期时刻(unix秒),客户端据此提前续签
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserGetMcpTokenResp) Reset() {
|
|
*x = UserGetMcpTokenResp{}
|
|
mi := &file_user_user_msg_proto_msgTypes[56]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserGetMcpTokenResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserGetMcpTokenResp) ProtoMessage() {}
|
|
|
|
func (x *UserGetMcpTokenResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_user_user_msg_proto_msgTypes[56]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserGetMcpTokenResp.ProtoReflect.Descriptor instead.
|
|
func (*UserGetMcpTokenResp) Descriptor() ([]byte, []int) {
|
|
return file_user_user_msg_proto_rawDescGZIP(), []int{56}
|
|
}
|
|
|
|
func (x *UserGetMcpTokenResp) GetToken() string {
|
|
if x != nil {
|
|
return x.Token
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserGetMcpTokenResp) GetExpiresat() int64 {
|
|
if x != nil {
|
|
return x.Expiresat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
var File_user_user_msg_proto protoreflect.FileDescriptor
|
|
|
|
const file_user_user_msg_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x13user/user_msg.proto\x1a\x12user/user_db.proto\x1a\bdb.proto\x1a\n" +
|
|
"enum.proto\"\xcc\x02\n" +
|
|
"\vUserSginReq\x12\x1f\n" +
|
|
"\x05stype\x18\x01 \x01(\x0e2\t.SginTyoeR\x05stype\x12\x12\n" +
|
|
"\x04mail\x18\x02 \x01(\tR\x04mail\x12\x14\n" +
|
|
"\x05phone\x18\x03 \x01(\tR\x05phone\x12\x16\n" +
|
|
"\x06ttoken\x18\x04 \x01(\tR\x06ttoken\x12\x14\n" +
|
|
"\x05vcode\x18\x05 \x01(\tR\x05vcode\x12\x1e\n" +
|
|
"\n" +
|
|
"phonemodel\x18\n" +
|
|
" \x01(\tR\n" +
|
|
"phonemodel\x12\x1a\n" +
|
|
"\bphonemac\x18\v \x01(\tR\bphonemac\x12\x12\n" +
|
|
"\x04name\x18\x14 \x01(\tR\x04name\x12\x16\n" +
|
|
"\x06avatar\x18\x15 \x01(\tR\x06avatar\x12\x1a\n" +
|
|
"\blanguage\x18\x16 \x01(\tR\blanguage\x12&\n" +
|
|
"\achannel\x18\x17 \x01(\x0e2\f.UserChannelR\achannel\x12\x18\n" +
|
|
"\aversion\x18\x18 \x01(\tR\aversion\"j\n" +
|
|
"\fUserSginResp\x12\x14\n" +
|
|
"\x05token\x18\x01 \x01(\tR\x05token\x12\x1b\n" +
|
|
"\x04user\x18\x02 \x01(\v2\a.DBUserR\x04user\x12'\n" +
|
|
"\adevices\x18\x03 \x03(\v2\r.DBUserDiviceR\adevices\"?\n" +
|
|
"\x13UserVerificationReq\x12\x14\n" +
|
|
"\x05vtype\x18\x01 \x01(\x05R\x05vtype\x12\x12\n" +
|
|
"\x04addr\x18\x02 \x01(\tR\x04addr\"\x16\n" +
|
|
"\x14UserVerificationResp\"R\n" +
|
|
"\x0eUserGetInfoReq\x12\x18\n" +
|
|
"\aversion\x18\x01 \x01(\tR\aversion\x12&\n" +
|
|
"\achannel\x18\x02 \x01(\x0e2\f.UserChannelR\achannel\"W\n" +
|
|
"\x0fUserGetInfoResp\x12\x1b\n" +
|
|
"\x04user\x18\x01 \x01(\v2\a.DBUserR\x04user\x12'\n" +
|
|
"\adevices\x18\x02 \x03(\v2\r.DBUserDiviceR\adevices\"n\n" +
|
|
"\x0eUserSettingReq\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12\x1a\n" +
|
|
"\blanguage\x18\x02 \x01(\tR\blanguage\x12\x14\n" +
|
|
"\x05image\x18\x03 \x01(\tR\x05image\x12\x16\n" +
|
|
"\x06gender\x18\x04 \x01(\tR\x06gender\"q\n" +
|
|
"\x0fUserSettingResp\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12\x1a\n" +
|
|
"\blanguage\x18\x02 \x01(\tR\blanguage\x12\x16\n" +
|
|
"\x06avatar\x18\x03 \x01(\tR\x06avatar\x12\x16\n" +
|
|
"\x06gender\x18\x04 \x01(\x05R\x06gender\"\x91\x01\n" +
|
|
"\x11UserBindDeviceReq\x12\x10\n" +
|
|
"\x03pid\x18\x01 \x01(\x05R\x03pid\x12\x12\n" +
|
|
"\x04code\x18\x02 \x01(\tR\x04code\x12\x1e\n" +
|
|
"\n" +
|
|
"devicename\x18\x03 \x01(\tR\n" +
|
|
"devicename\x12\x1c\n" +
|
|
"\tdevicemac\x18\x04 \x01(\tR\tdevicemac\x12\x18\n" +
|
|
"\aversion\x18\x05 \x01(\tR\aversion\"\x93\x03\n" +
|
|
"\x12UserBindDeviceResp\x12%\n" +
|
|
"\x06device\x18\x01 \x01(\v2\r.DBUserDiviceR\x06device\x12\x1e\n" +
|
|
"\n" +
|
|
"isgiveaway\x18\x02 \x01(\bR\n" +
|
|
"isgiveaway\x12\x14\n" +
|
|
"\x05viplv\x18\x03 \x01(\x05R\x05viplv\x12\x1e\n" +
|
|
"\n" +
|
|
"vipexptime\x18\x04 \x01(\x03R\n" +
|
|
"vipexptime\x12&\n" +
|
|
"\x0eaichatintegral\x18\x05 \x01(\x03R\x0eaichatintegral\x120\n" +
|
|
"\x13aichattotalintegral\x18\x06 \x01(\x03R\x13aichattotalintegral\x12$\n" +
|
|
"\rtradeintegral\x18\a \x01(\x03R\rtradeintegral\x12.\n" +
|
|
"\x12tradetotalintegral\x18\b \x01(\x03R\x12tradetotalintegral\x12\"\n" +
|
|
"\fmeetintegral\x18\t \x01(\x03R\fmeetintegral\x12,\n" +
|
|
"\x11meettotalintegral\x18\n" +
|
|
" \x01(\x03R\x11meettotalintegral\"%\n" +
|
|
"\x13UserUnBindDeviceReq\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x04R\x02id\"\x16\n" +
|
|
"\x14UserUnBindDeviceResp\"g\n" +
|
|
"\x13UserBindAuthCodeReq\x12\x12\n" +
|
|
"\x04code\x18\x01 \x01(\tR\x04code\x12\x1e\n" +
|
|
"\n" +
|
|
"devicename\x18\x02 \x01(\tR\n" +
|
|
"devicename\x12\x1c\n" +
|
|
"\tdevicemac\x18\x03 \x01(\tR\tdevicemac\"\xe3\x03\n" +
|
|
"\x14UserBindAuthCodeResp\x12%\n" +
|
|
"\x06device\x18\x01 \x01(\v2\r.DBUserDiviceR\x06device\x12\x1e\n" +
|
|
"\n" +
|
|
"isgiveaway\x18\x02 \x01(\bR\n" +
|
|
"isgiveaway\x12\x14\n" +
|
|
"\x05viplv\x18\x03 \x01(\x05R\x05viplv\x12\x1e\n" +
|
|
"\n" +
|
|
"vipexptime\x18\x04 \x01(\x03R\n" +
|
|
"vipexptime\x12$\n" +
|
|
"\rtradeintegral\x18\x05 \x01(\x03R\rtradeintegral\x12.\n" +
|
|
"\x12tradetotalintegral\x18\x06 \x01(\x03R\x12tradetotalintegral\x12\"\n" +
|
|
"\fmeetintegral\x18\a \x01(\x03R\fmeetintegral\x12,\n" +
|
|
"\x11meettotalintegral\x18\b \x01(\x03R\x11meettotalintegral\x12\x1c\n" +
|
|
"\taddvipday\x18\t \x01(\x03R\taddvipday\x12&\n" +
|
|
"\x0eaddtradesecond\x18\n" +
|
|
" \x01(\x03R\x0eaddtradesecond\x12$\n" +
|
|
"\raddmeetsecond\x18\v \x01(\x03R\raddmeetsecond\x12\x1c\n" +
|
|
"\tfactoryid\x18\f \x01(\rR\tfactoryid\x12\x1c\n" +
|
|
"\tproductid\x18\r \x01(\rR\tproductid\"\f\n" +
|
|
"\n" +
|
|
"UserDelReq\"\r\n" +
|
|
"\vUserDelResp\"+\n" +
|
|
"\x0fUserFeedbackReq\x12\x18\n" +
|
|
"\amessage\x18\x01 \x01(\tR\amessage\"\x12\n" +
|
|
"\x10UserFeedbackResp\"\x15\n" +
|
|
"\x13UserGetAppConfigReq\"w\n" +
|
|
"\tMcpServer\x12\x1e\n" +
|
|
"\n" +
|
|
"servername\x18\x01 \x01(\tR\n" +
|
|
"servername\x12\x10\n" +
|
|
"\x03url\x18\x02 \x01(\tR\x03url\x12\"\n" +
|
|
"\x04type\x18\x03 \x01(\x0e2\x0e.MCPServerTypeR\x04type\x12\x14\n" +
|
|
"\x05tools\x18\x04 \x01(\tR\x05tools\"\xc4\x02\n" +
|
|
"\x14UserGetAppConfigResp\x120\n" +
|
|
"\x03env\x18\x01 \x03(\v2\x1e.UserGetAppConfigResp.EnvEntryR\x03env\x12 \n" +
|
|
"\x06agents\x18\x02 \x03(\v2\b.DBAgentR\x06agents\x123\n" +
|
|
"\x04mcps\x18\x03 \x03(\v2\x1f.UserGetAppConfigResp.McpsEntryR\x04mcps\x12&\n" +
|
|
"\bproducts\x18\x04 \x03(\v2\n" +
|
|
".DBProductR\bproducts\x1a6\n" +
|
|
"\bEnvEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
|
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\x1aC\n" +
|
|
"\tMcpsEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12 \n" +
|
|
"\x05value\x18\x02 \x01(\v2\n" +
|
|
".McpServerR\x05value:\x028\x01\"#\n" +
|
|
"\x11UserGetProductReq\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x05R\x02id\":\n" +
|
|
"\x12UserGetProductResp\x12$\n" +
|
|
"\aproduct\x18\x01 \x01(\v2\n" +
|
|
".DBProductR\aproduct\"-\n" +
|
|
"\x19UserGetProductVersionsReq\x12\x10\n" +
|
|
"\x03pid\x18\x01 \x01(\rR\x03pid\"K\n" +
|
|
"\x1aUserGetProductVersionsResp\x12-\n" +
|
|
"\bversions\x18\x01 \x03(\v2\x11.DBProductVersionR\bversions\"\x94\x01\n" +
|
|
"\x16UserReportAIContentReq\x12\x1e\n" +
|
|
"\n" +
|
|
"reporttype\x18\x01 \x01(\tR\n" +
|
|
"reporttype\x12\x1a\n" +
|
|
"\bdescribe\x18\x02 \x01(\tR\bdescribe\x12\x18\n" +
|
|
"\amessage\x18\x03 \x03(\tR\amessage\x12$\n" +
|
|
"\rreportContent\x18\x04 \x01(\tR\rreportContent\"\x19\n" +
|
|
"\x17UserReportAIContentResp\"1\n" +
|
|
"\x15UserGetChannelAppsReq\x12\x18\n" +
|
|
"\aversion\x18\x01 \x01(\tR\aversion\";\n" +
|
|
"\x16UserGetChannelAppsResp\x12!\n" +
|
|
"\x04apps\x18\x01 \x03(\v2\r.DBChannelAppR\x04apps\"J\n" +
|
|
"\x14UserGetChannelAppReq\x12\x18\n" +
|
|
"\achannel\x18\x01 \x01(\x05R\achannel\x12\x18\n" +
|
|
"\aversion\x18\x02 \x01(\tR\aversion\"\x98\x01\n" +
|
|
"\x15UserGetChannelAppResp\x12\x1f\n" +
|
|
"\x03app\x18\x01 \x01(\v2\r.DBChannelAppR\x03app\x12\x1e\n" +
|
|
"\n" +
|
|
"needupdate\x18\x02 \x01(\bR\n" +
|
|
"needupdate\x12 \n" +
|
|
"\vforceupdate\x18\x03 \x01(\bR\vforceupdate\x12\x1c\n" +
|
|
"\treviewing\x18\x04 \x01(\bR\treviewing\"\x8a\x01\n" +
|
|
"\x11UserPushActionReq\x129\n" +
|
|
"\aactions\x18\x01 \x03(\v2\x1f.UserPushActionReq.ActionsEntryR\aactions\x1a:\n" +
|
|
"\fActionsEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
|
"\x05value\x18\x02 \x01(\x05R\x05value:\x028\x01\"\x14\n" +
|
|
"\x12UserPushActionResp\"\x13\n" +
|
|
"\x11UserGetDevicesReq\"=\n" +
|
|
"\x12UserGetDevicesResp\x12'\n" +
|
|
"\adevices\x18\x01 \x03(\v2\r.DBUserDiviceR\adevices\"\xa8\x01\n" +
|
|
"\rUserUsagesReq\x12(\n" +
|
|
"\tusagetype\x18\x01 \x01(\x0e2\n" +
|
|
".UsageTypeR\tusagetype\x122\n" +
|
|
"\x06usages\x18\x02 \x03(\v2\x1a.UserUsagesReq.UsagesEntryR\x06usages\x1a9\n" +
|
|
"\vUsagesEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
|
"\x05value\x18\x02 \x01(\x03R\x05value:\x028\x01\"\x80\x01\n" +
|
|
"\x0eUserUsagesResp\x123\n" +
|
|
"\x06usages\x18\x01 \x03(\v2\x1b.UserUsagesResp.UsagesEntryR\x06usages\x1a9\n" +
|
|
"\vUsagesEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\x05R\x03key\x12\x14\n" +
|
|
"\x05value\x18\x02 \x01(\x03R\x05value:\x028\x01\"\x18\n" +
|
|
"\x16UserGetWakeupVoicesReq\"A\n" +
|
|
"\x17UserGetWakeupVoicesResp\x12&\n" +
|
|
"\x06voices\x18\x01 \x03(\v2\x0e.DBWakeupVoiceR\x06voices\"\x16\n" +
|
|
"\x14UserGetStatisticsReq\"J\n" +
|
|
"\x15UserGetStatisticsResp\x121\n" +
|
|
"\n" +
|
|
"statistics\x18\x01 \x01(\v2\x11.DBUserStatisticsR\n" +
|
|
"statistics\"\x16\n" +
|
|
"\x14UserGetAppSettingReq\"E\n" +
|
|
"\x15UserGetAppSettingResp\x12,\n" +
|
|
"\asetting\x18\x01 \x01(\v2\x12.DBUuserAppSettingR\asetting\"G\n" +
|
|
"\x17UserUpdateAppSettingReq\x12,\n" +
|
|
"\asetting\x18\x01 \x01(\v2\x12.DBUuserAppSettingR\asetting\"\x1a\n" +
|
|
"\x18UserUpdateAppSettingResp\"J\n" +
|
|
"\x1aUserUpdateDeviceSettingReq\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x04R\x02id\x12\x1c\n" +
|
|
"\tlxsetting\x18\x02 \x01(\tR\tlxsetting\"K\n" +
|
|
"\x1bUserUpdateDeviceSettingResp\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x04R\x02id\x12\x1c\n" +
|
|
"\tlxsetting\x18\x02 \x01(\tR\tlxsetting\"I\n" +
|
|
"\x0fUserIdVerifyReq\x12\x1a\n" +
|
|
"\brealname\x18\x01 \x01(\tR\brealname\x12\x1a\n" +
|
|
"\bidcardno\x18\x02 \x01(\tR\bidcardno\"\xa2\x01\n" +
|
|
"\x10UserIdVerifyResp\x12\x1a\n" +
|
|
"\bverified\x18\x01 \x01(\bR\bverified\x12\x1a\n" +
|
|
"\brealname\x18\x02 \x01(\tR\brealname\x12\x1e\n" +
|
|
"\n" +
|
|
"idcardmask\x18\x03 \x01(\tR\n" +
|
|
"idcardmask\x12\x1e\n" +
|
|
"\n" +
|
|
"verifytime\x18\x04 \x01(\x03R\n" +
|
|
"verifytime\x12\x16\n" +
|
|
"\x06gender\x18\x05 \x01(\x05R\x06gender\"\x14\n" +
|
|
"\x12UserGetIdVerifyReq\"\x8d\x01\n" +
|
|
"\x13UserGetIdVerifyResp\x12\x1a\n" +
|
|
"\bverified\x18\x01 \x01(\bR\bverified\x12\x1a\n" +
|
|
"\brealname\x18\x02 \x01(\tR\brealname\x12\x1e\n" +
|
|
"\n" +
|
|
"idcardmask\x18\x03 \x01(\tR\n" +
|
|
"idcardmask\x12\x1e\n" +
|
|
"\n" +
|
|
"verifytime\x18\x04 \x01(\x03R\n" +
|
|
"verifytime\"J\n" +
|
|
"\x10UserTranslateReq\x12\x12\n" +
|
|
"\x04text\x18\x01 \x01(\tR\x04text\x12\x12\n" +
|
|
"\x04from\x18\x02 \x01(\tR\x04from\x12\x0e\n" +
|
|
"\x02to\x18\x03 \x01(\tR\x02to\"~\n" +
|
|
"\x11UserTranslateResp\x12\x12\n" +
|
|
"\x04text\x18\x01 \x01(\tR\x04text\x12\x1a\n" +
|
|
"\bprovider\x18\x02 \x01(\tR\bprovider\x12\x14\n" +
|
|
"\x05svcid\x18\x03 \x01(\tR\x05svcid\x12#\n" +
|
|
"\rdetected_from\x18\x04 \x01(\tR\fdetectedFrom\"i\n" +
|
|
"\x13UserGetUploadUrlReq\x12\x14\n" +
|
|
"\x05scene\x18\x01 \x01(\tR\x05scene\x12\x1a\n" +
|
|
"\bfilename\x18\x02 \x01(\tR\bfilename\x12 \n" +
|
|
"\vcontenttype\x18\x03 \x01(\tR\vcontenttype\"\x98\x01\n" +
|
|
"\x14UserGetUploadUrlResp\x12\x1c\n" +
|
|
"\tuploadurl\x18\x01 \x01(\tR\tuploadurl\x12\x10\n" +
|
|
"\x03url\x18\x02 \x01(\tR\x03url\x12\x10\n" +
|
|
"\x03key\x18\x03 \x01(\tR\x03key\x12 \n" +
|
|
"\vcontenttype\x18\x04 \x01(\tR\vcontenttype\x12\x1c\n" +
|
|
"\texpiresec\x18\x05 \x01(\x03R\texpiresec\"\x14\n" +
|
|
"\x12UserGetMcpTokenReq\"I\n" +
|
|
"\x13UserGetMcpTokenResp\x12\x14\n" +
|
|
"\x05token\x18\x01 \x01(\tR\x05token\x12\x1c\n" +
|
|
"\texpiresat\x18\x02 \x01(\x03R\texpiresatB\x06Z\x04.;pbb\x06proto3"
|
|
|
|
var (
|
|
file_user_user_msg_proto_rawDescOnce sync.Once
|
|
file_user_user_msg_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_user_user_msg_proto_rawDescGZIP() []byte {
|
|
file_user_user_msg_proto_rawDescOnce.Do(func() {
|
|
file_user_user_msg_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_user_user_msg_proto_rawDesc), len(file_user_user_msg_proto_rawDesc)))
|
|
})
|
|
return file_user_user_msg_proto_rawDescData
|
|
}
|
|
|
|
var file_user_user_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 62)
|
|
var file_user_user_msg_proto_goTypes = []any{
|
|
(*UserSginReq)(nil), // 0: UserSginReq
|
|
(*UserSginResp)(nil), // 1: UserSginResp
|
|
(*UserVerificationReq)(nil), // 2: UserVerificationReq
|
|
(*UserVerificationResp)(nil), // 3: UserVerificationResp
|
|
(*UserGetInfoReq)(nil), // 4: UserGetInfoReq
|
|
(*UserGetInfoResp)(nil), // 5: UserGetInfoResp
|
|
(*UserSettingReq)(nil), // 6: UserSettingReq
|
|
(*UserSettingResp)(nil), // 7: UserSettingResp
|
|
(*UserBindDeviceReq)(nil), // 8: UserBindDeviceReq
|
|
(*UserBindDeviceResp)(nil), // 9: UserBindDeviceResp
|
|
(*UserUnBindDeviceReq)(nil), // 10: UserUnBindDeviceReq
|
|
(*UserUnBindDeviceResp)(nil), // 11: UserUnBindDeviceResp
|
|
(*UserBindAuthCodeReq)(nil), // 12: UserBindAuthCodeReq
|
|
(*UserBindAuthCodeResp)(nil), // 13: UserBindAuthCodeResp
|
|
(*UserDelReq)(nil), // 14: UserDelReq
|
|
(*UserDelResp)(nil), // 15: UserDelResp
|
|
(*UserFeedbackReq)(nil), // 16: UserFeedbackReq
|
|
(*UserFeedbackResp)(nil), // 17: UserFeedbackResp
|
|
(*UserGetAppConfigReq)(nil), // 18: UserGetAppConfigReq
|
|
(*McpServer)(nil), // 19: McpServer
|
|
(*UserGetAppConfigResp)(nil), // 20: UserGetAppConfigResp
|
|
(*UserGetProductReq)(nil), // 21: UserGetProductReq
|
|
(*UserGetProductResp)(nil), // 22: UserGetProductResp
|
|
(*UserGetProductVersionsReq)(nil), // 23: UserGetProductVersionsReq
|
|
(*UserGetProductVersionsResp)(nil), // 24: UserGetProductVersionsResp
|
|
(*UserReportAIContentReq)(nil), // 25: UserReportAIContentReq
|
|
(*UserReportAIContentResp)(nil), // 26: UserReportAIContentResp
|
|
(*UserGetChannelAppsReq)(nil), // 27: UserGetChannelAppsReq
|
|
(*UserGetChannelAppsResp)(nil), // 28: UserGetChannelAppsResp
|
|
(*UserGetChannelAppReq)(nil), // 29: UserGetChannelAppReq
|
|
(*UserGetChannelAppResp)(nil), // 30: UserGetChannelAppResp
|
|
(*UserPushActionReq)(nil), // 31: UserPushActionReq
|
|
(*UserPushActionResp)(nil), // 32: UserPushActionResp
|
|
(*UserGetDevicesReq)(nil), // 33: UserGetDevicesReq
|
|
(*UserGetDevicesResp)(nil), // 34: UserGetDevicesResp
|
|
(*UserUsagesReq)(nil), // 35: UserUsagesReq
|
|
(*UserUsagesResp)(nil), // 36: UserUsagesResp
|
|
(*UserGetWakeupVoicesReq)(nil), // 37: UserGetWakeupVoicesReq
|
|
(*UserGetWakeupVoicesResp)(nil), // 38: UserGetWakeupVoicesResp
|
|
(*UserGetStatisticsReq)(nil), // 39: UserGetStatisticsReq
|
|
(*UserGetStatisticsResp)(nil), // 40: UserGetStatisticsResp
|
|
(*UserGetAppSettingReq)(nil), // 41: UserGetAppSettingReq
|
|
(*UserGetAppSettingResp)(nil), // 42: UserGetAppSettingResp
|
|
(*UserUpdateAppSettingReq)(nil), // 43: UserUpdateAppSettingReq
|
|
(*UserUpdateAppSettingResp)(nil), // 44: UserUpdateAppSettingResp
|
|
(*UserUpdateDeviceSettingReq)(nil), // 45: UserUpdateDeviceSettingReq
|
|
(*UserUpdateDeviceSettingResp)(nil), // 46: UserUpdateDeviceSettingResp
|
|
(*UserIdVerifyReq)(nil), // 47: UserIdVerifyReq
|
|
(*UserIdVerifyResp)(nil), // 48: UserIdVerifyResp
|
|
(*UserGetIdVerifyReq)(nil), // 49: UserGetIdVerifyReq
|
|
(*UserGetIdVerifyResp)(nil), // 50: UserGetIdVerifyResp
|
|
(*UserTranslateReq)(nil), // 51: UserTranslateReq
|
|
(*UserTranslateResp)(nil), // 52: UserTranslateResp
|
|
(*UserGetUploadUrlReq)(nil), // 53: UserGetUploadUrlReq
|
|
(*UserGetUploadUrlResp)(nil), // 54: UserGetUploadUrlResp
|
|
(*UserGetMcpTokenReq)(nil), // 55: UserGetMcpTokenReq
|
|
(*UserGetMcpTokenResp)(nil), // 56: UserGetMcpTokenResp
|
|
nil, // 57: UserGetAppConfigResp.EnvEntry
|
|
nil, // 58: UserGetAppConfigResp.McpsEntry
|
|
nil, // 59: UserPushActionReq.ActionsEntry
|
|
nil, // 60: UserUsagesReq.UsagesEntry
|
|
nil, // 61: UserUsagesResp.UsagesEntry
|
|
(SginTyoe)(0), // 62: SginTyoe
|
|
(UserChannel)(0), // 63: UserChannel
|
|
(*DBUser)(nil), // 64: DBUser
|
|
(*DBUserDivice)(nil), // 65: DBUserDivice
|
|
(MCPServerType)(0), // 66: MCPServerType
|
|
(*DBAgent)(nil), // 67: DBAgent
|
|
(*DBProduct)(nil), // 68: DBProduct
|
|
(*DBProductVersion)(nil), // 69: DBProductVersion
|
|
(*DBChannelApp)(nil), // 70: DBChannelApp
|
|
(UsageType)(0), // 71: UsageType
|
|
(*DBWakeupVoice)(nil), // 72: DBWakeupVoice
|
|
(*DBUserStatistics)(nil), // 73: DBUserStatistics
|
|
(*DBUuserAppSetting)(nil), // 74: DBUuserAppSetting
|
|
}
|
|
var file_user_user_msg_proto_depIdxs = []int32{
|
|
62, // 0: UserSginReq.stype:type_name -> SginTyoe
|
|
63, // 1: UserSginReq.channel:type_name -> UserChannel
|
|
64, // 2: UserSginResp.user:type_name -> DBUser
|
|
65, // 3: UserSginResp.devices:type_name -> DBUserDivice
|
|
63, // 4: UserGetInfoReq.channel:type_name -> UserChannel
|
|
64, // 5: UserGetInfoResp.user:type_name -> DBUser
|
|
65, // 6: UserGetInfoResp.devices:type_name -> DBUserDivice
|
|
65, // 7: UserBindDeviceResp.device:type_name -> DBUserDivice
|
|
65, // 8: UserBindAuthCodeResp.device:type_name -> DBUserDivice
|
|
66, // 9: McpServer.type:type_name -> MCPServerType
|
|
57, // 10: UserGetAppConfigResp.env:type_name -> UserGetAppConfigResp.EnvEntry
|
|
67, // 11: UserGetAppConfigResp.agents:type_name -> DBAgent
|
|
58, // 12: UserGetAppConfigResp.mcps:type_name -> UserGetAppConfigResp.McpsEntry
|
|
68, // 13: UserGetAppConfigResp.products:type_name -> DBProduct
|
|
68, // 14: UserGetProductResp.product:type_name -> DBProduct
|
|
69, // 15: UserGetProductVersionsResp.versions:type_name -> DBProductVersion
|
|
70, // 16: UserGetChannelAppsResp.apps:type_name -> DBChannelApp
|
|
70, // 17: UserGetChannelAppResp.app:type_name -> DBChannelApp
|
|
59, // 18: UserPushActionReq.actions:type_name -> UserPushActionReq.ActionsEntry
|
|
65, // 19: UserGetDevicesResp.devices:type_name -> DBUserDivice
|
|
71, // 20: UserUsagesReq.usagetype:type_name -> UsageType
|
|
60, // 21: UserUsagesReq.usages:type_name -> UserUsagesReq.UsagesEntry
|
|
61, // 22: UserUsagesResp.usages:type_name -> UserUsagesResp.UsagesEntry
|
|
72, // 23: UserGetWakeupVoicesResp.voices:type_name -> DBWakeupVoice
|
|
73, // 24: UserGetStatisticsResp.statistics:type_name -> DBUserStatistics
|
|
74, // 25: UserGetAppSettingResp.setting:type_name -> DBUuserAppSetting
|
|
74, // 26: UserUpdateAppSettingReq.setting:type_name -> DBUuserAppSetting
|
|
19, // 27: UserGetAppConfigResp.McpsEntry.value:type_name -> McpServer
|
|
28, // [28:28] is the sub-list for method output_type
|
|
28, // [28:28] is the sub-list for method input_type
|
|
28, // [28:28] is the sub-list for extension type_name
|
|
28, // [28:28] is the sub-list for extension extendee
|
|
0, // [0:28] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_user_user_msg_proto_init() }
|
|
func file_user_user_msg_proto_init() {
|
|
if File_user_user_msg_proto != nil {
|
|
return
|
|
}
|
|
file_user_user_db_proto_init()
|
|
file_db_proto_init()
|
|
file_enum_proto_init()
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_user_user_msg_proto_rawDesc), len(file_user_user_msg_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 62,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_user_user_msg_proto_goTypes,
|
|
DependencyIndexes: file_user_user_msg_proto_depIdxs,
|
|
MessageInfos: file_user_user_msg_proto_msgTypes,
|
|
}.Build()
|
|
File_user_user_msg_proto = out.File
|
|
file_user_user_msg_proto_goTypes = nil
|
|
file_user_user_msg_proto_depIdxs = nil
|
|
}
|
|
|