1312 lines
39 KiB
Go
1312 lines
39 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.8
|
|
// protoc (unknown)
|
|
// source: feedback.proto
|
|
|
|
package feedback
|
|
|
|
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 ListRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` // 页码,默认第一页
|
|
Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` // 单页显示数量,默认10,最多50
|
|
UserIdentity string `protobuf:"bytes,3,opt,name=user_identity,proto3" json:"user_identity,omitempty"` //用户唯一`标识,可选
|
|
UserName string `protobuf:"bytes,4,opt,name=user_name,proto3" json:"user_name,omitempty"` // 用户名称,可选
|
|
Status int32 `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"` // 条目状态,可选,默认0,全部查找
|
|
Category string `protobuf:"bytes,6,opt,name=category,proto3" json:"category,omitempty"` //业务类型: 1,意见/2,反馈/3,申述等,默认0 调用方传
|
|
Email string `protobuf:"bytes,7,opt,name=email,proto3" json:"email,omitempty"` // 邮箱
|
|
Phone string `protobuf:"bytes,8,opt,name=phone,proto3" json:"phone,omitempty"` // 手机号码
|
|
StoreIdentity string `protobuf:"bytes,9,opt,name=store_identity,proto3" json:"store_identity,omitempty"` // 店铺标识
|
|
Agency string `protobuf:"bytes,10,opt,name=agency,proto3" json:"agency,omitempty"` // 代理
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListRequest) Reset() {
|
|
*x = ListRequest{}
|
|
mi := &file_feedback_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListRequest) ProtoMessage() {}
|
|
|
|
func (x *ListRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_feedback_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 ListRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListRequest) Descriptor() ([]byte, []int) {
|
|
return file_feedback_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *ListRequest) GetPage() int64 {
|
|
if x != nil {
|
|
return x.Page
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListRequest) GetSize() int64 {
|
|
if x != nil {
|
|
return x.Size
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListRequest) GetUserIdentity() string {
|
|
if x != nil {
|
|
return x.UserIdentity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListRequest) GetUserName() string {
|
|
if x != nil {
|
|
return x.UserName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListRequest) GetStatus() int32 {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListRequest) GetCategory() string {
|
|
if x != nil {
|
|
return x.Category
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListRequest) GetEmail() string {
|
|
if x != nil {
|
|
return x.Email
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListRequest) GetPhone() string {
|
|
if x != nil {
|
|
return x.Phone
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListRequest) GetStoreIdentity() string {
|
|
if x != nil {
|
|
return x.StoreIdentity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListRequest) GetAgency() string {
|
|
if x != nil {
|
|
return x.Agency
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListReply struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
|
|
List []*FeedbackItem `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListReply) Reset() {
|
|
*x = ListReply{}
|
|
mi := &file_feedback_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListReply) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListReply) ProtoMessage() {}
|
|
|
|
func (x *ListReply) ProtoReflect() protoreflect.Message {
|
|
mi := &file_feedback_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 ListReply.ProtoReflect.Descriptor instead.
|
|
func (*ListReply) Descriptor() ([]byte, []int) {
|
|
return file_feedback_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *ListReply) GetCount() int64 {
|
|
if x != nil {
|
|
return x.Count
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListReply) GetList() []*FeedbackItem {
|
|
if x != nil {
|
|
return x.List
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type FeedbackItem struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
|
|
UserIdentity string `protobuf:"bytes,2,opt,name=user_identity,proto3" json:"user_identity,omitempty"` // 用户唯一标识
|
|
UserName string `protobuf:"bytes,3,opt,name=user_name,proto3" json:"user_name,omitempty"` // 用户名称
|
|
Status int32 `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"` //状态,1未处理,2已处理,也可以调用方自行设置,如果未设置则默认是1
|
|
CreatedAt string `protobuf:"bytes,5,opt,name=created_at,proto3" json:"created_at,omitempty"` // 创建时间
|
|
UpdatedAt string `protobuf:"bytes,6,opt,name=updated_at,proto3" json:"updated_at,omitempty"` // 更新时间
|
|
Title string `protobuf:"bytes,7,opt,name=title,proto3" json:"title,omitempty"` // 标题
|
|
Content string `protobuf:"bytes,8,opt,name=content,proto3" json:"content,omitempty"` // 内容
|
|
Images []*FeedbackImage `protobuf:"bytes,9,rep,name=images,proto3" json:"images,omitempty"` // 图片
|
|
Remark string `protobuf:"bytes,10,opt,name=remark,proto3" json:"remark,omitempty"` //反馈信息
|
|
Category string `protobuf:"bytes,11,opt,name=category,proto3" json:"category,omitempty"` // 类型: 1:pre_sales 2:after_sales
|
|
Accessories []*FeedbackAccessory `protobuf:"bytes,12,rep,name=accessories,proto3" json:"accessories,omitempty"`
|
|
Email string `protobuf:"bytes,13,opt,name=email,proto3" json:"email,omitempty"` // 邮箱
|
|
Phone string `protobuf:"bytes,14,opt,name=phone,proto3" json:"phone,omitempty"` // 手机号码
|
|
StoreIdentity string `protobuf:"bytes,15,opt,name=store_identity,proto3" json:"store_identity,omitempty"` // 店铺标识
|
|
Agency string `protobuf:"bytes,16,opt,name=agency,proto3" json:"agency,omitempty"` // 代理
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FeedbackItem) Reset() {
|
|
*x = FeedbackItem{}
|
|
mi := &file_feedback_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FeedbackItem) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FeedbackItem) ProtoMessage() {}
|
|
|
|
func (x *FeedbackItem) ProtoReflect() protoreflect.Message {
|
|
mi := &file_feedback_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 FeedbackItem.ProtoReflect.Descriptor instead.
|
|
func (*FeedbackItem) Descriptor() ([]byte, []int) {
|
|
return file_feedback_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *FeedbackItem) GetIdentity() string {
|
|
if x != nil {
|
|
return x.Identity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FeedbackItem) GetUserIdentity() string {
|
|
if x != nil {
|
|
return x.UserIdentity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FeedbackItem) GetUserName() string {
|
|
if x != nil {
|
|
return x.UserName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FeedbackItem) GetStatus() int32 {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FeedbackItem) GetCreatedAt() string {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FeedbackItem) GetUpdatedAt() string {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FeedbackItem) GetTitle() string {
|
|
if x != nil {
|
|
return x.Title
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FeedbackItem) GetContent() string {
|
|
if x != nil {
|
|
return x.Content
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FeedbackItem) GetImages() []*FeedbackImage {
|
|
if x != nil {
|
|
return x.Images
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FeedbackItem) GetRemark() string {
|
|
if x != nil {
|
|
return x.Remark
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FeedbackItem) GetCategory() string {
|
|
if x != nil {
|
|
return x.Category
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FeedbackItem) GetAccessories() []*FeedbackAccessory {
|
|
if x != nil {
|
|
return x.Accessories
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FeedbackItem) GetEmail() string {
|
|
if x != nil {
|
|
return x.Email
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FeedbackItem) GetPhone() string {
|
|
if x != nil {
|
|
return x.Phone
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FeedbackItem) GetStoreIdentity() string {
|
|
if x != nil {
|
|
return x.StoreIdentity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FeedbackItem) GetAgency() string {
|
|
if x != nil {
|
|
return x.Agency
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type FeedbackAccessory struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
|
|
ItemIdentity string `protobuf:"bytes,2,opt,name=item_identity,proto3" json:"item_identity,omitempty"`
|
|
Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` // 附件标题
|
|
FilePath string `protobuf:"bytes,4,opt,name=file_path,proto3" json:"file_path,omitempty"` // 附件地址
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FeedbackAccessory) Reset() {
|
|
*x = FeedbackAccessory{}
|
|
mi := &file_feedback_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FeedbackAccessory) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FeedbackAccessory) ProtoMessage() {}
|
|
|
|
func (x *FeedbackAccessory) ProtoReflect() protoreflect.Message {
|
|
mi := &file_feedback_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 FeedbackAccessory.ProtoReflect.Descriptor instead.
|
|
func (*FeedbackAccessory) Descriptor() ([]byte, []int) {
|
|
return file_feedback_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *FeedbackAccessory) GetIdentity() string {
|
|
if x != nil {
|
|
return x.Identity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FeedbackAccessory) GetItemIdentity() string {
|
|
if x != nil {
|
|
return x.ItemIdentity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FeedbackAccessory) GetTitle() string {
|
|
if x != nil {
|
|
return x.Title
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FeedbackAccessory) GetFilePath() string {
|
|
if x != nil {
|
|
return x.FilePath
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type FeedbackImage struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
|
|
ItemIdentity string `protobuf:"bytes,2,opt,name=item_identity,json=itemIdentity,proto3" json:"item_identity,omitempty"`
|
|
Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FeedbackImage) Reset() {
|
|
*x = FeedbackImage{}
|
|
mi := &file_feedback_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FeedbackImage) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FeedbackImage) ProtoMessage() {}
|
|
|
|
func (x *FeedbackImage) ProtoReflect() protoreflect.Message {
|
|
mi := &file_feedback_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 FeedbackImage.ProtoReflect.Descriptor instead.
|
|
func (*FeedbackImage) Descriptor() ([]byte, []int) {
|
|
return file_feedback_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *FeedbackImage) GetIdentity() string {
|
|
if x != nil {
|
|
return x.Identity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FeedbackImage) GetItemIdentity() string {
|
|
if x != nil {
|
|
return x.ItemIdentity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FeedbackImage) GetUrl() string {
|
|
if x != nil {
|
|
return x.Url
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetRequest) Reset() {
|
|
*x = GetRequest{}
|
|
mi := &file_feedback_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetRequest) ProtoMessage() {}
|
|
|
|
func (x *GetRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_feedback_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 GetRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetRequest) Descriptor() ([]byte, []int) {
|
|
return file_feedback_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *GetRequest) GetIdentity() string {
|
|
if x != nil {
|
|
return x.Identity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetReply struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Record *FeedbackItem `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"`
|
|
Exists bool `protobuf:"varint,2,opt,name=exists,proto3" json:"exists,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetReply) Reset() {
|
|
*x = GetReply{}
|
|
mi := &file_feedback_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetReply) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetReply) ProtoMessage() {}
|
|
|
|
func (x *GetReply) ProtoReflect() protoreflect.Message {
|
|
mi := &file_feedback_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 GetReply.ProtoReflect.Descriptor instead.
|
|
func (*GetReply) Descriptor() ([]byte, []int) {
|
|
return file_feedback_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *GetReply) GetRecord() *FeedbackItem {
|
|
if x != nil {
|
|
return x.Record
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetReply) GetExists() bool {
|
|
if x != nil {
|
|
return x.Exists
|
|
}
|
|
return false
|
|
}
|
|
|
|
type AddRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
UserIdentity string `protobuf:"bytes,1,opt,name=user_identity,proto3" json:"user_identity,omitempty"` // 用户唯一标识
|
|
UserName string `protobuf:"bytes,2,opt,name=user_name,proto3" json:"user_name,omitempty"` // 用户名称
|
|
Status int32 `protobuf:"varint,3,opt,name=status,proto3" json:"status,omitempty"` //状态,1未处理,2已处理,也可以调用方自行设置,如果未设置则默认是1
|
|
Title string `protobuf:"bytes,7,opt,name=title,proto3" json:"title,omitempty"` // 标题
|
|
Content string `protobuf:"bytes,8,opt,name=content,proto3" json:"content,omitempty"` // 内容
|
|
Images []*FeedbackImage `protobuf:"bytes,9,rep,name=images,proto3" json:"images,omitempty"` // 图片
|
|
Category string `protobuf:"bytes,10,opt,name=category,proto3" json:"category,omitempty"` // 类型: 1:pre_sales 2:after_sales
|
|
Accessories []*FeedbackAccessory `protobuf:"bytes,11,rep,name=accessories,proto3" json:"accessories,omitempty"` // 附件
|
|
Email string `protobuf:"bytes,12,opt,name=email,proto3" json:"email,omitempty"` // 邮箱
|
|
Phone string `protobuf:"bytes,13,opt,name=phone,proto3" json:"phone,omitempty"` // 手机号码
|
|
StoreIdentity string `protobuf:"bytes,14,opt,name=store_identity,proto3" json:"store_identity,omitempty"` // 店铺标识
|
|
Agency string `protobuf:"bytes,15,opt,name=agency,proto3" json:"agency,omitempty"` // 代理
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddRequest) Reset() {
|
|
*x = AddRequest{}
|
|
mi := &file_feedback_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddRequest) ProtoMessage() {}
|
|
|
|
func (x *AddRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_feedback_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 AddRequest.ProtoReflect.Descriptor instead.
|
|
func (*AddRequest) Descriptor() ([]byte, []int) {
|
|
return file_feedback_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *AddRequest) GetUserIdentity() string {
|
|
if x != nil {
|
|
return x.UserIdentity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddRequest) GetUserName() string {
|
|
if x != nil {
|
|
return x.UserName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddRequest) GetStatus() int32 {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AddRequest) GetTitle() string {
|
|
if x != nil {
|
|
return x.Title
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddRequest) GetContent() string {
|
|
if x != nil {
|
|
return x.Content
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddRequest) GetImages() []*FeedbackImage {
|
|
if x != nil {
|
|
return x.Images
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AddRequest) GetCategory() string {
|
|
if x != nil {
|
|
return x.Category
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddRequest) GetAccessories() []*FeedbackAccessory {
|
|
if x != nil {
|
|
return x.Accessories
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AddRequest) GetEmail() string {
|
|
if x != nil {
|
|
return x.Email
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddRequest) GetPhone() string {
|
|
if x != nil {
|
|
return x.Phone
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddRequest) GetStoreIdentity() string {
|
|
if x != nil {
|
|
return x.StoreIdentity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddRequest) GetAgency() string {
|
|
if x != nil {
|
|
return x.Agency
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type AddReply struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddReply) Reset() {
|
|
*x = AddReply{}
|
|
mi := &file_feedback_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddReply) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddReply) ProtoMessage() {}
|
|
|
|
func (x *AddReply) ProtoReflect() protoreflect.Message {
|
|
mi := &file_feedback_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 AddReply.ProtoReflect.Descriptor instead.
|
|
func (*AddReply) Descriptor() ([]byte, []int) {
|
|
return file_feedback_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *AddReply) GetIdentity() string {
|
|
if x != nil {
|
|
return x.Identity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ModifyRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
|
|
UserIdentity string `protobuf:"bytes,2,opt,name=user_identity,proto3" json:"user_identity,omitempty"` // 用户唯一标识
|
|
UserName string `protobuf:"bytes,3,opt,name=user_name,proto3" json:"user_name,omitempty"` // 用户名称
|
|
Status int32 `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"` //状态,1未处理,2已处理,也可以调用方自行设置,如果未设置则默认是1
|
|
Title string `protobuf:"bytes,7,opt,name=title,proto3" json:"title,omitempty"` // 标题
|
|
Content string `protobuf:"bytes,8,opt,name=content,proto3" json:"content,omitempty"` // 内容
|
|
Images []*FeedbackImage `protobuf:"bytes,9,rep,name=images,proto3" json:"images,omitempty"` // 图片
|
|
Category string `protobuf:"bytes,10,opt,name=category,proto3" json:"category,omitempty"` // 类型: 1:pre_sales 2:after_sales
|
|
Accessories []*FeedbackAccessory `protobuf:"bytes,11,rep,name=accessories,proto3" json:"accessories,omitempty"` // 附件
|
|
Email string `protobuf:"bytes,12,opt,name=email,proto3" json:"email,omitempty"` // 邮箱
|
|
Phone string `protobuf:"bytes,13,opt,name=phone,proto3" json:"phone,omitempty"` // 手机号码
|
|
StoreIdentity string `protobuf:"bytes,14,opt,name=store_identity,proto3" json:"store_identity,omitempty"` // 店铺标识
|
|
Agency string `protobuf:"bytes,15,opt,name=agency,proto3" json:"agency,omitempty"` // 代理
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ModifyRequest) Reset() {
|
|
*x = ModifyRequest{}
|
|
mi := &file_feedback_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ModifyRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ModifyRequest) ProtoMessage() {}
|
|
|
|
func (x *ModifyRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_feedback_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 ModifyRequest.ProtoReflect.Descriptor instead.
|
|
func (*ModifyRequest) Descriptor() ([]byte, []int) {
|
|
return file_feedback_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *ModifyRequest) GetIdentity() string {
|
|
if x != nil {
|
|
return x.Identity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ModifyRequest) GetUserIdentity() string {
|
|
if x != nil {
|
|
return x.UserIdentity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ModifyRequest) GetUserName() string {
|
|
if x != nil {
|
|
return x.UserName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ModifyRequest) GetStatus() int32 {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ModifyRequest) GetTitle() string {
|
|
if x != nil {
|
|
return x.Title
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ModifyRequest) GetContent() string {
|
|
if x != nil {
|
|
return x.Content
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ModifyRequest) GetImages() []*FeedbackImage {
|
|
if x != nil {
|
|
return x.Images
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ModifyRequest) GetCategory() string {
|
|
if x != nil {
|
|
return x.Category
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ModifyRequest) GetAccessories() []*FeedbackAccessory {
|
|
if x != nil {
|
|
return x.Accessories
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ModifyRequest) GetEmail() string {
|
|
if x != nil {
|
|
return x.Email
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ModifyRequest) GetPhone() string {
|
|
if x != nil {
|
|
return x.Phone
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ModifyRequest) GetStoreIdentity() string {
|
|
if x != nil {
|
|
return x.StoreIdentity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ModifyRequest) GetAgency() string {
|
|
if x != nil {
|
|
return x.Agency
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeleteRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteRequest) Reset() {
|
|
*x = DeleteRequest{}
|
|
mi := &file_feedback_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteRequest) ProtoMessage() {}
|
|
|
|
func (x *DeleteRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_feedback_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 DeleteRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeleteRequest) Descriptor() ([]byte, []int) {
|
|
return file_feedback_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *DeleteRequest) GetIdentity() string {
|
|
if x != nil {
|
|
return x.Identity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RemarkRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
|
|
Remark string `protobuf:"bytes,2,opt,name=remark,proto3" json:"remark,omitempty"`
|
|
Status int32 `protobuf:"varint,3,opt,name=status,proto3" json:"status,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RemarkRequest) Reset() {
|
|
*x = RemarkRequest{}
|
|
mi := &file_feedback_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RemarkRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RemarkRequest) ProtoMessage() {}
|
|
|
|
func (x *RemarkRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_feedback_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 RemarkRequest.ProtoReflect.Descriptor instead.
|
|
func (*RemarkRequest) Descriptor() ([]byte, []int) {
|
|
return file_feedback_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *RemarkRequest) GetIdentity() string {
|
|
if x != nil {
|
|
return x.Identity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RemarkRequest) GetRemark() string {
|
|
if x != nil {
|
|
return x.Remark
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RemarkRequest) GetStatus() int32 {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type IdentRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 唯一ID
|
|
Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` // 唯一码
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *IdentRequest) Reset() {
|
|
*x = IdentRequest{}
|
|
mi := &file_feedback_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *IdentRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*IdentRequest) ProtoMessage() {}
|
|
|
|
func (x *IdentRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_feedback_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 IdentRequest.ProtoReflect.Descriptor instead.
|
|
func (*IdentRequest) Descriptor() ([]byte, []int) {
|
|
return file_feedback_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *IdentRequest) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *IdentRequest) GetIdentity() string {
|
|
if x != nil {
|
|
return x.Identity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type StatusReply struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // 状态码
|
|
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 状态说明
|
|
Details string `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"` // 数据
|
|
Timeseq int64 `protobuf:"varint,4,opt,name=timeseq,proto3" json:"timeseq,omitempty"` // 响应时间序列
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *StatusReply) Reset() {
|
|
*x = StatusReply{}
|
|
mi := &file_feedback_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *StatusReply) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StatusReply) ProtoMessage() {}
|
|
|
|
func (x *StatusReply) ProtoReflect() protoreflect.Message {
|
|
mi := &file_feedback_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 StatusReply.ProtoReflect.Descriptor instead.
|
|
func (*StatusReply) Descriptor() ([]byte, []int) {
|
|
return file_feedback_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *StatusReply) GetCode() int32 {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StatusReply) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StatusReply) GetDetails() string {
|
|
if x != nil {
|
|
return x.Details
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StatusReply) GetTimeseq() int64 {
|
|
if x != nil {
|
|
return x.Timeseq
|
|
}
|
|
return 0
|
|
}
|
|
|
|
var File_feedback_proto protoreflect.FileDescriptor
|
|
|
|
const file_feedback_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x0efeedback.proto\x12\bfeedback\"\x99\x02\n" +
|
|
"\vListRequest\x12\x12\n" +
|
|
"\x04page\x18\x01 \x01(\x03R\x04page\x12\x12\n" +
|
|
"\x04size\x18\x02 \x01(\x03R\x04size\x12$\n" +
|
|
"\ruser_identity\x18\x03 \x01(\tR\ruser_identity\x12\x1c\n" +
|
|
"\tuser_name\x18\x04 \x01(\tR\tuser_name\x12\x16\n" +
|
|
"\x06status\x18\x05 \x01(\x05R\x06status\x12\x1a\n" +
|
|
"\bcategory\x18\x06 \x01(\tR\bcategory\x12\x14\n" +
|
|
"\x05email\x18\a \x01(\tR\x05email\x12\x14\n" +
|
|
"\x05phone\x18\b \x01(\tR\x05phone\x12&\n" +
|
|
"\x0estore_identity\x18\t \x01(\tR\x0estore_identity\x12\x16\n" +
|
|
"\x06agency\x18\n" +
|
|
" \x01(\tR\x06agency\"M\n" +
|
|
"\tListReply\x12\x14\n" +
|
|
"\x05count\x18\x01 \x01(\x03R\x05count\x12*\n" +
|
|
"\x04list\x18\x02 \x03(\v2\x16.feedback.FeedbackItemR\x04list\"\x86\x04\n" +
|
|
"\fFeedbackItem\x12\x1a\n" +
|
|
"\bidentity\x18\x01 \x01(\tR\bidentity\x12$\n" +
|
|
"\ruser_identity\x18\x02 \x01(\tR\ruser_identity\x12\x1c\n" +
|
|
"\tuser_name\x18\x03 \x01(\tR\tuser_name\x12\x16\n" +
|
|
"\x06status\x18\x04 \x01(\x05R\x06status\x12\x1e\n" +
|
|
"\n" +
|
|
"created_at\x18\x05 \x01(\tR\n" +
|
|
"created_at\x12\x1e\n" +
|
|
"\n" +
|
|
"updated_at\x18\x06 \x01(\tR\n" +
|
|
"updated_at\x12\x14\n" +
|
|
"\x05title\x18\a \x01(\tR\x05title\x12\x18\n" +
|
|
"\acontent\x18\b \x01(\tR\acontent\x12/\n" +
|
|
"\x06images\x18\t \x03(\v2\x17.feedback.FeedbackImageR\x06images\x12\x16\n" +
|
|
"\x06remark\x18\n" +
|
|
" \x01(\tR\x06remark\x12\x1a\n" +
|
|
"\bcategory\x18\v \x01(\tR\bcategory\x12=\n" +
|
|
"\vaccessories\x18\f \x03(\v2\x1b.feedback.FeedbackAccessoryR\vaccessories\x12\x14\n" +
|
|
"\x05email\x18\r \x01(\tR\x05email\x12\x14\n" +
|
|
"\x05phone\x18\x0e \x01(\tR\x05phone\x12&\n" +
|
|
"\x0estore_identity\x18\x0f \x01(\tR\x0estore_identity\x12\x16\n" +
|
|
"\x06agency\x18\x10 \x01(\tR\x06agency\"\x89\x01\n" +
|
|
"\x11FeedbackAccessory\x12\x1a\n" +
|
|
"\bidentity\x18\x01 \x01(\tR\bidentity\x12$\n" +
|
|
"\ritem_identity\x18\x02 \x01(\tR\ritem_identity\x12\x14\n" +
|
|
"\x05title\x18\x03 \x01(\tR\x05title\x12\x1c\n" +
|
|
"\tfile_path\x18\x04 \x01(\tR\tfile_path\"b\n" +
|
|
"\rFeedbackImage\x12\x1a\n" +
|
|
"\bidentity\x18\x01 \x01(\tR\bidentity\x12#\n" +
|
|
"\ritem_identity\x18\x02 \x01(\tR\fitemIdentity\x12\x10\n" +
|
|
"\x03url\x18\x03 \x01(\tR\x03url\"(\n" +
|
|
"\n" +
|
|
"GetRequest\x12\x1a\n" +
|
|
"\bidentity\x18\x01 \x01(\tR\bidentity\"R\n" +
|
|
"\bGetReply\x12.\n" +
|
|
"\x06record\x18\x01 \x01(\v2\x16.feedback.FeedbackItemR\x06record\x12\x16\n" +
|
|
"\x06exists\x18\x02 \x01(\bR\x06exists\"\x90\x03\n" +
|
|
"\n" +
|
|
"AddRequest\x12$\n" +
|
|
"\ruser_identity\x18\x01 \x01(\tR\ruser_identity\x12\x1c\n" +
|
|
"\tuser_name\x18\x02 \x01(\tR\tuser_name\x12\x16\n" +
|
|
"\x06status\x18\x03 \x01(\x05R\x06status\x12\x14\n" +
|
|
"\x05title\x18\a \x01(\tR\x05title\x12\x18\n" +
|
|
"\acontent\x18\b \x01(\tR\acontent\x12/\n" +
|
|
"\x06images\x18\t \x03(\v2\x17.feedback.FeedbackImageR\x06images\x12\x1a\n" +
|
|
"\bcategory\x18\n" +
|
|
" \x01(\tR\bcategory\x12=\n" +
|
|
"\vaccessories\x18\v \x03(\v2\x1b.feedback.FeedbackAccessoryR\vaccessories\x12\x14\n" +
|
|
"\x05email\x18\f \x01(\tR\x05email\x12\x14\n" +
|
|
"\x05phone\x18\r \x01(\tR\x05phone\x12&\n" +
|
|
"\x0estore_identity\x18\x0e \x01(\tR\x0estore_identity\x12\x16\n" +
|
|
"\x06agency\x18\x0f \x01(\tR\x06agency\"&\n" +
|
|
"\bAddReply\x12\x1a\n" +
|
|
"\bidentity\x18\x01 \x01(\tR\bidentity\"\xaf\x03\n" +
|
|
"\rModifyRequest\x12\x1a\n" +
|
|
"\bidentity\x18\x01 \x01(\tR\bidentity\x12$\n" +
|
|
"\ruser_identity\x18\x02 \x01(\tR\ruser_identity\x12\x1c\n" +
|
|
"\tuser_name\x18\x03 \x01(\tR\tuser_name\x12\x16\n" +
|
|
"\x06status\x18\x04 \x01(\x05R\x06status\x12\x14\n" +
|
|
"\x05title\x18\a \x01(\tR\x05title\x12\x18\n" +
|
|
"\acontent\x18\b \x01(\tR\acontent\x12/\n" +
|
|
"\x06images\x18\t \x03(\v2\x17.feedback.FeedbackImageR\x06images\x12\x1a\n" +
|
|
"\bcategory\x18\n" +
|
|
" \x01(\tR\bcategory\x12=\n" +
|
|
"\vaccessories\x18\v \x03(\v2\x1b.feedback.FeedbackAccessoryR\vaccessories\x12\x14\n" +
|
|
"\x05email\x18\f \x01(\tR\x05email\x12\x14\n" +
|
|
"\x05phone\x18\r \x01(\tR\x05phone\x12&\n" +
|
|
"\x0estore_identity\x18\x0e \x01(\tR\x0estore_identity\x12\x16\n" +
|
|
"\x06agency\x18\x0f \x01(\tR\x06agency\"+\n" +
|
|
"\rDeleteRequest\x12\x1a\n" +
|
|
"\bidentity\x18\x01 \x01(\tR\bidentity\"[\n" +
|
|
"\rRemarkRequest\x12\x1a\n" +
|
|
"\bidentity\x18\x01 \x01(\tR\bidentity\x12\x16\n" +
|
|
"\x06remark\x18\x02 \x01(\tR\x06remark\x12\x16\n" +
|
|
"\x06status\x18\x03 \x01(\x05R\x06status\":\n" +
|
|
"\fIdentRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x1a\n" +
|
|
"\bidentity\x18\x02 \x01(\tR\bidentity\"o\n" +
|
|
"\vStatusReply\x12\x12\n" +
|
|
"\x04code\x18\x01 \x01(\x05R\x04code\x12\x18\n" +
|
|
"\amessage\x18\x02 \x01(\tR\amessage\x12\x18\n" +
|
|
"\adetails\x18\x03 \x01(\tR\adetails\x12\x18\n" +
|
|
"\atimeseq\x18\x04 \x01(\x03R\atimeseq2\xd8\x02\n" +
|
|
"\x06Method\x124\n" +
|
|
"\x04List\x12\x15.feedback.ListRequest\x1a\x13.feedback.ListReply\"\x00\x121\n" +
|
|
"\x03Get\x12\x14.feedback.GetRequest\x1a\x12.feedback.GetReply\"\x00\x121\n" +
|
|
"\x03Add\x12\x14.feedback.AddRequest\x1a\x12.feedback.AddReply\"\x00\x12:\n" +
|
|
"\x06Modify\x12\x17.feedback.ModifyRequest\x1a\x15.feedback.StatusReply\"\x00\x12:\n" +
|
|
"\x06Delete\x12\x17.feedback.DeleteRequest\x1a\x15.feedback.StatusReply\"\x00\x12:\n" +
|
|
"\x06Remark\x12\x17.feedback.RemarkRequest\x1a\x15.feedback.StatusReply\"\x00B\fZ\n" +
|
|
".;feedbackb\x06proto3"
|
|
|
|
var (
|
|
file_feedback_proto_rawDescOnce sync.Once
|
|
file_feedback_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_feedback_proto_rawDescGZIP() []byte {
|
|
file_feedback_proto_rawDescOnce.Do(func() {
|
|
file_feedback_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_feedback_proto_rawDesc), len(file_feedback_proto_rawDesc)))
|
|
})
|
|
return file_feedback_proto_rawDescData
|
|
}
|
|
|
|
var file_feedback_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
|
|
var file_feedback_proto_goTypes = []any{
|
|
(*ListRequest)(nil), // 0: feedback.ListRequest
|
|
(*ListReply)(nil), // 1: feedback.ListReply
|
|
(*FeedbackItem)(nil), // 2: feedback.FeedbackItem
|
|
(*FeedbackAccessory)(nil), // 3: feedback.FeedbackAccessory
|
|
(*FeedbackImage)(nil), // 4: feedback.FeedbackImage
|
|
(*GetRequest)(nil), // 5: feedback.GetRequest
|
|
(*GetReply)(nil), // 6: feedback.GetReply
|
|
(*AddRequest)(nil), // 7: feedback.AddRequest
|
|
(*AddReply)(nil), // 8: feedback.AddReply
|
|
(*ModifyRequest)(nil), // 9: feedback.ModifyRequest
|
|
(*DeleteRequest)(nil), // 10: feedback.DeleteRequest
|
|
(*RemarkRequest)(nil), // 11: feedback.RemarkRequest
|
|
(*IdentRequest)(nil), // 12: feedback.IdentRequest
|
|
(*StatusReply)(nil), // 13: feedback.StatusReply
|
|
}
|
|
var file_feedback_proto_depIdxs = []int32{
|
|
2, // 0: feedback.ListReply.list:type_name -> feedback.FeedbackItem
|
|
4, // 1: feedback.FeedbackItem.images:type_name -> feedback.FeedbackImage
|
|
3, // 2: feedback.FeedbackItem.accessories:type_name -> feedback.FeedbackAccessory
|
|
2, // 3: feedback.GetReply.record:type_name -> feedback.FeedbackItem
|
|
4, // 4: feedback.AddRequest.images:type_name -> feedback.FeedbackImage
|
|
3, // 5: feedback.AddRequest.accessories:type_name -> feedback.FeedbackAccessory
|
|
4, // 6: feedback.ModifyRequest.images:type_name -> feedback.FeedbackImage
|
|
3, // 7: feedback.ModifyRequest.accessories:type_name -> feedback.FeedbackAccessory
|
|
0, // 8: feedback.Method.List:input_type -> feedback.ListRequest
|
|
5, // 9: feedback.Method.Get:input_type -> feedback.GetRequest
|
|
7, // 10: feedback.Method.Add:input_type -> feedback.AddRequest
|
|
9, // 11: feedback.Method.Modify:input_type -> feedback.ModifyRequest
|
|
10, // 12: feedback.Method.Delete:input_type -> feedback.DeleteRequest
|
|
11, // 13: feedback.Method.Remark:input_type -> feedback.RemarkRequest
|
|
1, // 14: feedback.Method.List:output_type -> feedback.ListReply
|
|
6, // 15: feedback.Method.Get:output_type -> feedback.GetReply
|
|
8, // 16: feedback.Method.Add:output_type -> feedback.AddReply
|
|
13, // 17: feedback.Method.Modify:output_type -> feedback.StatusReply
|
|
13, // 18: feedback.Method.Delete:output_type -> feedback.StatusReply
|
|
13, // 19: feedback.Method.Remark:output_type -> feedback.StatusReply
|
|
14, // [14:20] is the sub-list for method output_type
|
|
8, // [8:14] is the sub-list for method input_type
|
|
8, // [8:8] is the sub-list for extension type_name
|
|
8, // [8:8] is the sub-list for extension extendee
|
|
0, // [0:8] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_feedback_proto_init() }
|
|
func file_feedback_proto_init() {
|
|
if File_feedback_proto != nil {
|
|
return
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_feedback_proto_rawDesc), len(file_feedback_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 14,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_feedback_proto_goTypes,
|
|
DependencyIndexes: file_feedback_proto_depIdxs,
|
|
MessageInfos: file_feedback_proto_msgTypes,
|
|
}.Build()
|
|
File_feedback_proto = out.File
|
|
file_feedback_proto_goTypes = nil
|
|
file_feedback_proto_depIdxs = nil
|
|
}
|