|
@@ -0,0 +1,815 @@
|
|
|
+// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
+// versions:
|
|
|
+// protoc-gen-go v1.25.0
|
|
|
+// protoc v3.15.3
|
|
|
+// source: jyOrder.proto
|
|
|
+
|
|
|
+package jyOrder
|
|
|
+
|
|
|
+import (
|
|
|
+ context "context"
|
|
|
+ proto "github.com/golang/protobuf/proto"
|
|
|
+ grpc "google.golang.org/grpc"
|
|
|
+ codes "google.golang.org/grpc/codes"
|
|
|
+ status "google.golang.org/grpc/status"
|
|
|
+ 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)
|
|
|
+)
|
|
|
+
|
|
|
+// This is a compile-time assertion that a sufficiently up-to-date version
|
|
|
+// of the legacy proto package is being used.
|
|
|
+const _ = proto.ProtoPackageIsVersion4
|
|
|
+
|
|
|
+type Request struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ PayMoney int64 `protobuf:"varint,1,opt,name=pay_money,json=payMoney,proto3" json:"pay_money,omitempty"`
|
|
|
+ OrderMoney int64 `protobuf:"varint,2,opt,name=order_money,json=orderMoney,proto3" json:"order_money,omitempty"`
|
|
|
+ UserNickname int64 `protobuf:"varint,3,opt,name=user_nickname,json=userNickname,proto3" json:"user_nickname,omitempty"`
|
|
|
+ PayTime string `protobuf:"bytes,4,opt,name=pay_time,json=payTime,proto3" json:"pay_time,omitempty"`
|
|
|
+ OrderStatus int64 `protobuf:"varint,5,opt,name=order_status,json=orderStatus,proto3" json:"order_status,omitempty"`
|
|
|
+ CreateTime string `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
|
|
|
+ UserOpenid string `protobuf:"bytes,7,opt,name=user_openid,json=userOpenid,proto3" json:"user_openid,omitempty"`
|
|
|
+ ServiceStatus int64 `protobuf:"varint,8,opt,name=service_status,json=serviceStatus,proto3" json:"service_status,omitempty"`
|
|
|
+ ServiceTime string `protobuf:"bytes,9,opt,name=service_time,json=serviceTime,proto3" json:"service_time,omitempty"`
|
|
|
+ Filter string `protobuf:"bytes,10,opt,name=filter,proto3" json:"filter,omitempty"`
|
|
|
+ PrepayId string `protobuf:"bytes,11,opt,name=prepay_id,json=prepayId,proto3" json:"prepay_id,omitempty"`
|
|
|
+ CodeUrl string `protobuf:"bytes,12,opt,name=code_url,json=codeUrl,proto3" json:"code_url,omitempty"`
|
|
|
+ OutTradeNo string `protobuf:"bytes,13,opt,name=out_trade_no,json=outTradeNo,proto3" json:"out_trade_no,omitempty"`
|
|
|
+ FilterKeys string `protobuf:"bytes,14,opt,name=filter_keys,json=filterKeys,proto3" json:"filter_keys,omitempty"`
|
|
|
+ FilterPublishtime string `protobuf:"bytes,15,opt,name=filter_publishtime,json=filterPublishtime,proto3" json:"filter_publishtime,omitempty"`
|
|
|
+ DataCount int64 `protobuf:"varint,16,opt,name=data_count,json=dataCount,proto3" json:"data_count,omitempty"`
|
|
|
+ UserMail string `protobuf:"bytes,17,opt,name=user_mail,json=userMail,proto3" json:"user_mail,omitempty"`
|
|
|
+ DataSpec string `protobuf:"bytes,18,opt,name=data_spec,json=dataSpec,proto3" json:"data_spec,omitempty"`
|
|
|
+ OriginalPrice int64 `protobuf:"varint,19,opt,name=original_price,json=originalPrice,proto3" json:"original_price,omitempty"`
|
|
|
+ OrderCode string `protobuf:"bytes,20,opt,name=order_code,json=orderCode,proto3" json:"order_code,omitempty"`
|
|
|
+ PrepayTime string `protobuf:"bytes,21,opt,name=prepay_time,json=prepayTime,proto3" json:"prepay_time,omitempty"`
|
|
|
+ ProductType string `protobuf:"bytes,22,opt,name=product_type,json=productType,proto3" json:"product_type,omitempty"`
|
|
|
+ FilterId string `protobuf:"bytes,23,opt,name=filter_id,json=filterId,proto3" json:"filter_id,omitempty"`
|
|
|
+ PayWay string `protobuf:"bytes,24,opt,name=pay_way,json=payWay,proto3" json:"pay_way,omitempty"`
|
|
|
+ UserPhone string `protobuf:"bytes,25,opt,name=user_phone,json=userPhone,proto3" json:"user_phone,omitempty"`
|
|
|
+ ApplybillStatus int64 `protobuf:"varint,26,opt,name=applybill_status,json=applybillStatus,proto3" json:"applybill_status,omitempty"`
|
|
|
+ DownloadUrl string `protobuf:"bytes,27,opt,name=download_url,json=downloadUrl,proto3" json:"download_url,omitempty"`
|
|
|
+ ApplybillType int64 `protobuf:"varint,28,opt,name=applybill_type,json=applybillType,proto3" json:"applybill_type,omitempty"`
|
|
|
+ ApplybillTaxnum string `protobuf:"bytes,29,opt,name=applybill_taxnum,json=applybillTaxnum,proto3" json:"applybill_taxnum,omitempty"`
|
|
|
+ RemindStatus int64 `protobuf:"varint,30,opt,name=remind_status,json=remindStatus,proto3" json:"remind_status,omitempty"`
|
|
|
+ ApplybillCompany string `protobuf:"bytes,31,opt,name=applybill_company,json=applybillCompany,proto3" json:"applybill_company,omitempty"`
|
|
|
+ UserId string `protobuf:"bytes,32,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
|
|
+ VipStarttime string `protobuf:"bytes,33,opt,name=vip_starttime,json=vipStarttime,proto3" json:"vip_starttime,omitempty"`
|
|
|
+ VipEndtime string `protobuf:"bytes,34,opt,name=vip_endtime,json=vipEndtime,proto3" json:"vip_endtime,omitempty"`
|
|
|
+ VipType int64 `protobuf:"varint,35,opt,name=vip_type,json=vipType,proto3" json:"vip_type,omitempty"`
|
|
|
+ CourseStatus int64 `protobuf:"varint,36,opt,name=course_status,json=courseStatus,proto3" json:"course_status,omitempty"`
|
|
|
+ ApplyRefundName string `protobuf:"bytes,37,opt,name=apply_refund_name,json=applyRefundName,proto3" json:"apply_refund_name,omitempty"`
|
|
|
+ ApplyRefundReason string `protobuf:"bytes,38,opt,name=apply_refund_reason,json=applyRefundReason,proto3" json:"apply_refund_reason,omitempty"`
|
|
|
+ ApplyRefundTime int64 `protobuf:"varint,39,opt,name=apply_refund_time,json=applyRefundTime,proto3" json:"apply_refund_time,omitempty"`
|
|
|
+ DelStatus int64 `protobuf:"varint,40,opt,name=del_status,json=delStatus,proto3" json:"del_status,omitempty"`
|
|
|
+ DelTime string `protobuf:"bytes,41,opt,name=del_time,json=delTime,proto3" json:"del_time,omitempty"`
|
|
|
+ DisWord string `protobuf:"bytes,42,opt,name=dis_word,json=disWord,proto3" json:"dis_word,omitempty"`
|
|
|
+ DiscountPrice int64 `protobuf:"varint,43,opt,name=discount_price,json=discountPrice,proto3" json:"discount_price,omitempty"`
|
|
|
+ DRelationId string `protobuf:"bytes,44,opt,name=d_relation_id,json=dRelationId,proto3" json:"d_relation_id,omitempty"`
|
|
|
+ ReturnStatus int64 `protobuf:"varint,45,opt,name=return_status,json=returnStatus,proto3" json:"return_status,omitempty"`
|
|
|
+ RefundStatus int64 `protobuf:"varint,46,opt,name=refund_status,json=refundStatus,proto3" json:"refund_status,omitempty"`
|
|
|
+ IsBackstageOrder int64 `protobuf:"varint,47,opt,name=is_backstage_order,json=isBackstageOrder,proto3" json:"is_backstage_order,omitempty"`
|
|
|
+ Salesperson string `protobuf:"bytes,48,opt,name=salesperson,proto3" json:"salesperson,omitempty"`
|
|
|
+ CompanyName string `protobuf:"bytes,49,opt,name=company_name,json=companyName,proto3" json:"company_name,omitempty"`
|
|
|
+ BillingMode int64 `protobuf:"varint,50,opt,name=billingMode,proto3" json:"billingMode,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) Reset() {
|
|
|
+ *x = Request{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_jyOrder_proto_msgTypes[0]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*Request) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *Request) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_jyOrder_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 Request.ProtoReflect.Descriptor instead.
|
|
|
+func (*Request) Descriptor() ([]byte, []int) {
|
|
|
+ return file_jyOrder_proto_rawDescGZIP(), []int{0}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) GetPayMoney() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.PayMoney
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) GetOrderMoney() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.OrderMoney
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) GetUserNickname() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.UserNickname
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) GetPayTime() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.PayTime
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) GetOrderStatus() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.OrderStatus
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) GetCreateTime() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.CreateTime
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) GetUserOpenid() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.UserOpenid
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) GetServiceStatus() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.ServiceStatus
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) GetServiceTime() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.ServiceTime
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) GetFilter() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Filter
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) GetPrepayId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.PrepayId
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) GetCodeUrl() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.CodeUrl
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) GetOutTradeNo() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.OutTradeNo
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) GetFilterKeys() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.FilterKeys
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) GetFilterPublishtime() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.FilterPublishtime
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) GetDataCount() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.DataCount
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) GetUserMail() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.UserMail
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) GetDataSpec() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.DataSpec
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) GetOriginalPrice() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.OriginalPrice
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) GetOrderCode() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.OrderCode
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) GetPrepayTime() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.PrepayTime
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) GetProductType() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.ProductType
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) GetFilterId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.FilterId
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) GetPayWay() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.PayWay
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) GetUserPhone() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.UserPhone
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) GetApplybillStatus() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.ApplybillStatus
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) GetDownloadUrl() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.DownloadUrl
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) GetApplybillType() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.ApplybillType
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) GetApplybillTaxnum() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.ApplybillTaxnum
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) GetRemindStatus() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.RemindStatus
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) GetApplybillCompany() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.ApplybillCompany
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) GetUserId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.UserId
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) GetVipStarttime() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.VipStarttime
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) GetVipEndtime() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.VipEndtime
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) GetVipType() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.VipType
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) GetCourseStatus() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.CourseStatus
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) GetApplyRefundName() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.ApplyRefundName
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) GetApplyRefundReason() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.ApplyRefundReason
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) GetApplyRefundTime() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.ApplyRefundTime
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) GetDelStatus() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.DelStatus
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) GetDelTime() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.DelTime
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) GetDisWord() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.DisWord
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) GetDiscountPrice() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.DiscountPrice
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) GetDRelationId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.DRelationId
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) GetReturnStatus() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.ReturnStatus
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) GetRefundStatus() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.RefundStatus
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) GetIsBackstageOrder() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.IsBackstageOrder
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) GetSalesperson() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Salesperson
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) GetCompanyName() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.CompanyName
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) GetBillingMode() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.BillingMode
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+type Response struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` //响应代码
|
|
|
+ Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` //响应消息
|
|
|
+ Data int64 `protobuf:"varint,3,opt,name=data,proto3" json:"data,omitempty"` //返回数据
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Response) Reset() {
|
|
|
+ *x = Response{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_jyOrder_proto_msgTypes[1]
|
|
|
+ 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_jyOrder_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 Response.ProtoReflect.Descriptor instead.
|
|
|
+func (*Response) Descriptor() ([]byte, []int) {
|
|
|
+ return file_jyOrder_proto_rawDescGZIP(), []int{1}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Response) GetCode() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.Code
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Response) GetMessage() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Message
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Response) GetData() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.Data
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+var File_jyOrder_proto protoreflect.FileDescriptor
|
|
|
+
|
|
|
+var file_jyOrder_proto_rawDesc = []byte{
|
|
|
+ 0x0a, 0x0d, 0x6a, 0x79, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
|
|
|
+ 0x07, 0x6a, 0x79, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x22, 0xc8, 0x0d, 0x0a, 0x07, 0x52, 0x65, 0x71,
|
|
|
+ 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x79, 0x5f, 0x6d, 0x6f, 0x6e, 0x65,
|
|
|
+ 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x70, 0x61, 0x79, 0x4d, 0x6f, 0x6e, 0x65,
|
|
|
+ 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x6d, 0x6f, 0x6e, 0x65, 0x79,
|
|
|
+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x4d, 0x6f, 0x6e,
|
|
|
+ 0x65, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6e, 0x69, 0x63, 0x6b, 0x6e,
|
|
|
+ 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x75, 0x73, 0x65, 0x72, 0x4e,
|
|
|
+ 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x61, 0x79, 0x5f, 0x74,
|
|
|
+ 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x61, 0x79, 0x54, 0x69,
|
|
|
+ 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x73, 0x74, 0x61, 0x74,
|
|
|
+ 0x75, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x53,
|
|
|
+ 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f,
|
|
|
+ 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61,
|
|
|
+ 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6f,
|
|
|
+ 0x70, 0x65, 0x6e, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x75, 0x73, 0x65,
|
|
|
+ 0x72, 0x4f, 0x70, 0x65, 0x6e, 0x69, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69,
|
|
|
+ 0x63, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52,
|
|
|
+ 0x0d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x21,
|
|
|
+ 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09,
|
|
|
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x69, 0x6d,
|
|
|
+ 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28,
|
|
|
+ 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x72, 0x65,
|
|
|
+ 0x70, 0x61, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72,
|
|
|
+ 0x65, 0x70, 0x61, 0x79, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x63, 0x6f, 0x64, 0x65, 0x5f, 0x75,
|
|
|
+ 0x72, 0x6c, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x64, 0x65, 0x55, 0x72,
|
|
|
+ 0x6c, 0x12, 0x20, 0x0a, 0x0c, 0x6f, 0x75, 0x74, 0x5f, 0x74, 0x72, 0x61, 0x64, 0x65, 0x5f, 0x6e,
|
|
|
+ 0x6f, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6f, 0x75, 0x74, 0x54, 0x72, 0x61, 0x64,
|
|
|
+ 0x65, 0x4e, 0x6f, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x5f, 0x6b, 0x65,
|
|
|
+ 0x79, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72,
|
|
|
+ 0x4b, 0x65, 0x79, 0x73, 0x12, 0x2d, 0x0a, 0x12, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x5f, 0x70,
|
|
|
+ 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09,
|
|
|
+ 0x52, 0x11, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x74,
|
|
|
+ 0x69, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x63, 0x6f, 0x75, 0x6e,
|
|
|
+ 0x74, 0x18, 0x10, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x64, 0x61, 0x74, 0x61, 0x43, 0x6f, 0x75,
|
|
|
+ 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6d, 0x61, 0x69, 0x6c, 0x18,
|
|
|
+ 0x11, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4d, 0x61, 0x69, 0x6c, 0x12,
|
|
|
+ 0x1b, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x18, 0x12, 0x20, 0x01,
|
|
|
+ 0x28, 0x09, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x53, 0x70, 0x65, 0x63, 0x12, 0x25, 0x0a, 0x0e,
|
|
|
+ 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x13,
|
|
|
+ 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x50, 0x72,
|
|
|
+ 0x69, 0x63, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x64,
|
|
|
+ 0x65, 0x18, 0x14, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x43, 0x6f,
|
|
|
+ 0x64, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x65, 0x70, 0x61, 0x79, 0x5f, 0x74, 0x69, 0x6d,
|
|
|
+ 0x65, 0x18, 0x15, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x65, 0x70, 0x61, 0x79, 0x54,
|
|
|
+ 0x69, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x74,
|
|
|
+ 0x79, 0x70, 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x72, 0x6f, 0x64, 0x75,
|
|
|
+ 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72,
|
|
|
+ 0x5f, 0x69, 0x64, 0x18, 0x17, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x74, 0x65,
|
|
|
+ 0x72, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x5f, 0x77, 0x61, 0x79, 0x18, 0x18,
|
|
|
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x79, 0x57, 0x61, 0x79, 0x12, 0x1d, 0x0a, 0x0a,
|
|
|
+ 0x75, 0x73, 0x65, 0x72, 0x5f, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x19, 0x20, 0x01, 0x28, 0x09,
|
|
|
+ 0x52, 0x09, 0x75, 0x73, 0x65, 0x72, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x61,
|
|
|
+ 0x70, 0x70, 0x6c, 0x79, 0x62, 0x69, 0x6c, 0x6c, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18,
|
|
|
+ 0x1a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x62, 0x69, 0x6c, 0x6c,
|
|
|
+ 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f,
|
|
|
+ 0x61, 0x64, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x6f,
|
|
|
+ 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72, 0x6c, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x70, 0x70,
|
|
|
+ 0x6c, 0x79, 0x62, 0x69, 0x6c, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x1c, 0x20, 0x01, 0x28,
|
|
|
+ 0x03, 0x52, 0x0d, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x62, 0x69, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65,
|
|
|
+ 0x12, 0x29, 0x0a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x62, 0x69, 0x6c, 0x6c, 0x5f, 0x74, 0x61,
|
|
|
+ 0x78, 0x6e, 0x75, 0x6d, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x61, 0x70, 0x70, 0x6c,
|
|
|
+ 0x79, 0x62, 0x69, 0x6c, 0x6c, 0x54, 0x61, 0x78, 0x6e, 0x75, 0x6d, 0x12, 0x23, 0x0a, 0x0d, 0x72,
|
|
|
+ 0x65, 0x6d, 0x69, 0x6e, 0x64, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x1e, 0x20, 0x01,
|
|
|
+ 0x28, 0x03, 0x52, 0x0c, 0x72, 0x65, 0x6d, 0x69, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
|
|
|
+ 0x12, 0x2b, 0x0a, 0x11, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x62, 0x69, 0x6c, 0x6c, 0x5f, 0x63, 0x6f,
|
|
|
+ 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x70, 0x70,
|
|
|
+ 0x6c, 0x79, 0x62, 0x69, 0x6c, 0x6c, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x12, 0x17, 0x0a,
|
|
|
+ 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x20, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
|
|
|
+ 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x76, 0x69, 0x70, 0x5f, 0x73, 0x74,
|
|
|
+ 0x61, 0x72, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x21, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x76,
|
|
|
+ 0x69, 0x70, 0x53, 0x74, 0x61, 0x72, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x76,
|
|
|
+ 0x69, 0x70, 0x5f, 0x65, 0x6e, 0x64, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x22, 0x20, 0x01, 0x28, 0x09,
|
|
|
+ 0x52, 0x0a, 0x76, 0x69, 0x70, 0x45, 0x6e, 0x64, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08,
|
|
|
+ 0x76, 0x69, 0x70, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x23, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07,
|
|
|
+ 0x76, 0x69, 0x70, 0x54, 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6f, 0x75, 0x72, 0x73,
|
|
|
+ 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x24, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c,
|
|
|
+ 0x63, 0x6f, 0x75, 0x72, 0x73, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2a, 0x0a, 0x11,
|
|
|
+ 0x61, 0x70, 0x70, 0x6c, 0x79, 0x5f, 0x72, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x5f, 0x6e, 0x61, 0x6d,
|
|
|
+ 0x65, 0x18, 0x25, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x52, 0x65,
|
|
|
+ 0x66, 0x75, 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x61, 0x70, 0x70, 0x6c,
|
|
|
+ 0x79, 0x5f, 0x72, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18,
|
|
|
+ 0x26, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x52, 0x65, 0x66, 0x75,
|
|
|
+ 0x6e, 0x64, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x11, 0x61, 0x70, 0x70, 0x6c,
|
|
|
+ 0x79, 0x5f, 0x72, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x27, 0x20,
|
|
|
+ 0x01, 0x28, 0x03, 0x52, 0x0f, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64,
|
|
|
+ 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x65, 0x6c, 0x5f, 0x73, 0x74, 0x61, 0x74,
|
|
|
+ 0x75, 0x73, 0x18, 0x28, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x64, 0x65, 0x6c, 0x53, 0x74, 0x61,
|
|
|
+ 0x74, 0x75, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x64, 0x65, 0x6c, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18,
|
|
|
+ 0x29, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x64, 0x65, 0x6c, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x19,
|
|
|
+ 0x0a, 0x08, 0x64, 0x69, 0x73, 0x5f, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x2a, 0x20, 0x01, 0x28, 0x09,
|
|
|
+ 0x52, 0x07, 0x64, 0x69, 0x73, 0x57, 0x6f, 0x72, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x64, 0x69, 0x73,
|
|
|
+ 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x2b, 0x20, 0x01, 0x28,
|
|
|
+ 0x03, 0x52, 0x0d, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65,
|
|
|
+ 0x12, 0x22, 0x0a, 0x0d, 0x64, 0x5f, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69,
|
|
|
+ 0x64, 0x18, 0x2c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69,
|
|
|
+ 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x5f, 0x73,
|
|
|
+ 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x2d, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x72, 0x65, 0x74,
|
|
|
+ 0x75, 0x72, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x66,
|
|
|
+ 0x75, 0x6e, 0x64, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x2e, 0x20, 0x01, 0x28, 0x03,
|
|
|
+ 0x52, 0x0c, 0x72, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2c,
|
|
|
+ 0x0a, 0x12, 0x69, 0x73, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x73, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x6f,
|
|
|
+ 0x72, 0x64, 0x65, 0x72, 0x18, 0x2f, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x69, 0x73, 0x42, 0x61,
|
|
|
+ 0x63, 0x6b, 0x73, 0x74, 0x61, 0x67, 0x65, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x20, 0x0a, 0x0b,
|
|
|
+ 0x73, 0x61, 0x6c, 0x65, 0x73, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x18, 0x30, 0x20, 0x01, 0x28,
|
|
|
+ 0x09, 0x52, 0x0b, 0x73, 0x61, 0x6c, 0x65, 0x73, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x12, 0x21,
|
|
|
+ 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x31,
|
|
|
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x4e, 0x61, 0x6d,
|
|
|
+ 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x4d, 0x6f, 0x64, 0x65,
|
|
|
+ 0x18, 0x32, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x4d,
|
|
|
+ 0x6f, 0x64, 0x65, 0x22, 0x4c, 0x0a, 0x08, 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, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02,
|
|
|
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a,
|
|
|
+ 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x64, 0x61, 0x74,
|
|
|
+ 0x61, 0x32, 0x3d, 0x0a, 0x07, 0x4a, 0x79, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x32, 0x0a, 0x0b,
|
|
|
+ 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x10, 0x2e, 0x6a, 0x79,
|
|
|
+ 0x4f, 0x72, 0x64, 0x65, 0x72, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e,
|
|
|
+ 0x6a, 0x79, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
|
+ 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
+}
|
|
|
+
|
|
|
+var (
|
|
|
+ file_jyOrder_proto_rawDescOnce sync.Once
|
|
|
+ file_jyOrder_proto_rawDescData = file_jyOrder_proto_rawDesc
|
|
|
+)
|
|
|
+
|
|
|
+func file_jyOrder_proto_rawDescGZIP() []byte {
|
|
|
+ file_jyOrder_proto_rawDescOnce.Do(func() {
|
|
|
+ file_jyOrder_proto_rawDescData = protoimpl.X.CompressGZIP(file_jyOrder_proto_rawDescData)
|
|
|
+ })
|
|
|
+ return file_jyOrder_proto_rawDescData
|
|
|
+}
|
|
|
+
|
|
|
+var file_jyOrder_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
|
|
+var file_jyOrder_proto_goTypes = []interface{}{
|
|
|
+ (*Request)(nil), // 0: jyOrder.Request
|
|
|
+ (*Response)(nil), // 1: jyOrder.Response
|
|
|
+}
|
|
|
+var file_jyOrder_proto_depIdxs = []int32{
|
|
|
+ 0, // 0: jyOrder.JyOrder.CreateOrder:input_type -> jyOrder.Request
|
|
|
+ 1, // 1: jyOrder.JyOrder.CreateOrder:output_type -> jyOrder.Response
|
|
|
+ 1, // [1:2] is the sub-list for method output_type
|
|
|
+ 0, // [0:1] 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_jyOrder_proto_init() }
|
|
|
+func file_jyOrder_proto_init() {
|
|
|
+ if File_jyOrder_proto != nil {
|
|
|
+ return
|
|
|
+ }
|
|
|
+ if !protoimpl.UnsafeEnabled {
|
|
|
+ file_jyOrder_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*Request); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_jyOrder_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*Response); 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_jyOrder_proto_rawDesc,
|
|
|
+ NumEnums: 0,
|
|
|
+ NumMessages: 2,
|
|
|
+ NumExtensions: 0,
|
|
|
+ NumServices: 1,
|
|
|
+ },
|
|
|
+ GoTypes: file_jyOrder_proto_goTypes,
|
|
|
+ DependencyIndexes: file_jyOrder_proto_depIdxs,
|
|
|
+ MessageInfos: file_jyOrder_proto_msgTypes,
|
|
|
+ }.Build()
|
|
|
+ File_jyOrder_proto = out.File
|
|
|
+ file_jyOrder_proto_rawDesc = nil
|
|
|
+ file_jyOrder_proto_goTypes = nil
|
|
|
+ file_jyOrder_proto_depIdxs = nil
|
|
|
+}
|
|
|
+
|
|
|
+// Reference imports to suppress errors if they are not otherwise used.
|
|
|
+var _ context.Context
|
|
|
+var _ grpc.ClientConnInterface
|
|
|
+
|
|
|
+// This is a compile-time assertion to ensure that this generated file
|
|
|
+// is compatible with the grpc package it is being compiled against.
|
|
|
+const _ = grpc.SupportPackageIsVersion6
|
|
|
+
|
|
|
+// JyOrderClient is the client API for JyOrder service.
|
|
|
+//
|
|
|
+// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
|
+type JyOrderClient interface {
|
|
|
+ CreateOrder(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error)
|
|
|
+}
|
|
|
+
|
|
|
+type jyOrderClient struct {
|
|
|
+ cc grpc.ClientConnInterface
|
|
|
+}
|
|
|
+
|
|
|
+func NewJyOrderClient(cc grpc.ClientConnInterface) JyOrderClient {
|
|
|
+ return &jyOrderClient{cc}
|
|
|
+}
|
|
|
+
|
|
|
+func (c *jyOrderClient) CreateOrder(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) {
|
|
|
+ out := new(Response)
|
|
|
+ err := c.cc.Invoke(ctx, "/jyOrder.JyOrder/CreateOrder", in, out, opts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
+// JyOrderServer is the server API for JyOrder service.
|
|
|
+type JyOrderServer interface {
|
|
|
+ CreateOrder(context.Context, *Request) (*Response, error)
|
|
|
+}
|
|
|
+
|
|
|
+// UnimplementedJyOrderServer can be embedded to have forward compatible implementations.
|
|
|
+type UnimplementedJyOrderServer struct {
|
|
|
+}
|
|
|
+
|
|
|
+func (*UnimplementedJyOrderServer) CreateOrder(context.Context, *Request) (*Response, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method CreateOrder not implemented")
|
|
|
+}
|
|
|
+
|
|
|
+func RegisterJyOrderServer(s *grpc.Server, srv JyOrderServer) {
|
|
|
+ s.RegisterService(&_JyOrder_serviceDesc, srv)
|
|
|
+}
|
|
|
+
|
|
|
+func _JyOrder_CreateOrder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
+ in := new(Request)
|
|
|
+ if err := dec(in); err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if interceptor == nil {
|
|
|
+ return srv.(JyOrderServer).CreateOrder(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: "/jyOrder.JyOrder/CreateOrder",
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(JyOrderServer).CreateOrder(ctx, req.(*Request))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
+var _JyOrder_serviceDesc = grpc.ServiceDesc{
|
|
|
+ ServiceName: "jyOrder.JyOrder",
|
|
|
+ HandlerType: (*JyOrderServer)(nil),
|
|
|
+ Methods: []grpc.MethodDesc{
|
|
|
+ {
|
|
|
+ MethodName: "CreateOrder",
|
|
|
+ Handler: _JyOrder_CreateOrder_Handler,
|
|
|
+ },
|
|
|
+ },
|
|
|
+ Streams: []grpc.StreamDesc{},
|
|
|
+ Metadata: "jyOrder.proto",
|
|
|
+}
|