|
@@ -80,10 +80,9 @@ type SearchMobileResponse struct {
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
- Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
|
|
|
- Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
|
|
|
- PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
|
|
|
- List []*MobileData `protobuf:"bytes,4,rep,name=list,proto3" json:"list,omitempty"`
|
|
|
+ Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
|
|
|
+ Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
|
|
|
+ Data *SearchMobileData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
|
|
|
}
|
|
|
|
|
|
func (x *SearchMobileResponse) Reset() {
|
|
@@ -118,28 +117,92 @@ func (*SearchMobileResponse) Descriptor() ([]byte, []int) {
|
|
|
return file_backend_operation_mobile_proto_rawDescGZIP(), []int{1}
|
|
|
}
|
|
|
|
|
|
-func (x *SearchMobileResponse) GetPage() int32 {
|
|
|
+func (x *SearchMobileResponse) GetCode() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.Code
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *SearchMobileResponse) GetMsg() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Msg
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *SearchMobileResponse) GetData() *SearchMobileData {
|
|
|
+ if x != nil {
|
|
|
+ return x.Data
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+type SearchMobileData struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
|
|
|
+ Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
|
|
|
+ PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
|
|
|
+ List []*MobileData `protobuf:"bytes,4,rep,name=list,proto3" json:"list,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *SearchMobileData) Reset() {
|
|
|
+ *x = SearchMobileData{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_backend_operation_mobile_proto_msgTypes[2]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *SearchMobileData) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*SearchMobileData) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *SearchMobileData) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_backend_operation_mobile_proto_msgTypes[2]
|
|
|
+ if protoimpl.UnsafeEnabled && x != nil {
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ if ms.LoadMessageInfo() == nil {
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+ return ms
|
|
|
+ }
|
|
|
+ return mi.MessageOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+// Deprecated: Use SearchMobileData.ProtoReflect.Descriptor instead.
|
|
|
+func (*SearchMobileData) Descriptor() ([]byte, []int) {
|
|
|
+ return file_backend_operation_mobile_proto_rawDescGZIP(), []int{2}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *SearchMobileData) GetPage() int32 {
|
|
|
if x != nil {
|
|
|
return x.Page
|
|
|
}
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
-func (x *SearchMobileResponse) GetTotal() int32 {
|
|
|
+func (x *SearchMobileData) GetTotal() int32 {
|
|
|
if x != nil {
|
|
|
return x.Total
|
|
|
}
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
-func (x *SearchMobileResponse) GetPageSize() int32 {
|
|
|
+func (x *SearchMobileData) GetPageSize() int32 {
|
|
|
if x != nil {
|
|
|
return x.PageSize
|
|
|
}
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
-func (x *SearchMobileResponse) GetList() []*MobileData {
|
|
|
+func (x *SearchMobileData) GetList() []*MobileData {
|
|
|
if x != nil {
|
|
|
return x.List
|
|
|
}
|
|
@@ -160,7 +223,7 @@ type MobileData struct {
|
|
|
func (x *MobileData) Reset() {
|
|
|
*x = MobileData{}
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_backend_operation_mobile_proto_msgTypes[2]
|
|
|
+ mi := &file_backend_operation_mobile_proto_msgTypes[3]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
@@ -173,7 +236,7 @@ func (x *MobileData) String() string {
|
|
|
func (*MobileData) ProtoMessage() {}
|
|
|
|
|
|
func (x *MobileData) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_backend_operation_mobile_proto_msgTypes[2]
|
|
|
+ mi := &file_backend_operation_mobile_proto_msgTypes[3]
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -186,7 +249,7 @@ func (x *MobileData) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
// Deprecated: Use MobileData.ProtoReflect.Descriptor instead.
|
|
|
func (*MobileData) Descriptor() ([]byte, []int) {
|
|
|
- return file_backend_operation_mobile_proto_rawDescGZIP(), []int{2}
|
|
|
+ return file_backend_operation_mobile_proto_rawDescGZIP(), []int{3}
|
|
|
}
|
|
|
|
|
|
func (x *MobileData) GetId() int64 {
|
|
@@ -232,25 +295,33 @@ var file_backend_operation_mobile_proto_rawDesc = []byte{
|
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64,
|
|
|
0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e,
|
|
|
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69,
|
|
|
- 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x90, 0x01, 0x0a, 0x14, 0x53, 0x65, 0x61, 0x72, 0x63,
|
|
|
- 0x68, 0x4d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
|
|
- 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70,
|
|
|
- 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01,
|
|
|
- 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67,
|
|
|
- 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61,
|
|
|
- 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x31, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04,
|
|
|
- 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f,
|
|
|
- 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x44,
|
|
|
- 0x61, 0x74, 0x61, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x7b, 0x0a, 0x0a, 0x4d, 0x6f, 0x62,
|
|
|
- 0x69, 0x6c, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
|
|
|
- 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
|
|
|
- 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x63,
|
|
|
- 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52,
|
|
|
- 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x72,
|
|
|
- 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18,
|
|
|
- 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74,
|
|
|
- 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x42, 0x0f, 0x5a, 0x0d, 0x2e, 0x3b, 0x6f, 0x70, 0x65, 0x72,
|
|
|
- 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
+ 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x75, 0x0a, 0x14, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68,
|
|
|
+ 0x4d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12,
|
|
|
+ 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f,
|
|
|
+ 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
+ 0x03, 0x6d, 0x73, 0x67, 0x12, 0x37, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01,
|
|
|
+ 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65,
|
|
|
+ 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4d, 0x6f, 0x62,
|
|
|
+ 0x69, 0x6c, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x8c, 0x01,
|
|
|
+ 0x0a, 0x10, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x44, 0x61,
|
|
|
+ 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
|
|
|
+ 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18,
|
|
|
+ 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x1b, 0x0a, 0x09,
|
|
|
+ 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52,
|
|
|
+ 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x31, 0x0a, 0x04, 0x6c, 0x69, 0x73,
|
|
|
+ 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e,
|
|
|
+ 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x6f, 0x62, 0x69,
|
|
|
+ 0x6c, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x7b, 0x0a, 0x0a,
|
|
|
+ 0x4d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
|
|
|
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
|
|
|
+ 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d,
|
|
|
+ 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01,
|
|
|
+ 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x2a, 0x0a,
|
|
|
+ 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x6d,
|
|
|
+ 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
|
|
|
+ 0x64, 0x41, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x42, 0x0f, 0x5a, 0x0d, 0x2e, 0x3b, 0x6f,
|
|
|
+ 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
|
|
|
+ 0x6f, 0x33,
|
|
|
}
|
|
|
|
|
|
var (
|
|
@@ -265,21 +336,23 @@ func file_backend_operation_mobile_proto_rawDescGZIP() []byte {
|
|
|
return file_backend_operation_mobile_proto_rawDescData
|
|
|
}
|
|
|
|
|
|
-var file_backend_operation_mobile_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
|
|
|
+var file_backend_operation_mobile_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
|
|
|
var file_backend_operation_mobile_proto_goTypes = []interface{}{
|
|
|
(*SearchMobileRequest)(nil), // 0: backend.operation.SearchMobileRequest
|
|
|
(*SearchMobileResponse)(nil), // 1: backend.operation.SearchMobileResponse
|
|
|
- (*MobileData)(nil), // 2: backend.operation.MobileData
|
|
|
- (*PaginationModel)(nil), // 3: backend.operation.PaginationModel
|
|
|
+ (*SearchMobileData)(nil), // 2: backend.operation.SearchMobileData
|
|
|
+ (*MobileData)(nil), // 3: backend.operation.MobileData
|
|
|
+ (*PaginationModel)(nil), // 4: backend.operation.PaginationModel
|
|
|
}
|
|
|
var file_backend_operation_mobile_proto_depIdxs = []int32{
|
|
|
- 3, // 0: backend.operation.SearchMobileRequest.pagination:type_name -> backend.operation.PaginationModel
|
|
|
- 2, // 1: backend.operation.SearchMobileResponse.list:type_name -> backend.operation.MobileData
|
|
|
- 2, // [2:2] is the sub-list for method output_type
|
|
|
- 2, // [2:2] is the sub-list for method input_type
|
|
|
- 2, // [2:2] is the sub-list for extension type_name
|
|
|
- 2, // [2:2] is the sub-list for extension extendee
|
|
|
- 0, // [0:2] is the sub-list for field type_name
|
|
|
+ 4, // 0: backend.operation.SearchMobileRequest.pagination:type_name -> backend.operation.PaginationModel
|
|
|
+ 2, // 1: backend.operation.SearchMobileResponse.data:type_name -> backend.operation.SearchMobileData
|
|
|
+ 3, // 2: backend.operation.SearchMobileData.list:type_name -> backend.operation.MobileData
|
|
|
+ 3, // [3:3] is the sub-list for method output_type
|
|
|
+ 3, // [3:3] is the sub-list for method input_type
|
|
|
+ 3, // [3:3] is the sub-list for extension type_name
|
|
|
+ 3, // [3:3] is the sub-list for extension extendee
|
|
|
+ 0, // [0:3] is the sub-list for field type_name
|
|
|
}
|
|
|
|
|
|
func init() { file_backend_operation_mobile_proto_init() }
|
|
@@ -314,6 +387,18 @@ func file_backend_operation_mobile_proto_init() {
|
|
|
}
|
|
|
}
|
|
|
file_backend_operation_mobile_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*SearchMobileData); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_backend_operation_mobile_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
|
switch v := v.(*MobileData); i {
|
|
|
case 0:
|
|
|
return &v.state
|
|
@@ -332,7 +417,7 @@ func file_backend_operation_mobile_proto_init() {
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
RawDescriptor: file_backend_operation_mobile_proto_rawDesc,
|
|
|
NumEnums: 0,
|
|
|
- NumMessages: 3,
|
|
|
+ NumMessages: 4,
|
|
|
NumExtensions: 0,
|
|
|
NumServices: 0,
|
|
|
},
|