|
@@ -463,6 +463,8 @@ type LotteryJson struct {
|
|
|
StockNumber int64 `protobuf:"varint,15,opt,name=stockNumber,proto3" json:"stockNumber,omitempty"` //库存数
|
|
|
ReceiveNumber int64 `protobuf:"varint,16,opt,name=receiveNumber,proto3" json:"receiveNumber,omitempty"` //领取数
|
|
|
ValidityDates int64 `protobuf:"varint,17,opt,name=validityDates,proto3" json:"validityDates,omitempty"` //有效天数
|
|
|
+ PrizeType int64 `protobuf:"varint,18,opt,name=prizeType,proto3" json:"prizeType,omitempty"` //0未使用1已使用2已过期3待使用
|
|
|
+ LotteryType int64 `protobuf:"varint,19,opt,name=lotteryType,proto3" json:"lotteryType,omitempty"` //0、满减1折扣券2、实物
|
|
|
}
|
|
|
|
|
|
func (x *LotteryJson) Reset() {
|
|
@@ -616,6 +618,20 @@ func (x *LotteryJson) GetValidityDates() int64 {
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
+func (x *LotteryJson) GetPrizeType() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.PrizeType
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *LotteryJson) GetLotteryType() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.LotteryType
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
type ActivityJson struct {
|
|
|
state protoimpl.MessageState
|
|
|
sizeCache protoimpl.SizeCache
|
|
@@ -698,6 +714,7 @@ type ProductJson struct {
|
|
|
AppPage string `protobuf:"bytes,4,opt,name=appPage,proto3" json:"appPage,omitempty"` //app端产品推广页地址
|
|
|
Describe string `protobuf:"bytes,5,opt,name=describe,proto3" json:"describe,omitempty"` //描述
|
|
|
ProductCode int64 `protobuf:"varint,6,opt,name=productCode,proto3" json:"productCode,omitempty"` //产品编号
|
|
|
+ ParentCode int64 `protobuf:"varint,7,opt,name=parentCode,proto3" json:"parentCode,omitempty"` //一级产品Id
|
|
|
}
|
|
|
|
|
|
func (x *ProductJson) Reset() {
|
|
@@ -774,6 +791,13 @@ func (x *ProductJson) GetProductCode() int64 {
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
+func (x *ProductJson) GetParentCode() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.ParentCode
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
//活动下的奖券信息
|
|
|
type LotteryResp struct {
|
|
|
state protoimpl.MessageState
|
|
@@ -896,7 +920,7 @@ var file_activity_proto_rawDesc = []byte{
|
|
|
0x73, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x61, 0x63, 0x74, 0x69,
|
|
|
0x76, 0x69, 0x74, 0x79, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x4a, 0x73, 0x6f,
|
|
|
0x6e, 0x52, 0x0c, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x4a, 0x73, 0x6f, 0x6e, 0x22,
|
|
|
- 0xe0, 0x04, 0x0a, 0x0b, 0x4c, 0x6f, 0x74, 0x74, 0x65, 0x72, 0x79, 0x4a, 0x73, 0x6f, 0x6e, 0x12,
|
|
|
+ 0xa0, 0x05, 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,
|
|
@@ -934,7 +958,11 @@ var file_activity_proto_rawDesc = []byte{
|
|
|
0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x24, 0x0a, 0x0d,
|
|
|
0x76, 0x61, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x44, 0x61, 0x74, 0x65, 0x73, 0x18, 0x11, 0x20,
|
|
|
0x01, 0x28, 0x03, 0x52, 0x0d, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x44, 0x61, 0x74,
|
|
|
- 0x65, 0x73, 0x22, 0xae, 0x01, 0x0a, 0x0c, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x4a,
|
|
|
+ 0x65, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x72, 0x69, 0x7a, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18,
|
|
|
+ 0x12, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x70, 0x72, 0x69, 0x7a, 0x65, 0x54, 0x79, 0x70, 0x65,
|
|
|
+ 0x12, 0x20, 0x0a, 0x0b, 0x6c, 0x6f, 0x74, 0x74, 0x65, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x18,
|
|
|
+ 0x13, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6c, 0x6f, 0x74, 0x74, 0x65, 0x72, 0x79, 0x54, 0x79,
|
|
|
+ 0x70, 0x65, 0x22, 0xae, 0x01, 0x0a, 0x0c, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x4a,
|
|
|
0x73, 0x6f, 0x6e, 0x12, 0x22, 0x0a, 0x0c, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x4e,
|
|
|
0x61, 0x6d, 0x65, 0x18, 0x01, 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,
|
|
@@ -945,7 +973,7 @@ var file_activity_proto_rawDesc = []byte{
|
|
|
0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x65, 0x6e, 0x64, 0x44, 0x61, 0x74, 0x65, 0x12,
|
|
|
0x22, 0x0a, 0x0c, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44, 0x65, 0x73, 0x63, 0x18,
|
|
|
0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x44,
|
|
|
- 0x65, 0x73, 0x63, 0x22, 0xb7, 0x01, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4a,
|
|
|
+ 0x65, 0x73, 0x63, 0x22, 0xd7, 0x01, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4a,
|
|
|
0x73, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4e, 0x61,
|
|
|
0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63,
|
|
|
0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x63, 0x50, 0x61, 0x67, 0x65, 0x18,
|
|
@@ -956,7 +984,9 @@ var file_activity_proto_rawDesc = []byte{
|
|
|
0x1a, 0x0a, 0x08, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28,
|
|
|
0x09, 0x52, 0x08, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x70,
|
|
|
0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03,
|
|
|
- 0x52, 0x0b, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x22, 0x66, 0x0a,
|
|
|
+ 0x52, 0x0b, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1e, 0x0a,
|
|
|
+ 0x0a, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28,
|
|
|
+ 0x03, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x22, 0x66, 0x0a,
|
|
|
0x0b, 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,
|