1465 lines
44 KiB
Go
1465 lines
44 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.11
|
|
// protoc v4.25.8
|
|
// source: chore/chore.proto
|
|
|
|
package chore
|
|
|
|
import (
|
|
_ "google.golang.org/genproto/googleapis/api/annotations"
|
|
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 Response struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
|
|
Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
|
|
Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Response) Reset() {
|
|
*x = Response{}
|
|
mi := &file_chore_chore_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Response) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Response) ProtoMessage() {}
|
|
|
|
func (x *Response) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chore_chore_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 Response.ProtoReflect.Descriptor instead.
|
|
func (*Response) Descriptor() ([]byte, []int) {
|
|
return file_chore_chore_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *Response) GetCode() int32 {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Response) GetMsg() string {
|
|
if x != nil {
|
|
return x.Msg
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Response) GetData() string {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type EmptyReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *EmptyReq) Reset() {
|
|
*x = EmptyReq{}
|
|
mi := &file_chore_chore_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *EmptyReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EmptyReq) ProtoMessage() {}
|
|
|
|
func (x *EmptyReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chore_chore_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 EmptyReq.ProtoReflect.Descriptor instead.
|
|
func (*EmptyReq) Descriptor() ([]byte, []int) {
|
|
return file_chore_chore_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
type IdReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *IdReq) Reset() {
|
|
*x = IdReq{}
|
|
mi := &file_chore_chore_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *IdReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*IdReq) ProtoMessage() {}
|
|
|
|
func (x *IdReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chore_chore_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 IdReq.ProtoReflect.Descriptor instead.
|
|
func (*IdReq) Descriptor() ([]byte, []int) {
|
|
return file_chore_chore_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *IdReq) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type StatusReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Status int32 `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
|
|
Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *StatusReq) Reset() {
|
|
*x = StatusReq{}
|
|
mi := &file_chore_chore_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *StatusReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StatusReq) ProtoMessage() {}
|
|
|
|
func (x *StatusReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chore_chore_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 StatusReq.ProtoReflect.Descriptor instead.
|
|
func (*StatusReq) Descriptor() ([]byte, []int) {
|
|
return file_chore_chore_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *StatusReq) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StatusReq) GetStatus() int32 {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StatusReq) GetReason() string {
|
|
if x != nil {
|
|
return x.Reason
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type EditReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Question string `protobuf:"bytes,2,opt,name=question,proto3" json:"question,omitempty"`
|
|
Explain string `protobuf:"bytes,3,opt,name=explain,proto3" json:"explain,omitempty"`
|
|
Right string `protobuf:"bytes,4,opt,name=right,proto3" json:"right,omitempty"`
|
|
Answers string `protobuf:"bytes,5,opt,name=answers,proto3" json:"answers,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *EditReq) Reset() {
|
|
*x = EditReq{}
|
|
mi := &file_chore_chore_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *EditReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EditReq) ProtoMessage() {}
|
|
|
|
func (x *EditReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chore_chore_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 EditReq.ProtoReflect.Descriptor instead.
|
|
func (*EditReq) Descriptor() ([]byte, []int) {
|
|
return file_chore_chore_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *EditReq) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *EditReq) GetQuestion() string {
|
|
if x != nil {
|
|
return x.Question
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EditReq) GetExplain() string {
|
|
if x != nil {
|
|
return x.Explain
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EditReq) GetRight() string {
|
|
if x != nil {
|
|
return x.Right
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EditReq) GetAnswers() string {
|
|
if x != nil {
|
|
return x.Answers
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SystemEditReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Type int32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`
|
|
Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SystemEditReq) Reset() {
|
|
*x = SystemEditReq{}
|
|
mi := &file_chore_chore_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SystemEditReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SystemEditReq) ProtoMessage() {}
|
|
|
|
func (x *SystemEditReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chore_chore_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 SystemEditReq.ProtoReflect.Descriptor instead.
|
|
func (*SystemEditReq) Descriptor() ([]byte, []int) {
|
|
return file_chore_chore_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *SystemEditReq) GetType() int32 {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SystemEditReq) GetContent() string {
|
|
if x != nil {
|
|
return x.Content
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ApiSystemReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Type int32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ApiSystemReq) Reset() {
|
|
*x = ApiSystemReq{}
|
|
mi := &file_chore_chore_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ApiSystemReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ApiSystemReq) ProtoMessage() {}
|
|
|
|
func (x *ApiSystemReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chore_chore_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 ApiSystemReq.ProtoReflect.Descriptor instead.
|
|
func (*ApiSystemReq) Descriptor() ([]byte, []int) {
|
|
return file_chore_chore_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *ApiSystemReq) GetType() int32 {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type DocumentReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Type int32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DocumentReq) Reset() {
|
|
*x = DocumentReq{}
|
|
mi := &file_chore_chore_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DocumentReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DocumentReq) ProtoMessage() {}
|
|
|
|
func (x *DocumentReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chore_chore_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 DocumentReq.ProtoReflect.Descriptor instead.
|
|
func (*DocumentReq) Descriptor() ([]byte, []int) {
|
|
return file_chore_chore_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *DocumentReq) GetType() int32 {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type PolicyReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PolicyReq) Reset() {
|
|
*x = PolicyReq{}
|
|
mi := &file_chore_chore_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PolicyReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PolicyReq) ProtoMessage() {}
|
|
|
|
func (x *PolicyReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chore_chore_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 PolicyReq.ProtoReflect.Descriptor instead.
|
|
func (*PolicyReq) Descriptor() ([]byte, []int) {
|
|
return file_chore_chore_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *PolicyReq) GetKey() string {
|
|
if x != nil {
|
|
return x.Key
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UploadReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"`
|
|
Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UploadReq) Reset() {
|
|
*x = UploadReq{}
|
|
mi := &file_chore_chore_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UploadReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UploadReq) ProtoMessage() {}
|
|
|
|
func (x *UploadReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chore_chore_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 UploadReq.ProtoReflect.Descriptor instead.
|
|
func (*UploadReq) Descriptor() ([]byte, []int) {
|
|
return file_chore_chore_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *UploadReq) GetFilename() string {
|
|
if x != nil {
|
|
return x.Filename
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UploadReq) GetContent() []byte {
|
|
if x != nil {
|
|
return x.Content
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type InternalUploadReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"`
|
|
Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *InternalUploadReq) Reset() {
|
|
*x = InternalUploadReq{}
|
|
mi := &file_chore_chore_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *InternalUploadReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InternalUploadReq) ProtoMessage() {}
|
|
|
|
func (x *InternalUploadReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chore_chore_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 InternalUploadReq.ProtoReflect.Descriptor instead.
|
|
func (*InternalUploadReq) Descriptor() ([]byte, []int) {
|
|
return file_chore_chore_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *InternalUploadReq) GetFilename() string {
|
|
if x != nil {
|
|
return x.Filename
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InternalUploadReq) GetContent() []byte {
|
|
if x != nil {
|
|
return x.Content
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type InternalUploadData struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
|
|
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
|
|
Host string `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *InternalUploadData) Reset() {
|
|
*x = InternalUploadData{}
|
|
mi := &file_chore_chore_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *InternalUploadData) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InternalUploadData) ProtoMessage() {}
|
|
|
|
func (x *InternalUploadData) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chore_chore_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 InternalUploadData.ProtoReflect.Descriptor instead.
|
|
func (*InternalUploadData) Descriptor() ([]byte, []int) {
|
|
return file_chore_chore_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *InternalUploadData) GetUrl() string {
|
|
if x != nil {
|
|
return x.Url
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InternalUploadData) GetPath() string {
|
|
if x != nil {
|
|
return x.Path
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InternalUploadData) GetHost() string {
|
|
if x != nil {
|
|
return x.Host
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type TestReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Ids []int64 `protobuf:"varint,2,rep,packed,name=ids,proto3" json:"ids,omitempty"`
|
|
Number uint32 `protobuf:"varint,3,opt,name=number,proto3" json:"number,omitempty"`
|
|
Char string `protobuf:"bytes,4,opt,name=char,proto3" json:"char,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TestReq) Reset() {
|
|
*x = TestReq{}
|
|
mi := &file_chore_chore_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TestReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TestReq) ProtoMessage() {}
|
|
|
|
func (x *TestReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chore_chore_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 TestReq.ProtoReflect.Descriptor instead.
|
|
func (*TestReq) Descriptor() ([]byte, []int) {
|
|
return file_chore_chore_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *TestReq) GetId() int32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TestReq) GetIds() []int64 {
|
|
if x != nil {
|
|
return x.Ids
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *TestReq) GetNumber() uint32 {
|
|
if x != nil {
|
|
return x.Number
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TestReq) GetChar() string {
|
|
if x != nil {
|
|
return x.Char
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DecryptMobileReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
OriginMobile string `protobuf:"bytes,1,opt,name=origin_mobile,json=originMobile,proto3" json:"origin_mobile,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DecryptMobileReq) Reset() {
|
|
*x = DecryptMobileReq{}
|
|
mi := &file_chore_chore_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DecryptMobileReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DecryptMobileReq) ProtoMessage() {}
|
|
|
|
func (x *DecryptMobileReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chore_chore_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 DecryptMobileReq.ProtoReflect.Descriptor instead.
|
|
func (*DecryptMobileReq) Descriptor() ([]byte, []int) {
|
|
return file_chore_chore_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *DecryptMobileReq) GetOriginMobile() string {
|
|
if x != nil {
|
|
return x.OriginMobile
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RegionsReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ParentId int32 `protobuf:"varint,1,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RegionsReq) Reset() {
|
|
*x = RegionsReq{}
|
|
mi := &file_chore_chore_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RegionsReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RegionsReq) ProtoMessage() {}
|
|
|
|
func (x *RegionsReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chore_chore_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 RegionsReq.ProtoReflect.Descriptor instead.
|
|
func (*RegionsReq) Descriptor() ([]byte, []int) {
|
|
return file_chore_chore_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *RegionsReq) GetParentId() int32 {
|
|
if x != nil {
|
|
return x.ParentId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type RegionsByIdsReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Ids []int64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RegionsByIdsReq) Reset() {
|
|
*x = RegionsByIdsReq{}
|
|
mi := &file_chore_chore_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RegionsByIdsReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RegionsByIdsReq) ProtoMessage() {}
|
|
|
|
func (x *RegionsByIdsReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chore_chore_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 RegionsByIdsReq.ProtoReflect.Descriptor instead.
|
|
func (*RegionsByIdsReq) Descriptor() ([]byte, []int) {
|
|
return file_chore_chore_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *RegionsByIdsReq) GetIds() []int64 {
|
|
if x != nil {
|
|
return x.Ids
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RegionItem struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RegionItem) Reset() {
|
|
*x = RegionItem{}
|
|
mi := &file_chore_chore_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RegionItem) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RegionItem) ProtoMessage() {}
|
|
|
|
func (x *RegionItem) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chore_chore_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 RegionItem.ProtoReflect.Descriptor instead.
|
|
func (*RegionItem) Descriptor() ([]byte, []int) {
|
|
return file_chore_chore_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
func (x *RegionItem) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RegionItem) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RegionsByIdsData struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Items []*RegionItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RegionsByIdsData) Reset() {
|
|
*x = RegionsByIdsData{}
|
|
mi := &file_chore_chore_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RegionsByIdsData) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RegionsByIdsData) ProtoMessage() {}
|
|
|
|
func (x *RegionsByIdsData) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chore_chore_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 RegionsByIdsData.ProtoReflect.Descriptor instead.
|
|
func (*RegionsByIdsData) Descriptor() ([]byte, []int) {
|
|
return file_chore_chore_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
func (x *RegionsByIdsData) GetItems() []*RegionItem {
|
|
if x != nil {
|
|
return x.Items
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SendSmsReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Mobile string `protobuf:"bytes,1,opt,name=mobile,proto3" json:"mobile,omitempty"`
|
|
Scene int32 `protobuf:"varint,2,opt,name=scene,proto3" json:"scene,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SendSmsReq) Reset() {
|
|
*x = SendSmsReq{}
|
|
mi := &file_chore_chore_proto_msgTypes[18]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SendSmsReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SendSmsReq) ProtoMessage() {}
|
|
|
|
func (x *SendSmsReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chore_chore_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 SendSmsReq.ProtoReflect.Descriptor instead.
|
|
func (*SendSmsReq) Descriptor() ([]byte, []int) {
|
|
return file_chore_chore_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
func (x *SendSmsReq) GetMobile() string {
|
|
if x != nil {
|
|
return x.Mobile
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SendSmsReq) GetScene() int32 {
|
|
if x != nil {
|
|
return x.Scene
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type InternalActionApplyLogCreateReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AdminId int64 `protobuf:"varint,1,opt,name=admin_id,json=adminId,proto3" json:"admin_id,omitempty"`
|
|
ObjId int64 `protobuf:"varint,2,opt,name=obj_id,json=objId,proto3" json:"obj_id,omitempty"`
|
|
Type uint32 `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"` // 1产品 2门店 3地址 4销售
|
|
Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"`
|
|
Status uint32 `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"` // 1通过 2驳回 9待审核
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *InternalActionApplyLogCreateReq) Reset() {
|
|
*x = InternalActionApplyLogCreateReq{}
|
|
mi := &file_chore_chore_proto_msgTypes[19]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *InternalActionApplyLogCreateReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InternalActionApplyLogCreateReq) ProtoMessage() {}
|
|
|
|
func (x *InternalActionApplyLogCreateReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chore_chore_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 InternalActionApplyLogCreateReq.ProtoReflect.Descriptor instead.
|
|
func (*InternalActionApplyLogCreateReq) Descriptor() ([]byte, []int) {
|
|
return file_chore_chore_proto_rawDescGZIP(), []int{19}
|
|
}
|
|
|
|
func (x *InternalActionApplyLogCreateReq) GetAdminId() int64 {
|
|
if x != nil {
|
|
return x.AdminId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *InternalActionApplyLogCreateReq) GetObjId() int64 {
|
|
if x != nil {
|
|
return x.ObjId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *InternalActionApplyLogCreateReq) GetType() uint32 {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *InternalActionApplyLogCreateReq) GetReason() string {
|
|
if x != nil {
|
|
return x.Reason
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InternalActionApplyLogCreateReq) GetStatus() uint32 {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type InternalActionApplyLogCreateData struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *InternalActionApplyLogCreateData) Reset() {
|
|
*x = InternalActionApplyLogCreateData{}
|
|
mi := &file_chore_chore_proto_msgTypes[20]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *InternalActionApplyLogCreateData) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InternalActionApplyLogCreateData) ProtoMessage() {}
|
|
|
|
func (x *InternalActionApplyLogCreateData) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chore_chore_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 InternalActionApplyLogCreateData.ProtoReflect.Descriptor instead.
|
|
func (*InternalActionApplyLogCreateData) Descriptor() ([]byte, []int) {
|
|
return file_chore_chore_proto_rawDescGZIP(), []int{20}
|
|
}
|
|
|
|
func (x *InternalActionApplyLogCreateData) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SendPasswordReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Mobile string `protobuf:"bytes,1,opt,name=mobile,proto3" json:"mobile,omitempty"`
|
|
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
|
|
BrowserInfo string `protobuf:"bytes,3,opt,name=browser_info,json=browserInfo,proto3" json:"browser_info,omitempty"`
|
|
Ip string `protobuf:"bytes,4,opt,name=ip,proto3" json:"ip,omitempty"`
|
|
BrowserName string `protobuf:"bytes,5,opt,name=browser_name,json=browserName,proto3" json:"browser_name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SendPasswordReq) Reset() {
|
|
*x = SendPasswordReq{}
|
|
mi := &file_chore_chore_proto_msgTypes[21]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SendPasswordReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SendPasswordReq) ProtoMessage() {}
|
|
|
|
func (x *SendPasswordReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chore_chore_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 SendPasswordReq.ProtoReflect.Descriptor instead.
|
|
func (*SendPasswordReq) Descriptor() ([]byte, []int) {
|
|
return file_chore_chore_proto_rawDescGZIP(), []int{21}
|
|
}
|
|
|
|
func (x *SendPasswordReq) GetMobile() string {
|
|
if x != nil {
|
|
return x.Mobile
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SendPasswordReq) GetPassword() string {
|
|
if x != nil {
|
|
return x.Password
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SendPasswordReq) GetBrowserInfo() string {
|
|
if x != nil {
|
|
return x.BrowserInfo
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SendPasswordReq) GetIp() string {
|
|
if x != nil {
|
|
return x.Ip
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SendPasswordReq) GetBrowserName() string {
|
|
if x != nil {
|
|
return x.BrowserName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SendPasswordResp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SendPasswordResp) Reset() {
|
|
*x = SendPasswordResp{}
|
|
mi := &file_chore_chore_proto_msgTypes[22]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SendPasswordResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SendPasswordResp) ProtoMessage() {}
|
|
|
|
func (x *SendPasswordResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_chore_chore_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 SendPasswordResp.ProtoReflect.Descriptor instead.
|
|
func (*SendPasswordResp) Descriptor() ([]byte, []int) {
|
|
return file_chore_chore_proto_rawDescGZIP(), []int{22}
|
|
}
|
|
|
|
func (x *SendPasswordResp) GetCode() int32 {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return 0
|
|
}
|
|
|
|
var File_chore_chore_proto protoreflect.FileDescriptor
|
|
|
|
const file_chore_chore_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x11chore/chore.proto\x12\x05chore\x1a\x1cgoogle/api/annotations.proto\"D\n" +
|
|
"\bResponse\x12\x12\n" +
|
|
"\x04code\x18\x01 \x01(\x05R\x04code\x12\x10\n" +
|
|
"\x03msg\x18\x02 \x01(\tR\x03msg\x12\x12\n" +
|
|
"\x04data\x18\x03 \x01(\tR\x04data\"\n" +
|
|
"\n" +
|
|
"\bEmptyReq\"\x17\n" +
|
|
"\x05IdReq\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\"K\n" +
|
|
"\tStatusReq\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x16\n" +
|
|
"\x06status\x18\x02 \x01(\x05R\x06status\x12\x16\n" +
|
|
"\x06reason\x18\x03 \x01(\tR\x06reason\"\x7f\n" +
|
|
"\aEditReq\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x1a\n" +
|
|
"\bquestion\x18\x02 \x01(\tR\bquestion\x12\x18\n" +
|
|
"\aexplain\x18\x03 \x01(\tR\aexplain\x12\x14\n" +
|
|
"\x05right\x18\x04 \x01(\tR\x05right\x12\x18\n" +
|
|
"\aanswers\x18\x05 \x01(\tR\aanswers\"=\n" +
|
|
"\rSystemEditReq\x12\x12\n" +
|
|
"\x04type\x18\x01 \x01(\x05R\x04type\x12\x18\n" +
|
|
"\acontent\x18\x02 \x01(\tR\acontent\"\"\n" +
|
|
"\fApiSystemReq\x12\x12\n" +
|
|
"\x04type\x18\x01 \x01(\x05R\x04type\"!\n" +
|
|
"\vDocumentReq\x12\x12\n" +
|
|
"\x04type\x18\x01 \x01(\x05R\x04type\"\x1d\n" +
|
|
"\tPolicyReq\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\"A\n" +
|
|
"\tUploadReq\x12\x1a\n" +
|
|
"\bfilename\x18\x01 \x01(\tR\bfilename\x12\x18\n" +
|
|
"\acontent\x18\x02 \x01(\fR\acontent\"I\n" +
|
|
"\x11InternalUploadReq\x12\x1a\n" +
|
|
"\bfilename\x18\x01 \x01(\tR\bfilename\x12\x18\n" +
|
|
"\acontent\x18\x02 \x01(\fR\acontent\"N\n" +
|
|
"\x12InternalUploadData\x12\x10\n" +
|
|
"\x03url\x18\x01 \x01(\tR\x03url\x12\x12\n" +
|
|
"\x04path\x18\x02 \x01(\tR\x04path\x12\x12\n" +
|
|
"\x04host\x18\x03 \x01(\tR\x04host\"W\n" +
|
|
"\aTestReq\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x05R\x02id\x12\x10\n" +
|
|
"\x03ids\x18\x02 \x03(\x03R\x03ids\x12\x16\n" +
|
|
"\x06number\x18\x03 \x01(\rR\x06number\x12\x12\n" +
|
|
"\x04char\x18\x04 \x01(\tR\x04char\"7\n" +
|
|
"\x10DecryptMobileReq\x12#\n" +
|
|
"\rorigin_mobile\x18\x01 \x01(\tR\foriginMobile\")\n" +
|
|
"\n" +
|
|
"RegionsReq\x12\x1b\n" +
|
|
"\tparent_id\x18\x01 \x01(\x05R\bparentId\"#\n" +
|
|
"\x0fRegionsByIdsReq\x12\x10\n" +
|
|
"\x03ids\x18\x01 \x03(\x03R\x03ids\"0\n" +
|
|
"\n" +
|
|
"RegionItem\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\";\n" +
|
|
"\x10RegionsByIdsData\x12'\n" +
|
|
"\x05items\x18\x01 \x03(\v2\x11.chore.RegionItemR\x05items\":\n" +
|
|
"\n" +
|
|
"SendSmsReq\x12\x16\n" +
|
|
"\x06mobile\x18\x01 \x01(\tR\x06mobile\x12\x14\n" +
|
|
"\x05scene\x18\x02 \x01(\x05R\x05scene\"\x97\x01\n" +
|
|
"\x1fInternalActionApplyLogCreateReq\x12\x19\n" +
|
|
"\badmin_id\x18\x01 \x01(\x03R\aadminId\x12\x15\n" +
|
|
"\x06obj_id\x18\x02 \x01(\x03R\x05objId\x12\x12\n" +
|
|
"\x04type\x18\x03 \x01(\rR\x04type\x12\x16\n" +
|
|
"\x06reason\x18\x04 \x01(\tR\x06reason\x12\x16\n" +
|
|
"\x06status\x18\x05 \x01(\rR\x06status\"2\n" +
|
|
" InternalActionApplyLogCreateData\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\"\x9b\x01\n" +
|
|
"\x0fSendPasswordReq\x12\x16\n" +
|
|
"\x06mobile\x18\x01 \x01(\tR\x06mobile\x12\x1a\n" +
|
|
"\bpassword\x18\x02 \x01(\tR\bpassword\x12!\n" +
|
|
"\fbrowser_info\x18\x03 \x01(\tR\vbrowserInfo\x12\x0e\n" +
|
|
"\x02ip\x18\x04 \x01(\tR\x02ip\x12!\n" +
|
|
"\fbrowser_name\x18\x05 \x01(\tR\vbrowserName\"&\n" +
|
|
"\x10SendPasswordResp\x12\x12\n" +
|
|
"\x04code\x18\x01 \x01(\x05R\x04code2\x8c\x10\n" +
|
|
"\x05Chore\x12P\n" +
|
|
"\x06Policy\x12\x10.chore.PolicyReq\x1a\x0f.chore.Response\"#\x82\xd3\xe4\x93\x02\x1d:\x01*\x12\x18/api/v3/chore/oss/policy\x12P\n" +
|
|
"\x06Upload\x12\x10.chore.UploadReq\x1a\x0f.chore.Response\"#\x82\xd3\xe4\x93\x02\x1d:\x01*\"\x18/api/v3/chore/oss/upload\x12F\n" +
|
|
"\x04Test\x12\x0e.chore.TestReq\x1a\x0f.chore.Response\"\x1d\x82\xd3\xe4\x93\x02\x17:\x01*\"\x12/api/v3/chore/test\x12_\n" +
|
|
"\rDecryptMobile\x12\x17.chore.DecryptMobileReq\x1a\x0f.chore.Response\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/api/v3/chore/decrypt/mobile\x12L\n" +
|
|
"\aRegions\x12\x11.chore.RegionsReq\x1a\x0f.chore.Response\"\x1d\x82\xd3\xe4\x93\x02\x17\x12\x15/api/v3/chore/regions\x12P\n" +
|
|
"\aSendSms\x12\x11.chore.SendSmsReq\x1a\x0f.chore.Response\"!\x82\xd3\xe4\x93\x02\x1b:\x01*\"\x16/api/v3/chore/sms/send\x12]\n" +
|
|
"\x0eApiSystemItems\x12\x13.chore.ApiSystemReq\x1a\x0f.chore.Response\"%\x82\xd3\xe4\x93\x02\x1f:\x01*\x12\x1a/api/v3/chore/system/items\x12[\n" +
|
|
"\rApiSystemInfo\x12\x13.chore.ApiSystemReq\x1a\x0f.chore.Response\"$\x82\xd3\xe4\x93\x02\x1e:\x01*\x12\x19/api/v3/chore/system/info\x12Y\n" +
|
|
"\x0eApiAnswerItems\x12\x0f.chore.EmptyReq\x1a\x0f.chore.Response\"%\x82\xd3\xe4\x93\x02\x1f:\x01*\x12\x1a/api/v3/chore/answer/items\x12`\n" +
|
|
"\x12ApiAnswerIProgress\x12\x0f.chore.EmptyReq\x1a\x0f.chore.Response\"(\x82\xd3\xe4\x93\x02\":\x01*\x12\x1d/api/v3/chore/answer/progress\x12W\n" +
|
|
"\rApiAnswerSave\x12\x0f.chore.EmptyReq\x1a\x0f.chore.Response\"$\x82\xd3\xe4\x93\x02\x1e:\x01*\"\x19/api/v3/chore/answer/save\x12U\n" +
|
|
"\vAnswerItems\x12\x0f.chore.EmptyReq\x1a\x0f.chore.Response\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/admin/v3/chore/answer/items\x12X\n" +
|
|
"\fAnswerStatus\x12\x10.chore.StatusReq\x1a\x0f.chore.Response\"%\x82\xd3\xe4\x93\x02\x1f\"\x1d/admin/v3/chore/answer/status\x12P\n" +
|
|
"\n" +
|
|
"AnswerInfo\x12\f.chore.IdReq\x1a\x0f.chore.Response\"#\x82\xd3\xe4\x93\x02\x1d\x12\x1b/admin/v3/chore/answer/info\x12V\n" +
|
|
"\fAnswerCreate\x12\x0e.chore.EditReq\x1a\x0f.chore.Response\"%\x82\xd3\xe4\x93\x02\x1f\"\x1d/admin/v3/chore/answer/create\x12R\n" +
|
|
"\n" +
|
|
"AnswerEdit\x12\x0e.chore.EditReq\x1a\x0f.chore.Response\"#\x82\xd3\xe4\x93\x02\x1d\"\x1b/admin/v3/chore/answer/edit\x12X\n" +
|
|
"\n" +
|
|
"SystemEdit\x12\x14.chore.SystemEditReq\x1a\x0f.chore.Response\"#\x82\xd3\xe4\x93\x02\x1d\"\x1b/admin/v3/chore/system/edit\x12X\n" +
|
|
"\fSystemStatus\x12\x10.chore.StatusReq\x1a\x0f.chore.Response\"%\x82\xd3\xe4\x93\x02\x1f\"\x1d/admin/v3/chore/system/status\x12P\n" +
|
|
"\n" +
|
|
"SystemInfo\x12\f.chore.IdReq\x1a\x0f.chore.Response\"#\x82\xd3\xe4\x93\x02\x1d\x12\x1b/admin/v3/chore/system/info\x12U\n" +
|
|
"\vSystemItems\x12\x0f.chore.EmptyReq\x1a\x0f.chore.Response\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/admin/v3/chore/system/items\x12E\n" +
|
|
"\x0eInternalUpload\x12\x18.chore.InternalUploadReq\x1a\x19.chore.InternalUploadData\x12?\n" +
|
|
"\fRegionsByIds\x12\x16.chore.RegionsByIdsReq\x1a\x17.chore.RegionsByIdsData\x12o\n" +
|
|
"\x1cInternalActionApplyLogCreate\x12&.chore.InternalActionApplyLogCreateReq\x1a'.chore.InternalActionApplyLogCreateData\x12?\n" +
|
|
"\fSendPassword\x12\x16.chore.SendPasswordReq\x1a\x17.chore.SendPasswordRespB\x19Z\x17lone-services/rpc/choreb\x06proto3"
|
|
|
|
var (
|
|
file_chore_chore_proto_rawDescOnce sync.Once
|
|
file_chore_chore_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_chore_chore_proto_rawDescGZIP() []byte {
|
|
file_chore_chore_proto_rawDescOnce.Do(func() {
|
|
file_chore_chore_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_chore_chore_proto_rawDesc), len(file_chore_chore_proto_rawDesc)))
|
|
})
|
|
return file_chore_chore_proto_rawDescData
|
|
}
|
|
|
|
var file_chore_chore_proto_msgTypes = make([]protoimpl.MessageInfo, 23)
|
|
var file_chore_chore_proto_goTypes = []any{
|
|
(*Response)(nil), // 0: chore.Response
|
|
(*EmptyReq)(nil), // 1: chore.EmptyReq
|
|
(*IdReq)(nil), // 2: chore.IdReq
|
|
(*StatusReq)(nil), // 3: chore.StatusReq
|
|
(*EditReq)(nil), // 4: chore.EditReq
|
|
(*SystemEditReq)(nil), // 5: chore.SystemEditReq
|
|
(*ApiSystemReq)(nil), // 6: chore.ApiSystemReq
|
|
(*DocumentReq)(nil), // 7: chore.DocumentReq
|
|
(*PolicyReq)(nil), // 8: chore.PolicyReq
|
|
(*UploadReq)(nil), // 9: chore.UploadReq
|
|
(*InternalUploadReq)(nil), // 10: chore.InternalUploadReq
|
|
(*InternalUploadData)(nil), // 11: chore.InternalUploadData
|
|
(*TestReq)(nil), // 12: chore.TestReq
|
|
(*DecryptMobileReq)(nil), // 13: chore.DecryptMobileReq
|
|
(*RegionsReq)(nil), // 14: chore.RegionsReq
|
|
(*RegionsByIdsReq)(nil), // 15: chore.RegionsByIdsReq
|
|
(*RegionItem)(nil), // 16: chore.RegionItem
|
|
(*RegionsByIdsData)(nil), // 17: chore.RegionsByIdsData
|
|
(*SendSmsReq)(nil), // 18: chore.SendSmsReq
|
|
(*InternalActionApplyLogCreateReq)(nil), // 19: chore.InternalActionApplyLogCreateReq
|
|
(*InternalActionApplyLogCreateData)(nil), // 20: chore.InternalActionApplyLogCreateData
|
|
(*SendPasswordReq)(nil), // 21: chore.SendPasswordReq
|
|
(*SendPasswordResp)(nil), // 22: chore.SendPasswordResp
|
|
}
|
|
var file_chore_chore_proto_depIdxs = []int32{
|
|
16, // 0: chore.RegionsByIdsData.items:type_name -> chore.RegionItem
|
|
8, // 1: chore.Chore.Policy:input_type -> chore.PolicyReq
|
|
9, // 2: chore.Chore.Upload:input_type -> chore.UploadReq
|
|
12, // 3: chore.Chore.Test:input_type -> chore.TestReq
|
|
13, // 4: chore.Chore.DecryptMobile:input_type -> chore.DecryptMobileReq
|
|
14, // 5: chore.Chore.Regions:input_type -> chore.RegionsReq
|
|
18, // 6: chore.Chore.SendSms:input_type -> chore.SendSmsReq
|
|
6, // 7: chore.Chore.ApiSystemItems:input_type -> chore.ApiSystemReq
|
|
6, // 8: chore.Chore.ApiSystemInfo:input_type -> chore.ApiSystemReq
|
|
1, // 9: chore.Chore.ApiAnswerItems:input_type -> chore.EmptyReq
|
|
1, // 10: chore.Chore.ApiAnswerIProgress:input_type -> chore.EmptyReq
|
|
1, // 11: chore.Chore.ApiAnswerSave:input_type -> chore.EmptyReq
|
|
1, // 12: chore.Chore.AnswerItems:input_type -> chore.EmptyReq
|
|
3, // 13: chore.Chore.AnswerStatus:input_type -> chore.StatusReq
|
|
2, // 14: chore.Chore.AnswerInfo:input_type -> chore.IdReq
|
|
4, // 15: chore.Chore.AnswerCreate:input_type -> chore.EditReq
|
|
4, // 16: chore.Chore.AnswerEdit:input_type -> chore.EditReq
|
|
5, // 17: chore.Chore.SystemEdit:input_type -> chore.SystemEditReq
|
|
3, // 18: chore.Chore.SystemStatus:input_type -> chore.StatusReq
|
|
2, // 19: chore.Chore.SystemInfo:input_type -> chore.IdReq
|
|
1, // 20: chore.Chore.SystemItems:input_type -> chore.EmptyReq
|
|
10, // 21: chore.Chore.InternalUpload:input_type -> chore.InternalUploadReq
|
|
15, // 22: chore.Chore.RegionsByIds:input_type -> chore.RegionsByIdsReq
|
|
19, // 23: chore.Chore.InternalActionApplyLogCreate:input_type -> chore.InternalActionApplyLogCreateReq
|
|
21, // 24: chore.Chore.SendPassword:input_type -> chore.SendPasswordReq
|
|
0, // 25: chore.Chore.Policy:output_type -> chore.Response
|
|
0, // 26: chore.Chore.Upload:output_type -> chore.Response
|
|
0, // 27: chore.Chore.Test:output_type -> chore.Response
|
|
0, // 28: chore.Chore.DecryptMobile:output_type -> chore.Response
|
|
0, // 29: chore.Chore.Regions:output_type -> chore.Response
|
|
0, // 30: chore.Chore.SendSms:output_type -> chore.Response
|
|
0, // 31: chore.Chore.ApiSystemItems:output_type -> chore.Response
|
|
0, // 32: chore.Chore.ApiSystemInfo:output_type -> chore.Response
|
|
0, // 33: chore.Chore.ApiAnswerItems:output_type -> chore.Response
|
|
0, // 34: chore.Chore.ApiAnswerIProgress:output_type -> chore.Response
|
|
0, // 35: chore.Chore.ApiAnswerSave:output_type -> chore.Response
|
|
0, // 36: chore.Chore.AnswerItems:output_type -> chore.Response
|
|
0, // 37: chore.Chore.AnswerStatus:output_type -> chore.Response
|
|
0, // 38: chore.Chore.AnswerInfo:output_type -> chore.Response
|
|
0, // 39: chore.Chore.AnswerCreate:output_type -> chore.Response
|
|
0, // 40: chore.Chore.AnswerEdit:output_type -> chore.Response
|
|
0, // 41: chore.Chore.SystemEdit:output_type -> chore.Response
|
|
0, // 42: chore.Chore.SystemStatus:output_type -> chore.Response
|
|
0, // 43: chore.Chore.SystemInfo:output_type -> chore.Response
|
|
0, // 44: chore.Chore.SystemItems:output_type -> chore.Response
|
|
11, // 45: chore.Chore.InternalUpload:output_type -> chore.InternalUploadData
|
|
17, // 46: chore.Chore.RegionsByIds:output_type -> chore.RegionsByIdsData
|
|
20, // 47: chore.Chore.InternalActionApplyLogCreate:output_type -> chore.InternalActionApplyLogCreateData
|
|
22, // 48: chore.Chore.SendPassword:output_type -> chore.SendPasswordResp
|
|
25, // [25:49] is the sub-list for method output_type
|
|
1, // [1:25] is the sub-list for method input_type
|
|
1, // [1:1] is the sub-list for extension type_name
|
|
1, // [1:1] is the sub-list for extension extendee
|
|
0, // [0:1] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_chore_chore_proto_init() }
|
|
func file_chore_chore_proto_init() {
|
|
if File_chore_chore_proto != nil {
|
|
return
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_chore_chore_proto_rawDesc), len(file_chore_chore_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 23,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_chore_chore_proto_goTypes,
|
|
DependencyIndexes: file_chore_chore_proto_depIdxs,
|
|
MessageInfos: file_chore_chore_proto_msgTypes,
|
|
}.Build()
|
|
File_chore_chore_proto = out.File
|
|
file_chore_chore_proto_goTypes = nil
|
|
file_chore_chore_proto_depIdxs = nil
|
|
}
|