|
@@ -0,0 +1,498 @@
|
|
|
+// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
+// versions:
|
|
|
+// protoc-gen-go v1.28.0
|
|
|
+// protoc v3.15.5
|
|
|
+// source: partnerlib.proto
|
|
|
+
|
|
|
+package partnerlib
|
|
|
+
|
|
|
+import (
|
|
|
+ protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
+ protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
|
+ reflect "reflect"
|
|
|
+ sync "sync"
|
|
|
+)
|
|
|
+
|
|
|
+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 UserDownloadRequest struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ MgoUserId string `protobuf:"bytes,1,opt,name=mgoUserId,proto3" json:"mgoUserId,omitempty"` //用户mongo id
|
|
|
+ Phone string `protobuf:"bytes,2,opt,name=phone,proto3" json:"phone,omitempty"` //手机号
|
|
|
+ PositionId int64 `protobuf:"varint,3,opt,name=positionId,proto3" json:"positionId,omitempty"` //职位id
|
|
|
+ AppId string `protobuf:"bytes,4,opt,name=appId,proto3" json:"appId,omitempty"` //剑鱼标识
|
|
|
+ Cost int64 `protobuf:"varint,5,opt,name=cost,proto3" json:"cost,omitempty"` //费用
|
|
|
+ DocId string `protobuf:"bytes,6,opt,name=docId,proto3" json:"docId,omitempty"` //文档id
|
|
|
+ State int64 `protobuf:"varint,7,opt,name=state,proto3" json:"state,omitempty"` //1:豆丁
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UserDownloadRequest) Reset() {
|
|
|
+ *x = UserDownloadRequest{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_partnerlib_proto_msgTypes[0]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UserDownloadRequest) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*UserDownloadRequest) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *UserDownloadRequest) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_partnerlib_proto_msgTypes[0]
|
|
|
+ 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 UserDownloadRequest.ProtoReflect.Descriptor instead.
|
|
|
+func (*UserDownloadRequest) Descriptor() ([]byte, []int) {
|
|
|
+ return file_partnerlib_proto_rawDescGZIP(), []int{0}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UserDownloadRequest) GetMgoUserId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.MgoUserId
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UserDownloadRequest) GetPhone() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Phone
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UserDownloadRequest) GetPositionId() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.PositionId
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UserDownloadRequest) GetAppId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.AppId
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UserDownloadRequest) GetCost() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.Cost
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UserDownloadRequest) GetDocId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.DocId
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UserDownloadRequest) GetState() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.State
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+//豆丁会员购买
|
|
|
+type UserBuyVipRequest struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ MgoUserId string `protobuf:"bytes,1,opt,name=mgoUserId,proto3" json:"mgoUserId,omitempty"` //用户mongo id
|
|
|
+ Phone string `protobuf:"bytes,2,opt,name=phone,proto3" json:"phone,omitempty"` //手机号
|
|
|
+ PositionId int64 `protobuf:"varint,3,opt,name=positionId,proto3" json:"positionId,omitempty"` //职位id
|
|
|
+ AppId string `protobuf:"bytes,4,opt,name=appId,proto3" json:"appId,omitempty"` //剑鱼标识
|
|
|
+ DocId string `protobuf:"bytes,5,opt,name=docId,proto3" json:"docId,omitempty"` //文档id
|
|
|
+ Type int64 `protobuf:"varint,6,opt,name=type,proto3" json:"type,omitempty"` //购买类型:1 币买文档,2 券买文档,3 月大会员,4 季大会员,5 年大会员
|
|
|
+ State int64 `protobuf:"varint,7,opt,name=state,proto3" json:"state,omitempty"` //1:豆丁
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UserBuyVipRequest) Reset() {
|
|
|
+ *x = UserBuyVipRequest{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_partnerlib_proto_msgTypes[1]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UserBuyVipRequest) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*UserBuyVipRequest) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *UserBuyVipRequest) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_partnerlib_proto_msgTypes[1]
|
|
|
+ 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 UserBuyVipRequest.ProtoReflect.Descriptor instead.
|
|
|
+func (*UserBuyVipRequest) Descriptor() ([]byte, []int) {
|
|
|
+ return file_partnerlib_proto_rawDescGZIP(), []int{1}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UserBuyVipRequest) GetMgoUserId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.MgoUserId
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UserBuyVipRequest) GetPhone() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Phone
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UserBuyVipRequest) GetPositionId() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.PositionId
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UserBuyVipRequest) GetAppId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.AppId
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UserBuyVipRequest) GetDocId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.DocId
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UserBuyVipRequest) GetType() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.Type
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UserBuyVipRequest) GetState() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.State
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+// 用户下载
|
|
|
+type UDRes struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
|
|
|
+ Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
|
|
|
+ OssDocId string `protobuf:"bytes,3,opt,name=ossDocId,proto3" json:"ossDocId,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UDRes) Reset() {
|
|
|
+ *x = UDRes{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_partnerlib_proto_msgTypes[2]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UDRes) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*UDRes) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *UDRes) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_partnerlib_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 UDRes.ProtoReflect.Descriptor instead.
|
|
|
+func (*UDRes) Descriptor() ([]byte, []int) {
|
|
|
+ return file_partnerlib_proto_rawDescGZIP(), []int{2}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UDRes) GetCode() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.Code
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UDRes) GetMsg() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Msg
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UDRes) GetOssDocId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.OssDocId
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+//会员购买返回值
|
|
|
+type UBVRes struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
|
|
|
+ Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
|
|
|
+ OrderNo string `protobuf:"bytes,3,opt,name=orderNo,proto3" json:"orderNo,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UBVRes) Reset() {
|
|
|
+ *x = UBVRes{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_partnerlib_proto_msgTypes[3]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UBVRes) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*UBVRes) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *UBVRes) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_partnerlib_proto_msgTypes[3]
|
|
|
+ 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 UBVRes.ProtoReflect.Descriptor instead.
|
|
|
+func (*UBVRes) Descriptor() ([]byte, []int) {
|
|
|
+ return file_partnerlib_proto_rawDescGZIP(), []int{3}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UBVRes) GetCode() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.Code
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UBVRes) GetMsg() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Msg
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UBVRes) GetOrderNo() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.OrderNo
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+var File_partnerlib_proto protoreflect.FileDescriptor
|
|
|
+
|
|
|
+var file_partnerlib_proto_rawDesc = []byte{
|
|
|
+ 0x0a, 0x10, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x6c, 0x69, 0x62, 0x2e, 0x70, 0x72, 0x6f,
|
|
|
+ 0x74, 0x6f, 0x12, 0x0a, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x6c, 0x69, 0x62, 0x22, 0xbf,
|
|
|
+ 0x01, 0x0a, 0x13, 0x55, 0x73, 0x65, 0x72, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x52,
|
|
|
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6d, 0x67, 0x6f, 0x55, 0x73, 0x65,
|
|
|
+ 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x67, 0x6f, 0x55, 0x73,
|
|
|
+ 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x02, 0x20,
|
|
|
+ 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x6f,
|
|
|
+ 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a,
|
|
|
+ 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70,
|
|
|
+ 0x70, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64,
|
|
|
+ 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x73, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04,
|
|
|
+ 0x63, 0x6f, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x6f, 0x63, 0x49, 0x64, 0x18, 0x06, 0x20,
|
|
|
+ 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x6f, 0x63, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74,
|
|
|
+ 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65,
|
|
|
+ 0x22, 0xbd, 0x01, 0x0a, 0x11, 0x55, 0x73, 0x65, 0x72, 0x42, 0x75, 0x79, 0x56, 0x69, 0x70, 0x52,
|
|
|
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6d, 0x67, 0x6f, 0x55, 0x73, 0x65,
|
|
|
+ 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x67, 0x6f, 0x55, 0x73,
|
|
|
+ 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x02, 0x20,
|
|
|
+ 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x6f,
|
|
|
+ 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a,
|
|
|
+ 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70,
|
|
|
+ 0x70, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64,
|
|
|
+ 0x12, 0x14, 0x0a, 0x05, 0x64, 0x6f, 0x63, 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
+ 0x05, 0x64, 0x6f, 0x63, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06,
|
|
|
+ 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74,
|
|
|
+ 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65,
|
|
|
+ 0x22, 0x49, 0x0a, 0x05, 0x55, 0x44, 0x52, 0x65, 0x73, 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,
|
|
|
+ 0x1a, 0x0a, 0x08, 0x6f, 0x73, 0x73, 0x44, 0x6f, 0x63, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
|
+ 0x09, 0x52, 0x08, 0x6f, 0x73, 0x73, 0x44, 0x6f, 0x63, 0x49, 0x64, 0x22, 0x48, 0x0a, 0x06, 0x55,
|
|
|
+ 0x42, 0x56, 0x52, 0x65, 0x73, 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, 0x18, 0x0a, 0x07, 0x6f,
|
|
|
+ 0x72, 0x64, 0x65, 0x72, 0x4e, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x72,
|
|
|
+ 0x64, 0x65, 0x72, 0x4e, 0x6f, 0x32, 0x8a, 0x01, 0x0a, 0x07, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65,
|
|
|
+ 0x72, 0x12, 0x41, 0x0a, 0x0b, 0x44, 0x6f, 0x63, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64,
|
|
|
+ 0x12, 0x1f, 0x2e, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x6c, 0x69, 0x62, 0x2e, 0x55, 0x73,
|
|
|
+ 0x65, 0x72, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
|
+ 0x74, 0x1a, 0x11, 0x2e, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x6c, 0x69, 0x62, 0x2e, 0x55,
|
|
|
+ 0x44, 0x52, 0x65, 0x73, 0x12, 0x3c, 0x0a, 0x07, 0x55, 0x73, 0x65, 0x72, 0x42, 0x75, 0x79, 0x12,
|
|
|
+ 0x1d, 0x2e, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x6c, 0x69, 0x62, 0x2e, 0x55, 0x73, 0x65,
|
|
|
+ 0x72, 0x42, 0x75, 0x79, 0x56, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12,
|
|
|
+ 0x2e, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x6c, 0x69, 0x62, 0x2e, 0x55, 0x42, 0x56, 0x52,
|
|
|
+ 0x65, 0x73, 0x42, 0x0e, 0x5a, 0x0c, 0x2e, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x6c,
|
|
|
+ 0x69, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
+}
|
|
|
+
|
|
|
+var (
|
|
|
+ file_partnerlib_proto_rawDescOnce sync.Once
|
|
|
+ file_partnerlib_proto_rawDescData = file_partnerlib_proto_rawDesc
|
|
|
+)
|
|
|
+
|
|
|
+func file_partnerlib_proto_rawDescGZIP() []byte {
|
|
|
+ file_partnerlib_proto_rawDescOnce.Do(func() {
|
|
|
+ file_partnerlib_proto_rawDescData = protoimpl.X.CompressGZIP(file_partnerlib_proto_rawDescData)
|
|
|
+ })
|
|
|
+ return file_partnerlib_proto_rawDescData
|
|
|
+}
|
|
|
+
|
|
|
+var file_partnerlib_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
|
|
|
+var file_partnerlib_proto_goTypes = []interface{}{
|
|
|
+ (*UserDownloadRequest)(nil), // 0: partnerlib.UserDownloadRequest
|
|
|
+ (*UserBuyVipRequest)(nil), // 1: partnerlib.UserBuyVipRequest
|
|
|
+ (*UDRes)(nil), // 2: partnerlib.UDRes
|
|
|
+ (*UBVRes)(nil), // 3: partnerlib.UBVRes
|
|
|
+}
|
|
|
+var file_partnerlib_proto_depIdxs = []int32{
|
|
|
+ 0, // 0: partnerlib.Partner.DocDownload:input_type -> partnerlib.UserDownloadRequest
|
|
|
+ 1, // 1: partnerlib.Partner.UserBuy:input_type -> partnerlib.UserBuyVipRequest
|
|
|
+ 2, // 2: partnerlib.Partner.DocDownload:output_type -> partnerlib.UDRes
|
|
|
+ 3, // 3: partnerlib.Partner.UserBuy:output_type -> partnerlib.UBVRes
|
|
|
+ 2, // [2:4] is the sub-list for method output_type
|
|
|
+ 0, // [0:2] is the sub-list for method input_type
|
|
|
+ 0, // [0:0] is the sub-list for extension type_name
|
|
|
+ 0, // [0:0] is the sub-list for extension extendee
|
|
|
+ 0, // [0:0] is the sub-list for field type_name
|
|
|
+}
|
|
|
+
|
|
|
+func init() { file_partnerlib_proto_init() }
|
|
|
+func file_partnerlib_proto_init() {
|
|
|
+ if File_partnerlib_proto != nil {
|
|
|
+ return
|
|
|
+ }
|
|
|
+ if !protoimpl.UnsafeEnabled {
|
|
|
+ file_partnerlib_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*UserDownloadRequest); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_partnerlib_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*UserBuyVipRequest); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_partnerlib_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*UDRes); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_partnerlib_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*UBVRes); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ type x struct{}
|
|
|
+ out := protoimpl.TypeBuilder{
|
|
|
+ File: protoimpl.DescBuilder{
|
|
|
+ GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
+ RawDescriptor: file_partnerlib_proto_rawDesc,
|
|
|
+ NumEnums: 0,
|
|
|
+ NumMessages: 4,
|
|
|
+ NumExtensions: 0,
|
|
|
+ NumServices: 1,
|
|
|
+ },
|
|
|
+ GoTypes: file_partnerlib_proto_goTypes,
|
|
|
+ DependencyIndexes: file_partnerlib_proto_depIdxs,
|
|
|
+ MessageInfos: file_partnerlib_proto_msgTypes,
|
|
|
+ }.Build()
|
|
|
+ File_partnerlib_proto = out.File
|
|
|
+ file_partnerlib_proto_rawDesc = nil
|
|
|
+ file_partnerlib_proto_goTypes = nil
|
|
|
+ file_partnerlib_proto_depIdxs = nil
|
|
|
+}
|