|
@@ -0,0 +1,773 @@
|
|
|
+// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
+// versions:
|
|
|
+// protoc-gen-go v1.25.0
|
|
|
+// protoc v3.15.1
|
|
|
+// source: activity.proto
|
|
|
+
|
|
|
+package activity
|
|
|
+
|
|
|
+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
|
|
|
+
|
|
|
+ ActivityId int64 `protobuf:"varint,1,opt,name=activityId,proto3" json:"activityId,omitempty"` //活动标识
|
|
|
+ UserId string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"` //用户标识
|
|
|
+ AppId string `protobuf:"bytes,3,opt,name=AppId,proto3" json:"AppId,omitempty"` //身份标识
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) Reset() {
|
|
|
+ *x = Request{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_activity_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_activity_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_activity_proto_rawDescGZIP(), []int{0}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) GetActivityId() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.ActivityId
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) GetUserId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.UserId
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Request) GetAppId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.AppId
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+type LotteryOperation struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ LotteryIdArr []int64 `protobuf:"varint,1,rep,packed,name=lotteryIdArr,proto3" json:"lotteryIdArr,omitempty"` //奖券标识集合
|
|
|
+ UserId string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"` //用户标识
|
|
|
+ AppId string `protobuf:"bytes,3,opt,name=AppId,proto3" json:"AppId,omitempty"` //身份标识
|
|
|
+}
|
|
|
+
|
|
|
+func (x *LotteryOperation) Reset() {
|
|
|
+ *x = LotteryOperation{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_activity_proto_msgTypes[1]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *LotteryOperation) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*LotteryOperation) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *LotteryOperation) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_activity_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 LotteryOperation.ProtoReflect.Descriptor instead.
|
|
|
+func (*LotteryOperation) Descriptor() ([]byte, []int) {
|
|
|
+ return file_activity_proto_rawDescGZIP(), []int{1}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *LotteryOperation) GetLotteryIdArr() []int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.LotteryIdArr
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func (x *LotteryOperation) GetUserId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.UserId
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *LotteryOperation) GetAppId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.AppId
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+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"` //响应消息
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Response) Reset() {
|
|
|
+ *x = Response{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_activity_proto_msgTypes[2]
|
|
|
+ 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_activity_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 Response.ProtoReflect.Descriptor instead.
|
|
|
+func (*Response) Descriptor() ([]byte, []int) {
|
|
|
+ return file_activity_proto_rawDescGZIP(), []int{2}
|
|
|
+}
|
|
|
+
|
|
|
+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 ""
|
|
|
+}
|
|
|
+
|
|
|
+//活动下的奖券信息
|
|
|
+type ActivityLotteryResp 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 []*LotteryJson `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"` //奖券信息
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ActivityLotteryResp) Reset() {
|
|
|
+ *x = ActivityLotteryResp{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_activity_proto_msgTypes[3]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ActivityLotteryResp) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*ActivityLotteryResp) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *ActivityLotteryResp) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_activity_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 ActivityLotteryResp.ProtoReflect.Descriptor instead.
|
|
|
+func (*ActivityLotteryResp) Descriptor() ([]byte, []int) {
|
|
|
+ return file_activity_proto_rawDescGZIP(), []int{3}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ActivityLotteryResp) GetCode() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.Code
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ActivityLotteryResp) GetMessage() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Message
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ActivityLotteryResp) GetData() []*LotteryJson {
|
|
|
+ if x != nil {
|
|
|
+ return x.Data
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+type LotteryJson struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ LotteryId int64 `protobuf:"varint,1,opt,name=lotteryId,proto3" json:"lotteryId,omitempty"` //奖券Id
|
|
|
+ LotteryName string `protobuf:"bytes,2,opt,name=lotteryName,proto3" json:"lotteryName,omitempty"` //奖券名字
|
|
|
+ ActivityName string `protobuf:"bytes,3,opt,name=activityName,proto3" json:"activityName,omitempty"` //活动名字
|
|
|
+ ActivityBeginDate string `protobuf:"bytes,4,opt,name=activityBeginDate,proto3" json:"activityBeginDate,omitempty"` //活动时间起
|
|
|
+ ActivityendDate string `protobuf:"bytes,5,opt,name=activityendDate,proto3" json:"activityendDate,omitempty"` //活动时间止
|
|
|
+ IsReceive bool `protobuf:"varint,6,opt,name=isReceive,proto3" json:"isReceive,omitempty"` //是否领取
|
|
|
+ UseProductList string `protobuf:"bytes,7,opt,name=useProductList,proto3" json:"useProductList,omitempty"` //使用商品列表
|
|
|
+ Full int64 `protobuf:"varint,8,opt,name=full,proto3" json:"full,omitempty"` //满多少
|
|
|
+ Reduce int64 `protobuf:"varint,9,opt,name=reduce,proto3" json:"reduce,omitempty"` //减多少
|
|
|
+}
|
|
|
+
|
|
|
+func (x *LotteryJson) Reset() {
|
|
|
+ *x = LotteryJson{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_activity_proto_msgTypes[4]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *LotteryJson) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*LotteryJson) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *LotteryJson) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_activity_proto_msgTypes[4]
|
|
|
+ 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 LotteryJson.ProtoReflect.Descriptor instead.
|
|
|
+func (*LotteryJson) Descriptor() ([]byte, []int) {
|
|
|
+ return file_activity_proto_rawDescGZIP(), []int{4}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *LotteryJson) GetLotteryId() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.LotteryId
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *LotteryJson) GetLotteryName() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.LotteryName
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *LotteryJson) GetActivityName() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.ActivityName
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *LotteryJson) GetActivityBeginDate() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.ActivityBeginDate
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *LotteryJson) GetActivityendDate() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.ActivityendDate
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *LotteryJson) GetIsReceive() bool {
|
|
|
+ if x != nil {
|
|
|
+ return x.IsReceive
|
|
|
+ }
|
|
|
+ return false
|
|
|
+}
|
|
|
+
|
|
|
+func (x *LotteryJson) GetUseProductList() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.UseProductList
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *LotteryJson) GetFull() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.Full
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *LotteryJson) GetReduce() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.Reduce
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+var File_activity_proto protoreflect.FileDescriptor
|
|
|
+
|
|
|
+var file_activity_proto_rawDesc = []byte{
|
|
|
+ 0x0a, 0x0e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
|
+ 0x12, 0x08, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x22, 0x57, 0x0a, 0x07, 0x52, 0x65,
|
|
|
+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74,
|
|
|
+ 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x76,
|
|
|
+ 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18,
|
|
|
+ 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a,
|
|
|
+ 0x05, 0x41, 0x70, 0x70, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x41, 0x70,
|
|
|
+ 0x70, 0x49, 0x64, 0x22, 0x64, 0x0a, 0x10, 0x4c, 0x6f, 0x74, 0x74, 0x65, 0x72, 0x79, 0x4f, 0x70,
|
|
|
+ 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x0a, 0x0c, 0x6c, 0x6f, 0x74, 0x74, 0x65,
|
|
|
+ 0x72, 0x79, 0x49, 0x64, 0x41, 0x72, 0x72, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x0c, 0x6c,
|
|
|
+ 0x6f, 0x74, 0x74, 0x65, 0x72, 0x79, 0x49, 0x64, 0x41, 0x72, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x75,
|
|
|
+ 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65,
|
|
|
+ 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x41, 0x70, 0x70, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01,
|
|
|
+ 0x28, 0x09, 0x52, 0x05, 0x41, 0x70, 0x70, 0x49, 0x64, 0x22, 0x38, 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, 0x22, 0x6e, 0x0a, 0x13, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x4c,
|
|
|
+ 0x6f, 0x74, 0x74, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 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, 0x29, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61,
|
|
|
+ 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74,
|
|
|
+ 0x79, 0x2e, 0x4c, 0x6f, 0x74, 0x74, 0x65, 0x72, 0x79, 0x4a, 0x73, 0x6f, 0x6e, 0x52, 0x04, 0x64,
|
|
|
+ 0x61, 0x74, 0x61, 0x22, 0xbb, 0x02, 0x0a, 0x0b, 0x4c, 0x6f, 0x74, 0x74, 0x65, 0x72, 0x79, 0x4a,
|
|
|
+ 0x73, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x6c, 0x6f, 0x74, 0x74, 0x65, 0x72, 0x79, 0x49, 0x64,
|
|
|
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x6c, 0x6f, 0x74, 0x74, 0x65, 0x72, 0x79, 0x49,
|
|
|
+ 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x6c, 0x6f, 0x74, 0x74, 0x65, 0x72, 0x79, 0x4e, 0x61, 0x6d, 0x65,
|
|
|
+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6c, 0x6f, 0x74, 0x74, 0x65, 0x72, 0x79, 0x4e,
|
|
|
+ 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x4e,
|
|
|
+ 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x63, 0x74, 0x69, 0x76,
|
|
|
+ 0x69, 0x74, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x11, 0x61, 0x63, 0x74, 0x69, 0x76,
|
|
|
+ 0x69, 0x74, 0x79, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x44, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01,
|
|
|
+ 0x28, 0x09, 0x52, 0x11, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x42, 0x65, 0x67, 0x69,
|
|
|
+ 0x6e, 0x44, 0x61, 0x74, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74,
|
|
|
+ 0x79, 0x65, 0x6e, 0x64, 0x44, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f,
|
|
|
+ 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x65, 0x6e, 0x64, 0x44, 0x61, 0x74, 0x65, 0x12,
|
|
|
+ 0x1c, 0x0a, 0x09, 0x69, 0x73, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x18, 0x06, 0x20, 0x01,
|
|
|
+ 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x12, 0x26, 0x0a,
|
|
|
+ 0x0e, 0x75, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x18,
|
|
|
+ 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x75, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63,
|
|
|
+ 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x75, 0x6c, 0x6c, 0x18, 0x08, 0x20,
|
|
|
+ 0x01, 0x28, 0x03, 0x52, 0x04, 0x66, 0x75, 0x6c, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x64,
|
|
|
+ 0x75, 0x63, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x72, 0x65, 0x64, 0x75, 0x63,
|
|
|
+ 0x65, 0x32, 0x91, 0x02, 0x0a, 0x08, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x12, 0x43,
|
|
|
+ 0x0a, 0x0f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x4c, 0x6f, 0x74, 0x74, 0x65, 0x72,
|
|
|
+ 0x79, 0x12, 0x11, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x52, 0x65, 0x71,
|
|
|
+ 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e,
|
|
|
+ 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x4c, 0x6f, 0x74, 0x74, 0x65, 0x72, 0x79, 0x52,
|
|
|
+ 0x65, 0x73, 0x70, 0x12, 0x40, 0x0a, 0x0e, 0x6c, 0x6f, 0x74, 0x74, 0x65, 0x72, 0x79, 0x52, 0x65,
|
|
|
+ 0x63, 0x65, 0x69, 0x76, 0x65, 0x12, 0x1a, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79,
|
|
|
+ 0x2e, 0x4c, 0x6f, 0x74, 0x74, 0x65, 0x72, 0x79, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
|
|
|
+ 0x6e, 0x1a, 0x12, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x52, 0x65, 0x73,
|
|
|
+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74,
|
|
|
+ 0x79, 0x55, 0x73, 0x65, 0x12, 0x1a, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e,
|
|
|
+ 0x4c, 0x6f, 0x74, 0x74, 0x65, 0x72, 0x79, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
|
|
+ 0x1a, 0x12, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x52, 0x65, 0x73, 0x70,
|
|
|
+ 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x0b, 0x75, 0x73, 0x65, 0x72, 0x4c, 0x6f, 0x74, 0x74,
|
|
|
+ 0x65, 0x72, 0x79, 0x12, 0x11, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x52,
|
|
|
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74,
|
|
|
+ 0x79, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x4c, 0x6f, 0x74, 0x74, 0x65, 0x72,
|
|
|
+ 0x79, 0x52, 0x65, 0x73, 0x70, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
+}
|
|
|
+
|
|
|
+var (
|
|
|
+ file_activity_proto_rawDescOnce sync.Once
|
|
|
+ file_activity_proto_rawDescData = file_activity_proto_rawDesc
|
|
|
+)
|
|
|
+
|
|
|
+func file_activity_proto_rawDescGZIP() []byte {
|
|
|
+ file_activity_proto_rawDescOnce.Do(func() {
|
|
|
+ file_activity_proto_rawDescData = protoimpl.X.CompressGZIP(file_activity_proto_rawDescData)
|
|
|
+ })
|
|
|
+ return file_activity_proto_rawDescData
|
|
|
+}
|
|
|
+
|
|
|
+var file_activity_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
|
|
|
+var file_activity_proto_goTypes = []interface{}{
|
|
|
+ (*Request)(nil), // 0: activity.Request
|
|
|
+ (*LotteryOperation)(nil), // 1: activity.LotteryOperation
|
|
|
+ (*Response)(nil), // 2: activity.Response
|
|
|
+ (*ActivityLotteryResp)(nil), // 3: activity.activityLotteryResp
|
|
|
+ (*LotteryJson)(nil), // 4: activity.LotteryJson
|
|
|
+}
|
|
|
+var file_activity_proto_depIdxs = []int32{
|
|
|
+ 4, // 0: activity.activityLotteryResp.data:type_name -> activity.LotteryJson
|
|
|
+ 0, // 1: activity.Activity.activityLottery:input_type -> activity.Request
|
|
|
+ 1, // 2: activity.Activity.lotteryReceive:input_type -> activity.LotteryOperation
|
|
|
+ 1, // 3: activity.Activity.activityUse:input_type -> activity.LotteryOperation
|
|
|
+ 0, // 4: activity.Activity.userLottery:input_type -> activity.Request
|
|
|
+ 3, // 5: activity.Activity.activityLottery:output_type -> activity.activityLotteryResp
|
|
|
+ 2, // 6: activity.Activity.lotteryReceive:output_type -> activity.Response
|
|
|
+ 2, // 7: activity.Activity.activityUse:output_type -> activity.Response
|
|
|
+ 3, // 8: activity.Activity.userLottery:output_type -> activity.activityLotteryResp
|
|
|
+ 5, // [5:9] is the sub-list for method output_type
|
|
|
+ 1, // [1:5] 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_activity_proto_init() }
|
|
|
+func file_activity_proto_init() {
|
|
|
+ if File_activity_proto != nil {
|
|
|
+ return
|
|
|
+ }
|
|
|
+ if !protoimpl.UnsafeEnabled {
|
|
|
+ file_activity_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_activity_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*LotteryOperation); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_activity_proto_msgTypes[2].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
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_activity_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*ActivityLotteryResp); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_activity_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*LotteryJson); 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_activity_proto_rawDesc,
|
|
|
+ NumEnums: 0,
|
|
|
+ NumMessages: 5,
|
|
|
+ NumExtensions: 0,
|
|
|
+ NumServices: 1,
|
|
|
+ },
|
|
|
+ GoTypes: file_activity_proto_goTypes,
|
|
|
+ DependencyIndexes: file_activity_proto_depIdxs,
|
|
|
+ MessageInfos: file_activity_proto_msgTypes,
|
|
|
+ }.Build()
|
|
|
+ File_activity_proto = out.File
|
|
|
+ file_activity_proto_rawDesc = nil
|
|
|
+ file_activity_proto_goTypes = nil
|
|
|
+ file_activity_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
|
|
|
+
|
|
|
+// ActivityClient is the client API for Activity service.
|
|
|
+//
|
|
|
+// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
|
+type ActivityClient interface {
|
|
|
+ //查询活动下的奖券
|
|
|
+ ActivityLottery(ctx context.Context, in *Request, opts ...grpc.CallOption) (*ActivityLotteryResp, error)
|
|
|
+ //奖券领取
|
|
|
+ LotteryReceive(ctx context.Context, in *LotteryOperation, opts ...grpc.CallOption) (*Response, error)
|
|
|
+ //奖券使用
|
|
|
+ ActivityUse(ctx context.Context, in *LotteryOperation, opts ...grpc.CallOption) (*Response, error)
|
|
|
+ //用户可用的奖券
|
|
|
+ UserLottery(ctx context.Context, in *Request, opts ...grpc.CallOption) (*ActivityLotteryResp, error)
|
|
|
+}
|
|
|
+
|
|
|
+type activityClient struct {
|
|
|
+ cc grpc.ClientConnInterface
|
|
|
+}
|
|
|
+
|
|
|
+func NewActivityClient(cc grpc.ClientConnInterface) ActivityClient {
|
|
|
+ return &activityClient{cc}
|
|
|
+}
|
|
|
+
|
|
|
+func (c *activityClient) ActivityLottery(ctx context.Context, in *Request, opts ...grpc.CallOption) (*ActivityLotteryResp, error) {
|
|
|
+ out := new(ActivityLotteryResp)
|
|
|
+ err := c.cc.Invoke(ctx, "/activity.Activity/activityLottery", in, out, opts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
+func (c *activityClient) LotteryReceive(ctx context.Context, in *LotteryOperation, opts ...grpc.CallOption) (*Response, error) {
|
|
|
+ out := new(Response)
|
|
|
+ err := c.cc.Invoke(ctx, "/activity.Activity/lotteryReceive", in, out, opts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
+func (c *activityClient) ActivityUse(ctx context.Context, in *LotteryOperation, opts ...grpc.CallOption) (*Response, error) {
|
|
|
+ out := new(Response)
|
|
|
+ err := c.cc.Invoke(ctx, "/activity.Activity/activityUse", in, out, opts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
+func (c *activityClient) UserLottery(ctx context.Context, in *Request, opts ...grpc.CallOption) (*ActivityLotteryResp, error) {
|
|
|
+ out := new(ActivityLotteryResp)
|
|
|
+ err := c.cc.Invoke(ctx, "/activity.Activity/userLottery", in, out, opts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
+// ActivityServer is the server API for Activity service.
|
|
|
+type ActivityServer interface {
|
|
|
+ //查询活动下的奖券
|
|
|
+ ActivityLottery(context.Context, *Request) (*ActivityLotteryResp, error)
|
|
|
+ //奖券领取
|
|
|
+ LotteryReceive(context.Context, *LotteryOperation) (*Response, error)
|
|
|
+ //奖券使用
|
|
|
+ ActivityUse(context.Context, *LotteryOperation) (*Response, error)
|
|
|
+ //用户可用的奖券
|
|
|
+ UserLottery(context.Context, *Request) (*ActivityLotteryResp, error)
|
|
|
+}
|
|
|
+
|
|
|
+// UnimplementedActivityServer can be embedded to have forward compatible implementations.
|
|
|
+type UnimplementedActivityServer struct {
|
|
|
+}
|
|
|
+
|
|
|
+func (*UnimplementedActivityServer) ActivityLottery(context.Context, *Request) (*ActivityLotteryResp, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method ActivityLottery not implemented")
|
|
|
+}
|
|
|
+func (*UnimplementedActivityServer) LotteryReceive(context.Context, *LotteryOperation) (*Response, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method LotteryReceive not implemented")
|
|
|
+}
|
|
|
+func (*UnimplementedActivityServer) ActivityUse(context.Context, *LotteryOperation) (*Response, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method ActivityUse not implemented")
|
|
|
+}
|
|
|
+func (*UnimplementedActivityServer) UserLottery(context.Context, *Request) (*ActivityLotteryResp, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method UserLottery not implemented")
|
|
|
+}
|
|
|
+
|
|
|
+func RegisterActivityServer(s *grpc.Server, srv ActivityServer) {
|
|
|
+ s.RegisterService(&_Activity_serviceDesc, srv)
|
|
|
+}
|
|
|
+
|
|
|
+func _Activity_ActivityLottery_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.(ActivityServer).ActivityLottery(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: "/activity.Activity/ActivityLottery",
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(ActivityServer).ActivityLottery(ctx, req.(*Request))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
+func _Activity_LotteryReceive_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
+ in := new(LotteryOperation)
|
|
|
+ if err := dec(in); err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if interceptor == nil {
|
|
|
+ return srv.(ActivityServer).LotteryReceive(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: "/activity.Activity/LotteryReceive",
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(ActivityServer).LotteryReceive(ctx, req.(*LotteryOperation))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
+func _Activity_ActivityUse_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
+ in := new(LotteryOperation)
|
|
|
+ if err := dec(in); err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if interceptor == nil {
|
|
|
+ return srv.(ActivityServer).ActivityUse(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: "/activity.Activity/ActivityUse",
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(ActivityServer).ActivityUse(ctx, req.(*LotteryOperation))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
+func _Activity_UserLottery_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.(ActivityServer).UserLottery(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: "/activity.Activity/UserLottery",
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(ActivityServer).UserLottery(ctx, req.(*Request))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
+var _Activity_serviceDesc = grpc.ServiceDesc{
|
|
|
+ ServiceName: "activity.Activity",
|
|
|
+ HandlerType: (*ActivityServer)(nil),
|
|
|
+ Methods: []grpc.MethodDesc{
|
|
|
+ {
|
|
|
+ MethodName: "activityLottery",
|
|
|
+ Handler: _Activity_ActivityLottery_Handler,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ MethodName: "lotteryReceive",
|
|
|
+ Handler: _Activity_LotteryReceive_Handler,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ MethodName: "activityUse",
|
|
|
+ Handler: _Activity_ActivityUse_Handler,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ MethodName: "userLottery",
|
|
|
+ Handler: _Activity_UserLottery_Handler,
|
|
|
+ },
|
|
|
+ },
|
|
|
+ Streams: []grpc.StreamDesc{},
|
|
|
+ Metadata: "activity.proto",
|
|
|
+}
|