985 lines
34 KiB
Go
985 lines
34 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.28.0
|
|
// protoc v3.20.0
|
|
// source: pay/pay_db.proto
|
|
|
|
package pb
|
|
|
|
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 DBPayType int32
|
|
|
|
const (
|
|
DBPayType_DiamondShop DBPayType = 0 //1.常规充值
|
|
DBPayType_Packs DBPayType = 1 //2.常规礼包(每日每周每月俩包)
|
|
DBPayType_MonthlyPass DBPayType = 2 //3.各种月卡
|
|
DBPayType_PeachBattlePass DBPayType = 3 //4.圣桃战令
|
|
DBPayType_PeachRecharge DBPayType = 4 //5.圣桃限时充值
|
|
DBPayType_ActivityFunds DBPayType = 5 //6.活动基金
|
|
DBPayType_PushgiftBag DBPayType = 6 //7.推送礼包
|
|
DBPayType_IsLandBattlePass DBPayType = 7 //8.推送礼包
|
|
)
|
|
|
|
// Enum value maps for DBPayType.
|
|
var (
|
|
DBPayType_name = map[int32]string{
|
|
0: "DiamondShop",
|
|
1: "Packs",
|
|
2: "MonthlyPass",
|
|
3: "PeachBattlePass",
|
|
4: "PeachRecharge",
|
|
5: "ActivityFunds",
|
|
6: "PushgiftBag",
|
|
7: "IsLandBattlePass",
|
|
}
|
|
DBPayType_value = map[string]int32{
|
|
"DiamondShop": 0,
|
|
"Packs": 1,
|
|
"MonthlyPass": 2,
|
|
"PeachBattlePass": 3,
|
|
"PeachRecharge": 4,
|
|
"ActivityFunds": 5,
|
|
"PushgiftBag": 6,
|
|
"IsLandBattlePass": 7,
|
|
}
|
|
)
|
|
|
|
func (x DBPayType) Enum() *DBPayType {
|
|
p := new(DBPayType)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x DBPayType) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (DBPayType) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_pay_pay_db_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (DBPayType) Type() protoreflect.EnumType {
|
|
return &file_pay_pay_db_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x DBPayType) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use DBPayType.Descriptor instead.
|
|
func (DBPayType) EnumDescriptor() ([]byte, []int) {
|
|
return file_pay_pay_db_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
//订单状态
|
|
type DBPayOrderState int32
|
|
|
|
const (
|
|
DBPayOrderState_PayOrder_Unpaid DBPayOrderState = 0 //未支付
|
|
DBPayOrderState_PayOrder_Paid DBPayOrderState = 1 //已支付
|
|
DBPayOrderState_PayOrder_Finish DBPayOrderState = 2 //完成
|
|
DBPayOrderState_PayOrder_Cancel DBPayOrderState = 3 //取消
|
|
DBPayOrderState_PayOrder_Fail DBPayOrderState = 4 //失败
|
|
)
|
|
|
|
// Enum value maps for DBPayOrderState.
|
|
var (
|
|
DBPayOrderState_name = map[int32]string{
|
|
0: "PayOrder_Unpaid",
|
|
1: "PayOrder_Paid",
|
|
2: "PayOrder_Finish",
|
|
3: "PayOrder_Cancel",
|
|
4: "PayOrder_Fail",
|
|
}
|
|
DBPayOrderState_value = map[string]int32{
|
|
"PayOrder_Unpaid": 0,
|
|
"PayOrder_Paid": 1,
|
|
"PayOrder_Finish": 2,
|
|
"PayOrder_Cancel": 3,
|
|
"PayOrder_Fail": 4,
|
|
}
|
|
)
|
|
|
|
func (x DBPayOrderState) Enum() *DBPayOrderState {
|
|
p := new(DBPayOrderState)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x DBPayOrderState) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (DBPayOrderState) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_pay_pay_db_proto_enumTypes[1].Descriptor()
|
|
}
|
|
|
|
func (DBPayOrderState) Type() protoreflect.EnumType {
|
|
return &file_pay_pay_db_proto_enumTypes[1]
|
|
}
|
|
|
|
func (x DBPayOrderState) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use DBPayOrderState.Descriptor instead.
|
|
func (DBPayOrderState) EnumDescriptor() ([]byte, []int) {
|
|
return file_pay_pay_db_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
//支付订单数据表
|
|
type DBPayOrder struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Orderid string `protobuf:"bytes,1,opt,name=orderid,proto3" json:"orderid" bson:"_id"` //唯一ID 订单号
|
|
Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid"` //uid
|
|
Bpoints string `protobuf:"bytes,3,opt,name=bpoints,proto3" json:"bpoints"` //计费点
|
|
Ctime int64 `protobuf:"varint,5,opt,name=ctime,proto3" json:"ctime"` //创建时间
|
|
State DBPayOrderState `protobuf:"varint,6,opt,name=state,proto3,enum=DBPayOrderState" json:"state"` //订单状态
|
|
Ptype DBPayType `protobuf:"varint,7,opt,name=ptype,proto3,enum=DBPayType" json:"ptype"` //订单类型
|
|
Pid int32 `protobuf:"varint,8,opt,name=pid,proto3" json:"pid"` //商品id
|
|
Price int32 `protobuf:"varint,9,opt,name=price,proto3" json:"price"` //价格
|
|
Amount int32 `protobuf:"varint,10,opt,name=amount,proto3" json:"amount"` //数量
|
|
}
|
|
|
|
func (x *DBPayOrder) Reset() {
|
|
*x = DBPayOrder{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pay_pay_db_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DBPayOrder) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DBPayOrder) ProtoMessage() {}
|
|
|
|
func (x *DBPayOrder) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pay_pay_db_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 DBPayOrder.ProtoReflect.Descriptor instead.
|
|
func (*DBPayOrder) Descriptor() ([]byte, []int) {
|
|
return file_pay_pay_db_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *DBPayOrder) GetOrderid() string {
|
|
if x != nil {
|
|
return x.Orderid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBPayOrder) GetUid() string {
|
|
if x != nil {
|
|
return x.Uid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBPayOrder) GetBpoints() string {
|
|
if x != nil {
|
|
return x.Bpoints
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBPayOrder) GetCtime() int64 {
|
|
if x != nil {
|
|
return x.Ctime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBPayOrder) GetState() DBPayOrderState {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return DBPayOrderState_PayOrder_Unpaid
|
|
}
|
|
|
|
func (x *DBPayOrder) GetPtype() DBPayType {
|
|
if x != nil {
|
|
return x.Ptype
|
|
}
|
|
return DBPayType_DiamondShop
|
|
}
|
|
|
|
func (x *DBPayOrder) GetPid() int32 {
|
|
if x != nil {
|
|
return x.Pid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBPayOrder) GetPrice() int32 {
|
|
if x != nil {
|
|
return x.Price
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBPayOrder) GetAmount() int32 {
|
|
if x != nil {
|
|
return x.Amount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
//用户购买记录
|
|
type DBUserPay struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid"` //用户id
|
|
Record map[string]int32 `protobuf:"bytes,2,rep,name=record,proto3" json:"record" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` //商品购买次数
|
|
}
|
|
|
|
func (x *DBUserPay) Reset() {
|
|
*x = DBUserPay{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pay_pay_db_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DBUserPay) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DBUserPay) ProtoMessage() {}
|
|
|
|
func (x *DBUserPay) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pay_pay_db_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 DBUserPay.ProtoReflect.Descriptor instead.
|
|
func (*DBUserPay) Descriptor() ([]byte, []int) {
|
|
return file_pay_pay_db_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *DBUserPay) GetUid() string {
|
|
if x != nil {
|
|
return x.Uid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBUserPay) GetRecord() map[string]int32 {
|
|
if x != nil {
|
|
return x.Record
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//每日商城商品数据
|
|
type DBPayDiamond struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" bson:"_id"` //ID
|
|
Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid"` //用户ID
|
|
Items map[int32]int32 `protobuf:"bytes,3,rep,name=items,proto3" json:"items" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` //商品购买次数
|
|
}
|
|
|
|
func (x *DBPayDiamond) Reset() {
|
|
*x = DBPayDiamond{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pay_pay_db_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DBPayDiamond) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DBPayDiamond) ProtoMessage() {}
|
|
|
|
func (x *DBPayDiamond) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pay_pay_db_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 DBPayDiamond.ProtoReflect.Descriptor instead.
|
|
func (*DBPayDiamond) Descriptor() ([]byte, []int) {
|
|
return file_pay_pay_db_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *DBPayDiamond) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBPayDiamond) GetUid() string {
|
|
if x != nil {
|
|
return x.Uid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBPayDiamond) GetItems() map[int32]int32 {
|
|
if x != nil {
|
|
return x.Items
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//每日商城商品数据
|
|
type PayDailyItem struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
|
|
Buyunm int32 `protobuf:"varint,2,opt,name=buyunm,proto3" json:"buyunm"`
|
|
Lastrefresh int64 `protobuf:"varint,3,opt,name=lastrefresh,proto3" json:"lastrefresh"`
|
|
}
|
|
|
|
func (x *PayDailyItem) Reset() {
|
|
*x = PayDailyItem{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pay_pay_db_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PayDailyItem) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PayDailyItem) ProtoMessage() {}
|
|
|
|
func (x *PayDailyItem) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pay_pay_db_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 PayDailyItem.ProtoReflect.Descriptor instead.
|
|
func (*PayDailyItem) Descriptor() ([]byte, []int) {
|
|
return file_pay_pay_db_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *PayDailyItem) GetId() int32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PayDailyItem) GetBuyunm() int32 {
|
|
if x != nil {
|
|
return x.Buyunm
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PayDailyItem) GetLastrefresh() int64 {
|
|
if x != nil {
|
|
return x.Lastrefresh
|
|
}
|
|
return 0
|
|
}
|
|
|
|
//用户每日礼包
|
|
type DBPayDaily struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" bson:"_id"` //ID
|
|
Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid"` //用户ID
|
|
Items map[int32]*PayDailyItem `protobuf:"bytes,3,rep,name=items,proto3" json:"items" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` //商品购买次数
|
|
}
|
|
|
|
func (x *DBPayDaily) Reset() {
|
|
*x = DBPayDaily{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pay_pay_db_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DBPayDaily) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DBPayDaily) ProtoMessage() {}
|
|
|
|
func (x *DBPayDaily) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pay_pay_db_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 DBPayDaily.ProtoReflect.Descriptor instead.
|
|
func (*DBPayDaily) Descriptor() ([]byte, []int) {
|
|
return file_pay_pay_db_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *DBPayDaily) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBPayDaily) GetUid() string {
|
|
if x != nil {
|
|
return x.Uid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBPayDaily) GetItems() map[int32]*PayDailyItem {
|
|
if x != nil {
|
|
return x.Items
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//活动礼包
|
|
type DBActivityGiftbag struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" bson:"_id"` //唯一ID
|
|
Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid" bson:"uid"` //玩家ID
|
|
Activitys map[int32]*ActivityGiftbagItem `protobuf:"bytes,3,rep,name=activitys,proto3" json:"activitys" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` //活动礼包
|
|
}
|
|
|
|
func (x *DBActivityGiftbag) Reset() {
|
|
*x = DBActivityGiftbag{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pay_pay_db_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DBActivityGiftbag) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DBActivityGiftbag) ProtoMessage() {}
|
|
|
|
func (x *DBActivityGiftbag) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pay_pay_db_proto_msgTypes[5]
|
|
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 DBActivityGiftbag.ProtoReflect.Descriptor instead.
|
|
func (*DBActivityGiftbag) Descriptor() ([]byte, []int) {
|
|
return file_pay_pay_db_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *DBActivityGiftbag) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBActivityGiftbag) GetUid() string {
|
|
if x != nil {
|
|
return x.Uid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBActivityGiftbag) GetActivitys() map[int32]*ActivityGiftbagItem {
|
|
if x != nil {
|
|
return x.Activitys
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//活动礼包
|
|
type ActivityGiftbagItem struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Opentime int64 `protobuf:"varint,1,opt,name=opentime,proto3" json:"opentime"`
|
|
Days int32 `protobuf:"varint,2,opt,name=days,proto3" json:"days"` //开启天数
|
|
Items map[int32]*PayActivityGiftbagItem `protobuf:"bytes,3,rep,name=items,proto3" json:"items" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` //商品购买次数
|
|
}
|
|
|
|
func (x *ActivityGiftbagItem) Reset() {
|
|
*x = ActivityGiftbagItem{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pay_pay_db_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ActivityGiftbagItem) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ActivityGiftbagItem) ProtoMessage() {}
|
|
|
|
func (x *ActivityGiftbagItem) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pay_pay_db_proto_msgTypes[6]
|
|
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 ActivityGiftbagItem.ProtoReflect.Descriptor instead.
|
|
func (*ActivityGiftbagItem) Descriptor() ([]byte, []int) {
|
|
return file_pay_pay_db_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *ActivityGiftbagItem) GetOpentime() int64 {
|
|
if x != nil {
|
|
return x.Opentime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ActivityGiftbagItem) GetDays() int32 {
|
|
if x != nil {
|
|
return x.Days
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ActivityGiftbagItem) GetItems() map[int32]*PayActivityGiftbagItem {
|
|
if x != nil {
|
|
return x.Items
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//每日商城商品数据
|
|
type PayActivityGiftbagItem struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` //礼包id
|
|
Buyunm int32 `protobuf:"varint,2,opt,name=buyunm,proto3" json:"buyunm"` //刷新周期内的购买次数
|
|
Totalbuynum int32 `protobuf:"varint,3,opt,name=totalbuynum,proto3" json:"totalbuynum"` //活动期间类购买的次数
|
|
Lastrefresh int64 `protobuf:"varint,4,opt,name=lastrefresh,proto3" json:"lastrefresh"` //上次刷新时间
|
|
}
|
|
|
|
func (x *PayActivityGiftbagItem) Reset() {
|
|
*x = PayActivityGiftbagItem{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pay_pay_db_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PayActivityGiftbagItem) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PayActivityGiftbagItem) ProtoMessage() {}
|
|
|
|
func (x *PayActivityGiftbagItem) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pay_pay_db_proto_msgTypes[7]
|
|
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 PayActivityGiftbagItem.ProtoReflect.Descriptor instead.
|
|
func (*PayActivityGiftbagItem) Descriptor() ([]byte, []int) {
|
|
return file_pay_pay_db_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *PayActivityGiftbagItem) GetId() int32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PayActivityGiftbagItem) GetBuyunm() int32 {
|
|
if x != nil {
|
|
return x.Buyunm
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PayActivityGiftbagItem) GetTotalbuynum() int32 {
|
|
if x != nil {
|
|
return x.Totalbuynum
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PayActivityGiftbagItem) GetLastrefresh() int64 {
|
|
if x != nil {
|
|
return x.Lastrefresh
|
|
}
|
|
return 0
|
|
}
|
|
|
|
var File_pay_pay_db_proto protoreflect.FileDescriptor
|
|
|
|
var file_pay_pay_db_proto_rawDesc = []byte{
|
|
0x0a, 0x10, 0x70, 0x61, 0x79, 0x2f, 0x70, 0x61, 0x79, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f,
|
|
0x74, 0x6f, 0x22, 0xf2, 0x01, 0x0a, 0x0a, 0x44, 0x42, 0x50, 0x61, 0x79, 0x4f, 0x72, 0x64, 0x65,
|
|
0x72, 0x12, 0x18, 0x0a, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75,
|
|
0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x18, 0x0a,
|
|
0x07, 0x62, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
|
|
0x62, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65,
|
|
0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x26, 0x0a,
|
|
0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x44,
|
|
0x42, 0x50, 0x61, 0x79, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05,
|
|
0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x20, 0x0a, 0x05, 0x70, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07,
|
|
0x20, 0x01, 0x28, 0x0e, 0x32, 0x0a, 0x2e, 0x44, 0x42, 0x50, 0x61, 0x79, 0x54, 0x79, 0x70, 0x65,
|
|
0x52, 0x05, 0x70, 0x74, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x08,
|
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x70, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x69,
|
|
0x63, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12,
|
|
0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52,
|
|
0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x88, 0x01, 0x0a, 0x09, 0x44, 0x42, 0x55, 0x73,
|
|
0x65, 0x72, 0x50, 0x61, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x2e, 0x0a, 0x06, 0x72, 0x65, 0x63, 0x6f, 0x72,
|
|
0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x44, 0x42, 0x55, 0x73, 0x65, 0x72,
|
|
0x50, 0x61, 0x79, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
|
|
0x06, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x1a, 0x39, 0x0a, 0x0b, 0x52, 0x65, 0x63, 0x6f, 0x72,
|
|
0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
|
|
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02,
|
|
0x38, 0x01, 0x22, 0x9a, 0x01, 0x0a, 0x0c, 0x44, 0x42, 0x50, 0x61, 0x79, 0x44, 0x69, 0x61, 0x6d,
|
|
0x6f, 0x6e, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x2e, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x03,
|
|
0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x44, 0x42, 0x50, 0x61, 0x79, 0x44, 0x69, 0x61, 0x6d,
|
|
0x6f, 0x6e, 0x64, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05,
|
|
0x69, 0x74, 0x65, 0x6d, 0x73, 0x1a, 0x38, 0x0a, 0x0a, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x45, 0x6e,
|
|
0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
|
|
0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
|
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22,
|
|
0x58, 0x0a, 0x0c, 0x50, 0x61, 0x79, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x12,
|
|
0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12,
|
|
0x16, 0x0a, 0x06, 0x62, 0x75, 0x79, 0x75, 0x6e, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
|
|
0x06, 0x62, 0x75, 0x79, 0x75, 0x6e, 0x6d, 0x12, 0x20, 0x0a, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x72,
|
|
0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6c, 0x61,
|
|
0x73, 0x74, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x22, 0xa5, 0x01, 0x0a, 0x0a, 0x44, 0x42,
|
|
0x50, 0x61, 0x79, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18,
|
|
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x2c, 0x0a, 0x05, 0x69, 0x74,
|
|
0x65, 0x6d, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x44, 0x42, 0x50, 0x61,
|
|
0x79, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72,
|
|
0x79, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x1a, 0x47, 0x0a, 0x0a, 0x49, 0x74, 0x65, 0x6d,
|
|
0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x23, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
|
|
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x50, 0x61, 0x79, 0x44, 0x61, 0x69,
|
|
0x6c, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
|
|
0x01, 0x22, 0xca, 0x01, 0x0a, 0x11, 0x44, 0x42, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79,
|
|
0x47, 0x69, 0x66, 0x74, 0x62, 0x61, 0x67, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x3f, 0x0a, 0x09, 0x61, 0x63, 0x74,
|
|
0x69, 0x76, 0x69, 0x74, 0x79, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x44,
|
|
0x42, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x47, 0x69, 0x66, 0x74, 0x62, 0x61, 0x67,
|
|
0x2e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
|
|
0x09, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x73, 0x1a, 0x52, 0x0a, 0x0e, 0x41, 0x63,
|
|
0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03,
|
|
0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2a,
|
|
0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e,
|
|
0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x47, 0x69, 0x66, 0x74, 0x62, 0x61, 0x67, 0x49,
|
|
0x74, 0x65, 0x6d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xcf,
|
|
0x01, 0x0a, 0x13, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x47, 0x69, 0x66, 0x74, 0x62,
|
|
0x61, 0x67, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x69,
|
|
0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x69,
|
|
0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x79, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
|
|
0x52, 0x04, 0x64, 0x61, 0x79, 0x73, 0x12, 0x35, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18,
|
|
0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79,
|
|
0x47, 0x69, 0x66, 0x74, 0x62, 0x61, 0x67, 0x49, 0x74, 0x65, 0x6d, 0x2e, 0x49, 0x74, 0x65, 0x6d,
|
|
0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x1a, 0x51, 0x0a,
|
|
0x0a, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
|
|
0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2d, 0x0a,
|
|
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x50,
|
|
0x61, 0x79, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x47, 0x69, 0x66, 0x74, 0x62, 0x61,
|
|
0x67, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01,
|
|
0x22, 0x84, 0x01, 0x0a, 0x16, 0x50, 0x61, 0x79, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79,
|
|
0x47, 0x69, 0x66, 0x74, 0x62, 0x61, 0x67, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69,
|
|
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x62,
|
|
0x75, 0x79, 0x75, 0x6e, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x62, 0x75, 0x79,
|
|
0x75, 0x6e, 0x6d, 0x12, 0x20, 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x62, 0x75, 0x79, 0x6e,
|
|
0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x62,
|
|
0x75, 0x79, 0x6e, 0x75, 0x6d, 0x12, 0x20, 0x0a, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x72, 0x65, 0x66,
|
|
0x72, 0x65, 0x73, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6c, 0x61, 0x73, 0x74,
|
|
0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x2a, 0x9a, 0x01, 0x0a, 0x09, 0x44, 0x42, 0x50, 0x61,
|
|
0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x44, 0x69, 0x61, 0x6d, 0x6f, 0x6e, 0x64,
|
|
0x53, 0x68, 0x6f, 0x70, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x50, 0x61, 0x63, 0x6b, 0x73, 0x10,
|
|
0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x6c, 0x79, 0x50, 0x61, 0x73, 0x73,
|
|
0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x65, 0x61, 0x63, 0x68, 0x42, 0x61, 0x74, 0x74, 0x6c,
|
|
0x65, 0x50, 0x61, 0x73, 0x73, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, 0x50, 0x65, 0x61, 0x63, 0x68,
|
|
0x52, 0x65, 0x63, 0x68, 0x61, 0x72, 0x67, 0x65, 0x10, 0x04, 0x12, 0x11, 0x0a, 0x0d, 0x41, 0x63,
|
|
0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x46, 0x75, 0x6e, 0x64, 0x73, 0x10, 0x05, 0x12, 0x0f, 0x0a,
|
|
0x0b, 0x50, 0x75, 0x73, 0x68, 0x67, 0x69, 0x66, 0x74, 0x42, 0x61, 0x67, 0x10, 0x06, 0x12, 0x14,
|
|
0x0a, 0x10, 0x49, 0x73, 0x4c, 0x61, 0x6e, 0x64, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x61,
|
|
0x73, 0x73, 0x10, 0x07, 0x2a, 0x76, 0x0a, 0x0f, 0x44, 0x42, 0x50, 0x61, 0x79, 0x4f, 0x72, 0x64,
|
|
0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x61, 0x79, 0x4f, 0x72,
|
|
0x64, 0x65, 0x72, 0x5f, 0x55, 0x6e, 0x70, 0x61, 0x69, 0x64, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d,
|
|
0x50, 0x61, 0x79, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x50, 0x61, 0x69, 0x64, 0x10, 0x01, 0x12,
|
|
0x13, 0x0a, 0x0f, 0x50, 0x61, 0x79, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x46, 0x69, 0x6e, 0x69,
|
|
0x73, 0x68, 0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x61, 0x79, 0x4f, 0x72, 0x64, 0x65, 0x72,
|
|
0x5f, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, 0x50, 0x61, 0x79,
|
|
0x4f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x46, 0x61, 0x69, 0x6c, 0x10, 0x04, 0x42, 0x06, 0x5a, 0x04,
|
|
0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_pay_pay_db_proto_rawDescOnce sync.Once
|
|
file_pay_pay_db_proto_rawDescData = file_pay_pay_db_proto_rawDesc
|
|
)
|
|
|
|
func file_pay_pay_db_proto_rawDescGZIP() []byte {
|
|
file_pay_pay_db_proto_rawDescOnce.Do(func() {
|
|
file_pay_pay_db_proto_rawDescData = protoimpl.X.CompressGZIP(file_pay_pay_db_proto_rawDescData)
|
|
})
|
|
return file_pay_pay_db_proto_rawDescData
|
|
}
|
|
|
|
var file_pay_pay_db_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
|
|
var file_pay_pay_db_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
|
|
var file_pay_pay_db_proto_goTypes = []interface{}{
|
|
(DBPayType)(0), // 0: DBPayType
|
|
(DBPayOrderState)(0), // 1: DBPayOrderState
|
|
(*DBPayOrder)(nil), // 2: DBPayOrder
|
|
(*DBUserPay)(nil), // 3: DBUserPay
|
|
(*DBPayDiamond)(nil), // 4: DBPayDiamond
|
|
(*PayDailyItem)(nil), // 5: PayDailyItem
|
|
(*DBPayDaily)(nil), // 6: DBPayDaily
|
|
(*DBActivityGiftbag)(nil), // 7: DBActivityGiftbag
|
|
(*ActivityGiftbagItem)(nil), // 8: ActivityGiftbagItem
|
|
(*PayActivityGiftbagItem)(nil), // 9: PayActivityGiftbagItem
|
|
nil, // 10: DBUserPay.RecordEntry
|
|
nil, // 11: DBPayDiamond.ItemsEntry
|
|
nil, // 12: DBPayDaily.ItemsEntry
|
|
nil, // 13: DBActivityGiftbag.ActivitysEntry
|
|
nil, // 14: ActivityGiftbagItem.ItemsEntry
|
|
}
|
|
var file_pay_pay_db_proto_depIdxs = []int32{
|
|
1, // 0: DBPayOrder.state:type_name -> DBPayOrderState
|
|
0, // 1: DBPayOrder.ptype:type_name -> DBPayType
|
|
10, // 2: DBUserPay.record:type_name -> DBUserPay.RecordEntry
|
|
11, // 3: DBPayDiamond.items:type_name -> DBPayDiamond.ItemsEntry
|
|
12, // 4: DBPayDaily.items:type_name -> DBPayDaily.ItemsEntry
|
|
13, // 5: DBActivityGiftbag.activitys:type_name -> DBActivityGiftbag.ActivitysEntry
|
|
14, // 6: ActivityGiftbagItem.items:type_name -> ActivityGiftbagItem.ItemsEntry
|
|
5, // 7: DBPayDaily.ItemsEntry.value:type_name -> PayDailyItem
|
|
8, // 8: DBActivityGiftbag.ActivitysEntry.value:type_name -> ActivityGiftbagItem
|
|
9, // 9: ActivityGiftbagItem.ItemsEntry.value:type_name -> PayActivityGiftbagItem
|
|
10, // [10:10] is the sub-list for method output_type
|
|
10, // [10:10] is the sub-list for method input_type
|
|
10, // [10:10] is the sub-list for extension type_name
|
|
10, // [10:10] is the sub-list for extension extendee
|
|
0, // [0:10] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_pay_pay_db_proto_init() }
|
|
func file_pay_pay_db_proto_init() {
|
|
if File_pay_pay_db_proto != nil {
|
|
return
|
|
}
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_pay_pay_db_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DBPayOrder); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pay_pay_db_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DBUserPay); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pay_pay_db_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DBPayDiamond); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pay_pay_db_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PayDailyItem); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pay_pay_db_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DBPayDaily); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pay_pay_db_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DBActivityGiftbag); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pay_pay_db_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ActivityGiftbagItem); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pay_pay_db_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PayActivityGiftbagItem); 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_pay_pay_db_proto_rawDesc,
|
|
NumEnums: 2,
|
|
NumMessages: 13,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_pay_pay_db_proto_goTypes,
|
|
DependencyIndexes: file_pay_pay_db_proto_depIdxs,
|
|
EnumInfos: file_pay_pay_db_proto_enumTypes,
|
|
MessageInfos: file_pay_pay_db_proto_msgTypes,
|
|
}.Build()
|
|
File_pay_pay_db_proto = out.File
|
|
file_pay_pay_db_proto_rawDesc = nil
|
|
file_pay_pay_db_proto_goTypes = nil
|
|
file_pay_pay_db_proto_depIdxs = nil
|
|
}
|