Merge branch 'dev' of http://git.legu.cc/liwei_3d/go_dreamfactory into dev
This commit is contained in:
commit
0c2ef1ddc3
@ -454,7 +454,7 @@ type (
|
|||||||
//支付模块
|
//支付模块
|
||||||
IPay interface {
|
IPay interface {
|
||||||
//模拟发货
|
//模拟发货
|
||||||
ModulePayDelivery(session IUserSession, Productid string, Price int32) (errdata *pb.ErrorData)
|
// ModulePayDelivery(session IUserSession, Productid string, Price int32) (errdata *pb.ErrorData)
|
||||||
IActivityNotice
|
IActivityNotice
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -366,29 +366,29 @@ func (this *GM) CreateCmd(session comm.IUserSession, cmd string) (errdata *pb.Er
|
|||||||
log.Field{Key: "N", Value: int32(num)},
|
log.Field{Key: "N", Value: int32(num)},
|
||||||
)
|
)
|
||||||
} else if len(datas) == 2 && (datas[0] == "recharge") { // 充值次数
|
} else if len(datas) == 2 && (datas[0] == "recharge") { // 充值次数
|
||||||
module1, err := this.service.GetModule(comm.ModulePay)
|
// module1, err := this.service.GetModule(comm.ModulePay)
|
||||||
if err != nil {
|
// if err != nil {
|
||||||
return
|
// return
|
||||||
}
|
// }
|
||||||
num, err := strconv.Atoi(datas[1])
|
// num, err := strconv.Atoi(datas[1])
|
||||||
if err != nil {
|
// if err != nil {
|
||||||
errdata = &pb.ErrorData{
|
// errdata = &pb.ErrorData{
|
||||||
Code: pb.ErrorCode_ReqParameterError,
|
// Code: pb.ErrorCode_ReqParameterError,
|
||||||
Title: pb.ErrorCode_ReqParameterError.ToString(),
|
// Title: pb.ErrorCode_ReqParameterError.ToString(),
|
||||||
}
|
// }
|
||||||
return
|
// return
|
||||||
}
|
// }
|
||||||
for i := 0; i < num; i++ {
|
// for i := 0; i < num; i++ {
|
||||||
if errdata = module1.(comm.IPay).ModulePayDelivery(session, "8", 64800); errdata != nil {
|
// if errdata = module1.(comm.IPay).ModulePayDelivery(session, "8", 64800); errdata != nil {
|
||||||
return
|
// return
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|
||||||
this.Debug("使用bingo命令:uid = %s ",
|
// this.Debug("使用bingo命令:uid = %s ",
|
||||||
log.Field{Key: "uid", Value: session.GetUserId()},
|
// log.Field{Key: "uid", Value: session.GetUserId()},
|
||||||
log.Field{Key: "0", Value: datas[0]},
|
// log.Field{Key: "0", Value: datas[0]},
|
||||||
log.Field{Key: "N", Value: int32(num)},
|
// log.Field{Key: "N", Value: int32(num)},
|
||||||
)
|
// )
|
||||||
} else if len(datas) == 1 && (datas[0] == "cleanitem") { // 充值次数
|
} else if len(datas) == 1 && (datas[0] == "cleanitem") { // 充值次数
|
||||||
module1, err := this.service.GetModule(comm.ModuleItems)
|
module1, err := this.service.GetModule(comm.ModuleItems)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
44
modules/pay/api_createorder.go
Normal file
44
modules/pay/api_createorder.go
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
package pay
|
||||||
|
|
||||||
|
import (
|
||||||
|
"go_dreamfactory/comm"
|
||||||
|
"go_dreamfactory/pb"
|
||||||
|
"time"
|
||||||
|
|
||||||
|
"go.mongodb.org/mongo-driver/bson/primitive"
|
||||||
|
)
|
||||||
|
|
||||||
|
// 参数校验
|
||||||
|
func (this *apiComp) CreateOrderCheck(session comm.IUserSession, req *pb.PayCreateOrderReq) (errdata *pb.ErrorData) {
|
||||||
|
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
// /获取系统公告
|
||||||
|
func (this *apiComp) CreateOrder(session comm.IUserSession, req *pb.PayCreateOrderReq) (errdata *pb.ErrorData) {
|
||||||
|
var (
|
||||||
|
order *pb.DBPayOrder
|
||||||
|
err error
|
||||||
|
)
|
||||||
|
if errdata = this.CreateOrderCheck(session, req); errdata != nil {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
order = &pb.DBPayOrder{
|
||||||
|
Orderid: primitive.NewObjectID().Hex(),
|
||||||
|
Uid: session.GetUserId(),
|
||||||
|
Bpoints: req.BillingPoints,
|
||||||
|
Ctime: time.Now().Unix(),
|
||||||
|
State: pb.DBPayOrderState_PayOrder_Unpaid,
|
||||||
|
Ptype: req.Ptype,
|
||||||
|
Pid: req.Pid,
|
||||||
|
}
|
||||||
|
if err = this.module.model.create(order); err != nil {
|
||||||
|
errdata = &pb.ErrorData{
|
||||||
|
Code: pb.ErrorCode_DBError,
|
||||||
|
Message: err.Error(),
|
||||||
|
}
|
||||||
|
}
|
||||||
|
session.SendMsg(string(this.module.GetType()), "createorder", &pb.PayCreateOrderResp{Order: order})
|
||||||
|
return
|
||||||
|
}
|
@ -18,7 +18,7 @@ func (this *apiComp) DailyBuyCheck(session comm.IUserSession, req *pb.PayDailyBu
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// /获取系统公告
|
//发货请求
|
||||||
func (this *apiComp) DailyBuy(session comm.IUserSession, req *pb.PayDailyBuyReq) (errdata *pb.ErrorData) {
|
func (this *apiComp) DailyBuy(session comm.IUserSession, req *pb.PayDailyBuyReq) (errdata *pb.ErrorData) {
|
||||||
var (
|
var (
|
||||||
info *pb.DBPayDaily
|
info *pb.DBPayDaily
|
||||||
|
@ -7,8 +7,6 @@ import (
|
|||||||
"go_dreamfactory/pb"
|
"go_dreamfactory/pb"
|
||||||
cfg "go_dreamfactory/sys/configure/structs"
|
cfg "go_dreamfactory/sys/configure/structs"
|
||||||
"math"
|
"math"
|
||||||
|
|
||||||
"go.mongodb.org/mongo-driver/bson/primitive"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
//参数校验
|
//参数校验
|
||||||
@ -17,7 +15,7 @@ func (this *apiComp) DeliveryCheck(session comm.IUserSession, req *pb.PayDeliver
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// /模拟充值
|
//模拟充值
|
||||||
func (this *apiComp) Delivery(session comm.IUserSession, req *pb.PayDeliveryReq) (errdata *pb.ErrorData) {
|
func (this *apiComp) Delivery(session comm.IUserSession, req *pb.PayDeliveryReq) (errdata *pb.ErrorData) {
|
||||||
var (
|
var (
|
||||||
conf *cfg.GameRechargeData
|
conf *cfg.GameRechargeData
|
||||||
@ -29,9 +27,6 @@ func (this *apiComp) Delivery(session comm.IUserSession, req *pb.PayDeliveryReq)
|
|||||||
if errdata = this.DeliveryCheck(session, req); errdata != nil {
|
if errdata = this.DeliveryCheck(session, req); errdata != nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
req.Orderid = primitive.NewObjectID().Hex()
|
|
||||||
req.Uid = session.GetUserId()
|
|
||||||
|
|
||||||
if conf, err = this.module.configure.getGameRecharge(req.Productid); err != nil {
|
if conf, err = this.module.configure.getGameRecharge(req.Productid); err != nil {
|
||||||
errdata = &pb.ErrorData{
|
errdata = &pb.ErrorData{
|
||||||
Code: pb.ErrorCode_ConfigNoFound,
|
Code: pb.ErrorCode_ConfigNoFound,
|
||||||
@ -61,9 +56,12 @@ func (this *apiComp) Delivery(session comm.IUserSession, req *pb.PayDeliveryReq)
|
|||||||
if errdata = this.module.ConsumeRes(session, needatn, true); errdata != nil {
|
if errdata = this.module.ConsumeRes(session, needatn, true); errdata != nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if err = this.module.Rpc_ModulePayDelivery(context.Background(), req, &pb.PayDeliveryResp{}); err != nil {
|
if err = this.module.Rpc_ModulePayDelivery(context.Background(), req, &pb.PayDeliveryResp{}); err != nil {
|
||||||
this.module.Errorln(err)
|
errdata = &pb.ErrorData{
|
||||||
|
Code: pb.ErrorCode_DBError,
|
||||||
|
Title: pb.ErrorCode_DBError.ToString(),
|
||||||
|
Message: err.Error(),
|
||||||
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
session.SendMsg(string(this.module.GetType()), "delivery", &pb.PayDeliveryResp{})
|
session.SendMsg(string(this.module.GetType()), "delivery", &pb.PayDeliveryResp{})
|
||||||
|
57
modules/pay/model.go
Normal file
57
modules/pay/model.go
Normal file
@ -0,0 +1,57 @@
|
|||||||
|
package pay
|
||||||
|
|
||||||
|
import (
|
||||||
|
"go_dreamfactory/comm"
|
||||||
|
"go_dreamfactory/lego/core"
|
||||||
|
"go_dreamfactory/modules"
|
||||||
|
"go_dreamfactory/pb"
|
||||||
|
|
||||||
|
"go.mongodb.org/mongo-driver/bson"
|
||||||
|
"go.mongodb.org/mongo-driver/mongo"
|
||||||
|
"go.mongodb.org/mongo-driver/x/bsonx"
|
||||||
|
)
|
||||||
|
|
||||||
|
///论坛 数据组件
|
||||||
|
type modelComp struct {
|
||||||
|
modules.MCompModel
|
||||||
|
module *Pay
|
||||||
|
}
|
||||||
|
|
||||||
|
//组件初始化接口
|
||||||
|
func (this *modelComp) Init(service core.IService, module core.IModule, comp core.IModuleComp, opt core.IModuleOptions) (err error) {
|
||||||
|
this.MCompModel.Init(service, module, comp, opt)
|
||||||
|
this.module = module.(*Pay)
|
||||||
|
this.TableName = comm.TablePay
|
||||||
|
//创建uid索引
|
||||||
|
this.DB.CreateIndex(core.SqlTable(this.TableName), mongo.IndexModel{
|
||||||
|
Keys: bsonx.Doc{{Key: "uid", Value: bsonx.Int32(1)}},
|
||||||
|
})
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
//查询用户重置数据
|
||||||
|
func (this *modelComp) getmodel(oid string) (order *pb.DBPayOrder, err error) {
|
||||||
|
order = &pb.DBPayOrder{}
|
||||||
|
if err = this.DBModel.DB.FindOne(core.SqlTable(this.TableName), bson.M{"_id": oid}).Decode(order); err != nil {
|
||||||
|
this.module.Errorln(err)
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
//添加用户订单数据
|
||||||
|
func (this *modelComp) create(order *pb.DBPayOrder) (err error) {
|
||||||
|
if _, err = this.DBModel.DB.InsertOne(core.SqlTable(this.TableName), order); err != nil {
|
||||||
|
this.module.Errorln(err)
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
//添加用户订单数据
|
||||||
|
func (this *modelComp) updateState(oid string, state pb.DBPayOrderState) (err error) {
|
||||||
|
if _, err = this.DBModel.DB.UpdateOne(core.SqlTable(this.TableName), bson.M{"_id": oid}, bson.M{
|
||||||
|
"$set": bson.M{"state": state},
|
||||||
|
}); err != nil {
|
||||||
|
this.module.Errorln(err)
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
@ -1,51 +0,0 @@
|
|||||||
package pay
|
|
||||||
|
|
||||||
import (
|
|
||||||
"go_dreamfactory/comm"
|
|
||||||
"go_dreamfactory/lego/core"
|
|
||||||
"go_dreamfactory/lego/sys/mgo"
|
|
||||||
"go_dreamfactory/modules"
|
|
||||||
"go_dreamfactory/pb"
|
|
||||||
|
|
||||||
"go.mongodb.org/mongo-driver/mongo"
|
|
||||||
"go.mongodb.org/mongo-driver/x/bsonx"
|
|
||||||
)
|
|
||||||
|
|
||||||
///论坛 数据组件
|
|
||||||
type modelPayComp struct {
|
|
||||||
modules.MCompModel
|
|
||||||
module *Pay
|
|
||||||
}
|
|
||||||
|
|
||||||
//组件初始化接口
|
|
||||||
func (this *modelPayComp) Init(service core.IService, module core.IModule, comp core.IModuleComp, opt core.IModuleOptions) (err error) {
|
|
||||||
this.MCompModel.Init(service, module, comp, opt)
|
|
||||||
this.module = module.(*Pay)
|
|
||||||
this.TableName = comm.TablePay
|
|
||||||
//创建uid索引
|
|
||||||
this.DB.CreateIndex(core.SqlTable(this.TableName), mongo.IndexModel{
|
|
||||||
Keys: bsonx.Doc{{Key: "uid", Value: bsonx.Int32(1)}},
|
|
||||||
})
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
//查询用户重置数据
|
|
||||||
func (this *modelPayComp) queryUserPayData(uId string) (result []*pb.DBPayOrder, err error) {
|
|
||||||
result = make([]*pb.DBPayOrder, 0)
|
|
||||||
if err = this.GetList(uId, &result); err != nil && err != mgo.MongodbNil {
|
|
||||||
this.module.Errorf("err:%v", err)
|
|
||||||
}
|
|
||||||
if err == mgo.MongodbNil {
|
|
||||||
err = nil
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
//添加用户订单数据
|
|
||||||
func (this *modelPayComp) addUserPayOrder(order *pb.DBPayOrder) (err error) {
|
|
||||||
if err = this.AddList(order.Uid, order.Orderid, order); err != nil {
|
|
||||||
this.module.Errorf("err:%v", err)
|
|
||||||
return
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
@ -8,10 +8,7 @@ import (
|
|||||||
"go_dreamfactory/lego/sys/log"
|
"go_dreamfactory/lego/sys/log"
|
||||||
"go_dreamfactory/modules"
|
"go_dreamfactory/modules"
|
||||||
"go_dreamfactory/pb"
|
"go_dreamfactory/pb"
|
||||||
"go_dreamfactory/sys/configure"
|
|
||||||
cfg "go_dreamfactory/sys/configure/structs"
|
cfg "go_dreamfactory/sys/configure/structs"
|
||||||
|
|
||||||
"go.mongodb.org/mongo-driver/bson/primitive"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -28,7 +25,7 @@ type Pay struct {
|
|||||||
modules.ModuleBase
|
modules.ModuleBase
|
||||||
service base.IRPCXService
|
service base.IRPCXService
|
||||||
api *apiComp
|
api *apiComp
|
||||||
modelPay *modelPayComp
|
model *modelComp
|
||||||
modelPayUser *modelPayUserComp
|
modelPayUser *modelPayUserComp
|
||||||
modelDaily *modelDailyComp
|
modelDaily *modelDailyComp
|
||||||
modelActivity *modelActivityComp //活动礼包
|
modelActivity *modelActivityComp //活动礼包
|
||||||
@ -87,7 +84,7 @@ func (this *Pay) OnInstallComp() {
|
|||||||
this.ModuleBase.OnInstallComp()
|
this.ModuleBase.OnInstallComp()
|
||||||
|
|
||||||
this.api = this.RegisterComp(new(apiComp)).(*apiComp)
|
this.api = this.RegisterComp(new(apiComp)).(*apiComp)
|
||||||
this.modelPay = this.RegisterComp(new(modelPayComp)).(*modelPayComp)
|
this.model = this.RegisterComp(new(modelComp)).(*modelComp)
|
||||||
this.modelPayUser = this.RegisterComp(new(modelPayUserComp)).(*modelPayUserComp)
|
this.modelPayUser = this.RegisterComp(new(modelPayUserComp)).(*modelPayUserComp)
|
||||||
this.modelDaily = this.RegisterComp(new(modelDailyComp)).(*modelDailyComp)
|
this.modelDaily = this.RegisterComp(new(modelDailyComp)).(*modelDailyComp)
|
||||||
this.modelActivity = this.RegisterComp(new(modelActivityComp)).(*modelActivityComp)
|
this.modelActivity = this.RegisterComp(new(modelActivityComp)).(*modelActivityComp)
|
||||||
@ -98,6 +95,7 @@ func (this *Pay) OnInstallComp() {
|
|||||||
func (this *Pay) Rpc_ModulePayDelivery(ctx context.Context, args *pb.PayDeliveryReq, reply *pb.PayDeliveryResp) (err error) {
|
func (this *Pay) Rpc_ModulePayDelivery(ctx context.Context, args *pb.PayDeliveryReq, reply *pb.PayDeliveryResp) (err error) {
|
||||||
this.Debug("Rpc_ModulePayDelivery", log.Field{Key: "args", Value: args.String()})
|
this.Debug("Rpc_ModulePayDelivery", log.Field{Key: "args", Value: args.String()})
|
||||||
var (
|
var (
|
||||||
|
order *pb.DBPayOrder
|
||||||
conf *cfg.GameRechargeData
|
conf *cfg.GameRechargeData
|
||||||
info *pb.DBUserPay
|
info *pb.DBUserPay
|
||||||
res []*cfg.Gameatn
|
res []*cfg.Gameatn
|
||||||
@ -107,81 +105,84 @@ func (this *Pay) Rpc_ModulePayDelivery(ctx context.Context, args *pb.PayDelivery
|
|||||||
online bool
|
online bool
|
||||||
)
|
)
|
||||||
|
|
||||||
if conf, err = this.configure.getGameRecharge(args.Productid); err != nil {
|
if order, err = this.model.getmodel(args.Orderid); err != nil {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
if conf, err = this.configure.getGameRecharge(order.Bpoints); err != nil {
|
||||||
reply.Code = pb.ErrorCode_ConfigNoFound
|
reply.Code = pb.ErrorCode_ConfigNoFound
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if info, err = this.modelPayUser.queryUserPay(args.Uid); err != nil {
|
if info, err = this.modelPayUser.queryUserPay(order.Uid); err != nil {
|
||||||
reply.Code = pb.ErrorCode_DBError
|
reply.Code = pb.ErrorCode_DBError
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if info.Record[args.Productid] > 0 {
|
if info.Record[order.Bpoints] > 0 {
|
||||||
res = conf.Vipexp
|
res = conf.Vipexp
|
||||||
} else {
|
} else {
|
||||||
res = conf.DiamondNumDouble
|
res = conf.DiamondNumDouble
|
||||||
}
|
}
|
||||||
res = append(res, &cfg.Gameatn{A: comm.AttrType, T: comm.Integral, N: conf.Integral})
|
res = append(res, &cfg.Gameatn{A: comm.AttrType, T: comm.Integral, N: conf.Integral})
|
||||||
info.Record[args.Productid]++
|
info.Record[order.Bpoints]++
|
||||||
defer func() {
|
defer func() {
|
||||||
this.PutUserSession(session)
|
this.PutUserSession(session)
|
||||||
}()
|
}()
|
||||||
if session, online = this.GetUserSession(args.Uid); online {
|
if session, online = this.GetUserSession(order.Uid); online {
|
||||||
if errdata = this.DispenseRes(session, res, true); errdata != nil {
|
if errdata = this.DispenseRes(session, res, true); errdata != nil {
|
||||||
reply.Code = errdata.Code
|
reply.Code = errdata.Code
|
||||||
|
reply.Msg = errdata.Message
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
if errdata = this.DispenseRes(session, res, false); errdata != nil {
|
if errdata = this.DispenseRes(session, res, false); errdata != nil {
|
||||||
reply.Code = errdata.Code
|
reply.Code = errdata.Code
|
||||||
|
reply.Msg = errdata.Message
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if err = this.modelPay.addUserPayOrder(&pb.DBPayOrder{
|
order.State = pb.DBPayOrderState_PayOrder_Paid
|
||||||
Orderid: args.Orderid,
|
if err = this.model.updateState(order.Orderid, order.State); err != nil {
|
||||||
Uid: args.Uid,
|
|
||||||
Productid: args.Productid,
|
|
||||||
Ctime: configure.Now().Unix(),
|
|
||||||
}); err != nil {
|
|
||||||
reply.Code = pb.ErrorCode_DBError
|
reply.Code = pb.ErrorCode_DBError
|
||||||
|
reply.Msg = err.Error()
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
this.modelPayUser.updateUserPay(info)
|
this.modelPayUser.updateUserPay(info)
|
||||||
|
|
||||||
switch conf.RechargeType {
|
switch order.Ptype {
|
||||||
case 1:
|
case pb.DBPayType_DiamondShop:
|
||||||
break
|
break
|
||||||
case 2:
|
case pb.DBPayType_Packs:
|
||||||
if errdata, items = this.modelDaily.delivery(session, args.Productid); errdata != nil {
|
if errdata, items = this.modelDaily.delivery(session, args.Productid); errdata != nil {
|
||||||
reply.Code = errdata.Code
|
reply.Code = errdata.Code
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
case 3:
|
case pb.DBPayType_MonthlyPass:
|
||||||
if errdata, items = this.privilege.Delivery(session, args.Productid); errdata != nil {
|
if errdata, items = this.privilege.Delivery(session, args.Productid); errdata != nil {
|
||||||
reply.Code = errdata.Code
|
reply.Code = errdata.Code
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
case 4:
|
case pb.DBPayType_PeachBattlePass:
|
||||||
if errdata, items = this.warorder.Delivery(session, args.Productid); errdata != nil {
|
if errdata, items = this.warorder.Delivery(session, args.Productid); errdata != nil {
|
||||||
reply.Code = errdata.Code
|
reply.Code = errdata.Code
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
case 5:
|
case pb.DBPayType_PeachRecharge:
|
||||||
if errdata, items = this.modelActivity.delivery(session, args.Productid); errdata != nil {
|
if errdata, items = this.modelActivity.delivery(session, args.Productid); errdata != nil {
|
||||||
reply.Code = errdata.Code
|
reply.Code = errdata.Code
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
case 6:
|
case pb.DBPayType_ActivityFunds:
|
||||||
if errdata, items = this.shopcenter.Delivery(session, args.Productid); errdata != nil {
|
if errdata, items = this.shopcenter.Delivery(session, args.Productid); errdata != nil {
|
||||||
reply.Code = errdata.Code
|
reply.Code = errdata.Code
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
case 7:
|
case pb.DBPayType_PushgiftBag:
|
||||||
if errdata, items = this.pushgiftbag.Delivery(session, args.Productid); errdata != nil {
|
if errdata, items = this.pushgiftbag.Delivery(session, args.Productid); errdata != nil {
|
||||||
reply.Code = errdata.Code
|
reply.Code = errdata.Code
|
||||||
return
|
return
|
||||||
@ -193,8 +194,7 @@ func (this *Pay) Rpc_ModulePayDelivery(ctx context.Context, args *pb.PayDelivery
|
|||||||
items = append(items, &pb.UserAssets{A: v.A, T: v.T, N: v.N})
|
items = append(items, &pb.UserAssets{A: v.A, T: v.T, N: v.N})
|
||||||
}
|
}
|
||||||
session.SendMsg(string(this.GetType()), "shipped", &pb.PayShippedPush{
|
session.SendMsg(string(this.GetType()), "shipped", &pb.PayShippedPush{
|
||||||
Pid: args.Productid,
|
Order: order,
|
||||||
Orderid: args.Orderid,
|
|
||||||
Items: items,
|
Items: items,
|
||||||
Info: info,
|
Info: info,
|
||||||
})
|
})
|
||||||
@ -212,114 +212,6 @@ func (this *Pay) Rpc_ModulePayDelivery(ctx context.Context, args *pb.PayDelivery
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// 发货
|
|
||||||
func (this *Pay) ModulePayDelivery(session comm.IUserSession, Productid string, Price int32) (errdata *pb.ErrorData) {
|
|
||||||
var (
|
|
||||||
conf *cfg.GameRechargeData
|
|
||||||
info *pb.DBUserPay
|
|
||||||
res []*cfg.Gameatn
|
|
||||||
items []*pb.UserAssets
|
|
||||||
err error
|
|
||||||
online bool
|
|
||||||
)
|
|
||||||
|
|
||||||
if conf, err = this.configure.getGameRecharge(Productid); err != nil {
|
|
||||||
errdata = &pb.ErrorData{
|
|
||||||
Code: pb.ErrorCode_ConfigNoFound,
|
|
||||||
Title: pb.ErrorCode_ConfigNoFound.ToString(),
|
|
||||||
Message: err.Error(),
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
if info, err = this.modelPayUser.queryUserPay(session.GetUserId()); err != nil {
|
|
||||||
errdata = &pb.ErrorData{
|
|
||||||
Code: pb.ErrorCode_DBError,
|
|
||||||
Title: pb.ErrorCode_DBError.ToString(),
|
|
||||||
Message: err.Error(),
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
this.addrecharge.RechargeIntegral(session, conf.Integral) //记录累充积分
|
|
||||||
if info.Record[Productid] > 0 {
|
|
||||||
res = conf.Vipexp
|
|
||||||
} else {
|
|
||||||
res = conf.DiamondNumDouble
|
|
||||||
}
|
|
||||||
info.Record[Productid]++
|
|
||||||
|
|
||||||
if errdata = this.DispenseRes(session, res, true); errdata != nil {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
orderid := primitive.NewObjectID().Hex()
|
|
||||||
if err = this.modelPay.addUserPayOrder(&pb.DBPayOrder{
|
|
||||||
Orderid: orderid,
|
|
||||||
Uid: session.GetUserId(),
|
|
||||||
Productid: Productid,
|
|
||||||
Ctime: configure.Now().Unix(),
|
|
||||||
}); err != nil {
|
|
||||||
errdata = &pb.ErrorData{
|
|
||||||
Code: pb.ErrorCode_DBError,
|
|
||||||
Title: pb.ErrorCode_DBError.ToString(),
|
|
||||||
Message: err.Error(),
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
this.modelPayUser.updateUserPay(info)
|
|
||||||
|
|
||||||
switch conf.RechargeType {
|
|
||||||
case 1:
|
|
||||||
break
|
|
||||||
case 2: //每日礼包
|
|
||||||
if errdata, items = this.modelDaily.delivery(session, Productid); errdata != nil {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
break
|
|
||||||
case 3: //月卡
|
|
||||||
if errdata, items = this.privilege.Delivery(session, Productid); errdata != nil {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
break
|
|
||||||
case 4: //战令
|
|
||||||
if errdata, items = this.warorder.Delivery(session, Productid); errdata != nil {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
break
|
|
||||||
case 5: //活动充值礼包
|
|
||||||
if errdata, items = this.modelActivity.delivery(session, Productid); errdata != nil {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
break
|
|
||||||
case 6: //购物中心
|
|
||||||
if errdata, items = this.shopcenter.Delivery(session, Productid); errdata != nil {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
case 7:
|
|
||||||
if errdata, items = this.pushgiftbag.Delivery(session, Productid); errdata != nil {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
break
|
|
||||||
}
|
|
||||||
for _, v := range res {
|
|
||||||
items = append(items, &pb.UserAssets{A: v.A, T: v.T, N: v.N})
|
|
||||||
}
|
|
||||||
session.SendMsg(string(this.GetType()), "shipped", &pb.PayShippedPush{
|
|
||||||
Pid: Productid,
|
|
||||||
Orderid: orderid,
|
|
||||||
Items: items,
|
|
||||||
Info: info,
|
|
||||||
})
|
|
||||||
if online {
|
|
||||||
if err = session.Push(); err != nil {
|
|
||||||
this.Errorln(err)
|
|
||||||
return
|
|
||||||
}
|
|
||||||
}
|
|
||||||
go this.AsynHandleSession(session.Clone(), func(session comm.IUserSession) {
|
|
||||||
this.WriteUserLog(session.GetUserId(), 0, "ModulePayDelivery", res)
|
|
||||||
})
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
func (this *Pay) ActivityOpenNotice(hdlist *pb.DBHuodong) {
|
func (this *Pay) ActivityOpenNotice(hdlist *pb.DBHuodong) {
|
||||||
switch hdlist.Itype {
|
switch hdlist.Itype {
|
||||||
case pb.HdType_HdTypePay:
|
case pb.HdType_HdTypePay:
|
||||||
|
368
pb/pay_db.pb.go
368
pb/pay_db.pb.go
@ -20,16 +20,140 @@ const (
|
|||||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
_ = 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 {
|
type DBPayOrder struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Orderid string `protobuf:"bytes,1,opt,name=orderid,proto3" json:"orderid"`
|
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 string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid"` //uid
|
||||||
Productid string `protobuf:"bytes,3,opt,name=productid,proto3" json:"productid"`
|
Bpoints string `protobuf:"bytes,3,opt,name=bpoints,proto3" json:"bpoints"` //计费点
|
||||||
Ctime int64 `protobuf:"varint,4,opt,name=ctime,proto3" json:"ctime"`
|
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
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DBPayOrder) Reset() {
|
func (x *DBPayOrder) Reset() {
|
||||||
@ -78,9 +202,9 @@ func (x *DBPayOrder) GetUid() string {
|
|||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DBPayOrder) GetProductid() string {
|
func (x *DBPayOrder) GetBpoints() string {
|
||||||
if x != nil {
|
if x != nil {
|
||||||
return x.Productid
|
return x.Bpoints
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
@ -92,6 +216,27 @@ func (x *DBPayOrder) GetCtime() int64 {
|
|||||||
return 0
|
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
|
||||||
|
}
|
||||||
|
|
||||||
//用户购买记录
|
//用户购买记录
|
||||||
type DBUserPay struct {
|
type DBUserPay struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
@ -472,73 +617,96 @@ var File_pay_pay_db_proto protoreflect.FileDescriptor
|
|||||||
|
|
||||||
var file_pay_pay_db_proto_rawDesc = []byte{
|
var file_pay_pay_db_proto_rawDesc = []byte{
|
||||||
0x0a, 0x10, 0x70, 0x61, 0x79, 0x2f, 0x70, 0x61, 0x79, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f,
|
0x0a, 0x10, 0x70, 0x61, 0x79, 0x2f, 0x70, 0x61, 0x79, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f,
|
||||||
0x74, 0x6f, 0x22, 0x6c, 0x0a, 0x0a, 0x44, 0x42, 0x50, 0x61, 0x79, 0x4f, 0x72, 0x64, 0x65, 0x72,
|
0x74, 0x6f, 0x22, 0xc4, 0x01, 0x0a, 0x0a, 0x44, 0x42, 0x50, 0x61, 0x79, 0x4f, 0x72, 0x64, 0x65,
|
||||||
0x12, 0x18, 0x0a, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
0x72, 0x12, 0x18, 0x0a, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
|
||||||
0x09, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69,
|
0x28, 0x09, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75,
|
||||||
0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09,
|
0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x18, 0x0a,
|
||||||
0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
|
0x07, 0x62, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
|
||||||
0x09, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x74,
|
0x62, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65,
|
||||||
0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65,
|
0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x26, 0x0a,
|
||||||
0x22, 0x88, 0x01, 0x0a, 0x09, 0x44, 0x42, 0x55, 0x73, 0x65, 0x72, 0x50, 0x61, 0x79, 0x12, 0x10,
|
0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x44,
|
||||||
0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64,
|
0x42, 0x50, 0x61, 0x79, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05,
|
||||||
0x12, 0x2e, 0x0a, 0x06, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b,
|
0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x20, 0x0a, 0x05, 0x70, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07,
|
||||||
0x32, 0x16, 0x2e, 0x44, 0x42, 0x55, 0x73, 0x65, 0x72, 0x50, 0x61, 0x79, 0x2e, 0x52, 0x65, 0x63,
|
0x20, 0x01, 0x28, 0x0e, 0x32, 0x0a, 0x2e, 0x44, 0x42, 0x50, 0x61, 0x79, 0x54, 0x79, 0x70, 0x65,
|
||||||
0x6f, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64,
|
0x52, 0x05, 0x70, 0x74, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x08,
|
||||||
0x1a, 0x39, 0x0a, 0x0b, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12,
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x70, 0x69, 0x64, 0x22, 0x88, 0x01, 0x0a, 0x09, 0x44, 0x42,
|
||||||
0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65,
|
0x55, 0x73, 0x65, 0x72, 0x50, 0x61, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01,
|
||||||
0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x2e, 0x0a, 0x06, 0x72, 0x65, 0x63,
|
||||||
0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x58, 0x0a, 0x0c, 0x50,
|
0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x44, 0x42, 0x55, 0x73,
|
||||||
0x61, 0x79, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69,
|
0x65, 0x72, 0x50, 0x61, 0x79, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72,
|
||||||
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x62,
|
0x79, 0x52, 0x06, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x1a, 0x39, 0x0a, 0x0b, 0x52, 0x65, 0x63,
|
||||||
0x75, 0x79, 0x75, 0x6e, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x62, 0x75, 0x79,
|
0x6f, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18,
|
||||||
0x75, 0x6e, 0x6d, 0x12, 0x20, 0x0a, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x72, 0x65, 0x66, 0x72, 0x65,
|
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61,
|
||||||
0x73, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x72, 0x65,
|
0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
||||||
0x66, 0x72, 0x65, 0x73, 0x68, 0x22, 0x95, 0x01, 0x0a, 0x0a, 0x44, 0x42, 0x50, 0x61, 0x79, 0x44,
|
0x3a, 0x02, 0x38, 0x01, 0x22, 0x58, 0x0a, 0x0c, 0x50, 0x61, 0x79, 0x44, 0x61, 0x69, 0x6c, 0x79,
|
||||||
0x61, 0x69, 0x6c, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
0x49, 0x74, 0x65, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
|
||||||
0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x2c, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18,
|
0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x75, 0x79, 0x75, 0x6e, 0x6d, 0x18, 0x02,
|
||||||
0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x44, 0x42, 0x50, 0x61, 0x79, 0x44, 0x61, 0x69,
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x62, 0x75, 0x79, 0x75, 0x6e, 0x6d, 0x12, 0x20, 0x0a, 0x0b,
|
||||||
0x6c, 0x79, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x69,
|
0x6c, 0x61, 0x73, 0x74, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28,
|
||||||
0x74, 0x65, 0x6d, 0x73, 0x1a, 0x47, 0x0a, 0x0a, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x45, 0x6e, 0x74,
|
0x03, 0x52, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x22, 0x95,
|
||||||
0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
|
0x01, 0x0a, 0x0a, 0x44, 0x42, 0x50, 0x61, 0x79, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x12, 0x10, 0x0a,
|
||||||
0x03, 0x6b, 0x65, 0x79, 0x12, 0x23, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
|
0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12,
|
||||||
0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x50, 0x61, 0x79, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x49, 0x74,
|
0x2c, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16,
|
||||||
0x65, 0x6d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xca, 0x01,
|
0x2e, 0x44, 0x42, 0x50, 0x61, 0x79, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x2e, 0x49, 0x74, 0x65, 0x6d,
|
||||||
0x0a, 0x11, 0x44, 0x42, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x47, 0x69, 0x66, 0x74,
|
0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x1a, 0x47, 0x0a,
|
||||||
0x62, 0x61, 0x67, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
0x0a, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
|
||||||
0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x23, 0x0a,
|
||||||
0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x3f, 0x0a, 0x09, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74,
|
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x50,
|
||||||
0x79, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x44, 0x42, 0x41, 0x63, 0x74,
|
0x61, 0x79, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x05, 0x76, 0x61, 0x6c,
|
||||||
0x69, 0x76, 0x69, 0x74, 0x79, 0x47, 0x69, 0x66, 0x74, 0x62, 0x61, 0x67, 0x2e, 0x41, 0x63, 0x74,
|
0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xca, 0x01, 0x0a, 0x11, 0x44, 0x42, 0x41, 0x63, 0x74,
|
||||||
0x69, 0x76, 0x69, 0x74, 0x79, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x61, 0x63, 0x74,
|
0x69, 0x76, 0x69, 0x74, 0x79, 0x47, 0x69, 0x66, 0x74, 0x62, 0x61, 0x67, 0x12, 0x0e, 0x0a, 0x02,
|
||||||
0x69, 0x76, 0x69, 0x74, 0x79, 0x73, 0x1a, 0x52, 0x0a, 0x0e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69,
|
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03,
|
||||||
0x74, 0x79, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18,
|
0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x3f,
|
||||||
0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2a, 0x0a, 0x05, 0x76, 0x61,
|
0x0a, 0x09, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28,
|
||||||
0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x41, 0x63, 0x74, 0x69,
|
0x0b, 0x32, 0x21, 0x2e, 0x44, 0x42, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x47, 0x69,
|
||||||
0x76, 0x69, 0x74, 0x79, 0x47, 0x69, 0x66, 0x74, 0x62, 0x61, 0x67, 0x49, 0x74, 0x65, 0x6d, 0x52,
|
0x66, 0x74, 0x62, 0x61, 0x67, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x73, 0x45,
|
||||||
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xcf, 0x01, 0x0a, 0x13, 0x41,
|
0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x73, 0x1a,
|
||||||
0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x47, 0x69, 0x66, 0x74, 0x62, 0x61, 0x67, 0x49, 0x74,
|
0x52, 0x0a, 0x0e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x73, 0x45, 0x6e, 0x74, 0x72,
|
||||||
0x65, 0x6d, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01,
|
0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03,
|
||||||
0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x12,
|
0x6b, 0x65, 0x79, 0x12, 0x2a, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01,
|
||||||
0x0a, 0x04, 0x64, 0x61, 0x79, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x64, 0x61,
|
0x28, 0x0b, 0x32, 0x14, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x47, 0x69, 0x66,
|
||||||
0x79, 0x73, 0x12, 0x35, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28,
|
0x74, 0x62, 0x61, 0x67, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a,
|
||||||
0x0b, 0x32, 0x1f, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x47, 0x69, 0x66, 0x74,
|
0x02, 0x38, 0x01, 0x22, 0xcf, 0x01, 0x0a, 0x13, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79,
|
||||||
0x62, 0x61, 0x67, 0x49, 0x74, 0x65, 0x6d, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x45, 0x6e, 0x74,
|
0x47, 0x69, 0x66, 0x74, 0x62, 0x61, 0x67, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x1a, 0x0a, 0x08, 0x6f,
|
||||||
0x72, 0x79, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x1a, 0x51, 0x0a, 0x0a, 0x49, 0x74, 0x65,
|
0x70, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6f,
|
||||||
0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,
|
0x70, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x79, 0x73, 0x18,
|
||||||
0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2d, 0x0a, 0x05, 0x76, 0x61, 0x6c,
|
0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x64, 0x61, 0x79, 0x73, 0x12, 0x35, 0x0a, 0x05, 0x69,
|
||||||
0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x50, 0x61, 0x79, 0x41, 0x63,
|
0x74, 0x65, 0x6d, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x41, 0x63, 0x74,
|
||||||
0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x47, 0x69, 0x66, 0x74, 0x62, 0x61, 0x67, 0x49, 0x74, 0x65,
|
0x69, 0x76, 0x69, 0x74, 0x79, 0x47, 0x69, 0x66, 0x74, 0x62, 0x61, 0x67, 0x49, 0x74, 0x65, 0x6d,
|
||||||
0x6d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x84, 0x01, 0x0a,
|
0x2e, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x69, 0x74, 0x65,
|
||||||
0x16, 0x50, 0x61, 0x79, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x47, 0x69, 0x66, 0x74,
|
0x6d, 0x73, 0x1a, 0x51, 0x0a, 0x0a, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
|
||||||
0x62, 0x61, 0x67, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
|
0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b,
|
||||||
0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x75, 0x79, 0x75, 0x6e,
|
0x65, 0x79, 0x12, 0x2d, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||||
0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x62, 0x75, 0x79, 0x75, 0x6e, 0x6d, 0x12,
|
0x0b, 0x32, 0x17, 0x2e, 0x50, 0x61, 0x79, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x47,
|
||||||
0x20, 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x62, 0x75, 0x79, 0x6e, 0x75, 0x6d, 0x18, 0x03,
|
0x69, 0x66, 0x74, 0x62, 0x61, 0x67, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
|
||||||
0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x62, 0x75, 0x79, 0x6e, 0x75,
|
0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x84, 0x01, 0x0a, 0x16, 0x50, 0x61, 0x79, 0x41, 0x63, 0x74,
|
||||||
0x6d, 0x12, 0x20, 0x0a, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68,
|
0x69, 0x76, 0x69, 0x74, 0x79, 0x47, 0x69, 0x66, 0x74, 0x62, 0x61, 0x67, 0x49, 0x74, 0x65, 0x6d,
|
||||||
0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x72, 0x65, 0x66, 0x72,
|
0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64,
|
||||||
0x65, 0x73, 0x68, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f,
|
0x12, 0x16, 0x0a, 0x06, 0x62, 0x75, 0x79, 0x75, 0x6e, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
|
||||||
0x74, 0x6f, 0x33,
|
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 (
|
var (
|
||||||
@ -553,33 +721,38 @@ func file_pay_pay_db_proto_rawDescGZIP() []byte {
|
|||||||
return 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, 11)
|
var file_pay_pay_db_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
|
||||||
var file_pay_pay_db_proto_goTypes = []interface{}{
|
var file_pay_pay_db_proto_goTypes = []interface{}{
|
||||||
(*DBPayOrder)(nil), // 0: DBPayOrder
|
(DBPayType)(0), // 0: DBPayType
|
||||||
(*DBUserPay)(nil), // 1: DBUserPay
|
(DBPayOrderState)(0), // 1: DBPayOrderState
|
||||||
(*PayDailyItem)(nil), // 2: PayDailyItem
|
(*DBPayOrder)(nil), // 2: DBPayOrder
|
||||||
(*DBPayDaily)(nil), // 3: DBPayDaily
|
(*DBUserPay)(nil), // 3: DBUserPay
|
||||||
(*DBActivityGiftbag)(nil), // 4: DBActivityGiftbag
|
(*PayDailyItem)(nil), // 4: PayDailyItem
|
||||||
(*ActivityGiftbagItem)(nil), // 5: ActivityGiftbagItem
|
(*DBPayDaily)(nil), // 5: DBPayDaily
|
||||||
(*PayActivityGiftbagItem)(nil), // 6: PayActivityGiftbagItem
|
(*DBActivityGiftbag)(nil), // 6: DBActivityGiftbag
|
||||||
nil, // 7: DBUserPay.RecordEntry
|
(*ActivityGiftbagItem)(nil), // 7: ActivityGiftbagItem
|
||||||
nil, // 8: DBPayDaily.ItemsEntry
|
(*PayActivityGiftbagItem)(nil), // 8: PayActivityGiftbagItem
|
||||||
nil, // 9: DBActivityGiftbag.ActivitysEntry
|
nil, // 9: DBUserPay.RecordEntry
|
||||||
nil, // 10: ActivityGiftbagItem.ItemsEntry
|
nil, // 10: DBPayDaily.ItemsEntry
|
||||||
|
nil, // 11: DBActivityGiftbag.ActivitysEntry
|
||||||
|
nil, // 12: ActivityGiftbagItem.ItemsEntry
|
||||||
}
|
}
|
||||||
var file_pay_pay_db_proto_depIdxs = []int32{
|
var file_pay_pay_db_proto_depIdxs = []int32{
|
||||||
7, // 0: DBUserPay.record:type_name -> DBUserPay.RecordEntry
|
1, // 0: DBPayOrder.state:type_name -> DBPayOrderState
|
||||||
8, // 1: DBPayDaily.items:type_name -> DBPayDaily.ItemsEntry
|
0, // 1: DBPayOrder.ptype:type_name -> DBPayType
|
||||||
9, // 2: DBActivityGiftbag.activitys:type_name -> DBActivityGiftbag.ActivitysEntry
|
9, // 2: DBUserPay.record:type_name -> DBUserPay.RecordEntry
|
||||||
10, // 3: ActivityGiftbagItem.items:type_name -> ActivityGiftbagItem.ItemsEntry
|
10, // 3: DBPayDaily.items:type_name -> DBPayDaily.ItemsEntry
|
||||||
2, // 4: DBPayDaily.ItemsEntry.value:type_name -> PayDailyItem
|
11, // 4: DBActivityGiftbag.activitys:type_name -> DBActivityGiftbag.ActivitysEntry
|
||||||
5, // 5: DBActivityGiftbag.ActivitysEntry.value:type_name -> ActivityGiftbagItem
|
12, // 5: ActivityGiftbagItem.items:type_name -> ActivityGiftbagItem.ItemsEntry
|
||||||
6, // 6: ActivityGiftbagItem.ItemsEntry.value:type_name -> PayActivityGiftbagItem
|
4, // 6: DBPayDaily.ItemsEntry.value:type_name -> PayDailyItem
|
||||||
7, // [7:7] is the sub-list for method output_type
|
7, // 7: DBActivityGiftbag.ActivitysEntry.value:type_name -> ActivityGiftbagItem
|
||||||
7, // [7:7] is the sub-list for method input_type
|
8, // 8: ActivityGiftbagItem.ItemsEntry.value:type_name -> PayActivityGiftbagItem
|
||||||
7, // [7:7] is the sub-list for extension type_name
|
9, // [9:9] is the sub-list for method output_type
|
||||||
7, // [7:7] is the sub-list for extension extendee
|
9, // [9:9] is the sub-list for method input_type
|
||||||
0, // [0:7] is the sub-list for field type_name
|
9, // [9:9] is the sub-list for extension type_name
|
||||||
|
9, // [9:9] is the sub-list for extension extendee
|
||||||
|
0, // [0:9] is the sub-list for field type_name
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() { file_pay_pay_db_proto_init() }
|
func init() { file_pay_pay_db_proto_init() }
|
||||||
@ -678,13 +851,14 @@ func file_pay_pay_db_proto_init() {
|
|||||||
File: protoimpl.DescBuilder{
|
File: protoimpl.DescBuilder{
|
||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||||
RawDescriptor: file_pay_pay_db_proto_rawDesc,
|
RawDescriptor: file_pay_pay_db_proto_rawDesc,
|
||||||
NumEnums: 0,
|
NumEnums: 2,
|
||||||
NumMessages: 11,
|
NumMessages: 11,
|
||||||
NumExtensions: 0,
|
NumExtensions: 0,
|
||||||
NumServices: 0,
|
NumServices: 0,
|
||||||
},
|
},
|
||||||
GoTypes: file_pay_pay_db_proto_goTypes,
|
GoTypes: file_pay_pay_db_proto_goTypes,
|
||||||
DependencyIndexes: file_pay_pay_db_proto_depIdxs,
|
DependencyIndexes: file_pay_pay_db_proto_depIdxs,
|
||||||
|
EnumInfos: file_pay_pay_db_proto_enumTypes,
|
||||||
MessageInfos: file_pay_pay_db_proto_msgTypes,
|
MessageInfos: file_pay_pay_db_proto_msgTypes,
|
||||||
}.Build()
|
}.Build()
|
||||||
File_pay_pay_db_proto = out.File
|
File_pay_pay_db_proto = out.File
|
||||||
|
583
pb/pay_msg.pb.go
583
pb/pay_msg.pb.go
@ -20,6 +20,222 @@ const (
|
|||||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
//创建订单号请求
|
||||||
|
type PayCreateOrderReq struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
Ptype DBPayType `protobuf:"varint,1,opt,name=ptype,proto3,enum=DBPayType" json:"ptype"`
|
||||||
|
Pid int32 `protobuf:"varint,2,opt,name=pid,proto3" json:"pid"`
|
||||||
|
BillingPoints string `protobuf:"bytes,3,opt,name=BillingPoints,proto3" json:"BillingPoints"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *PayCreateOrderReq) Reset() {
|
||||||
|
*x = PayCreateOrderReq{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_pay_pay_msg_proto_msgTypes[0]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *PayCreateOrderReq) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*PayCreateOrderReq) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *PayCreateOrderReq) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_pay_pay_msg_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 PayCreateOrderReq.ProtoReflect.Descriptor instead.
|
||||||
|
func (*PayCreateOrderReq) Descriptor() ([]byte, []int) {
|
||||||
|
return file_pay_pay_msg_proto_rawDescGZIP(), []int{0}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *PayCreateOrderReq) GetPtype() DBPayType {
|
||||||
|
if x != nil {
|
||||||
|
return x.Ptype
|
||||||
|
}
|
||||||
|
return DBPayType_DiamondShop
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *PayCreateOrderReq) GetPid() int32 {
|
||||||
|
if x != nil {
|
||||||
|
return x.Pid
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *PayCreateOrderReq) GetBillingPoints() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.BillingPoints
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
//创建订单号请求
|
||||||
|
type PayCreateOrderResp struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
Order *DBPayOrder `protobuf:"bytes,1,opt,name=order,proto3" json:"order"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *PayCreateOrderResp) Reset() {
|
||||||
|
*x = PayCreateOrderResp{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_pay_pay_msg_proto_msgTypes[1]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *PayCreateOrderResp) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*PayCreateOrderResp) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *PayCreateOrderResp) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_pay_pay_msg_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 PayCreateOrderResp.ProtoReflect.Descriptor instead.
|
||||||
|
func (*PayCreateOrderResp) Descriptor() ([]byte, []int) {
|
||||||
|
return file_pay_pay_msg_proto_rawDescGZIP(), []int{1}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *PayCreateOrderResp) GetOrder() *DBPayOrder {
|
||||||
|
if x != nil {
|
||||||
|
return x.Order
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
//取消订单号请求
|
||||||
|
type PayResponseOrderReq struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
Oid string `protobuf:"bytes,1,opt,name=oid,proto3" json:"oid"`
|
||||||
|
State DBPayOrderState `protobuf:"varint,2,opt,name=State,proto3,enum=DBPayOrderState" json:"State"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *PayResponseOrderReq) Reset() {
|
||||||
|
*x = PayResponseOrderReq{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_pay_pay_msg_proto_msgTypes[2]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *PayResponseOrderReq) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*PayResponseOrderReq) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *PayResponseOrderReq) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_pay_pay_msg_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 PayResponseOrderReq.ProtoReflect.Descriptor instead.
|
||||||
|
func (*PayResponseOrderReq) Descriptor() ([]byte, []int) {
|
||||||
|
return file_pay_pay_msg_proto_rawDescGZIP(), []int{2}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *PayResponseOrderReq) GetOid() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.Oid
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *PayResponseOrderReq) GetState() DBPayOrderState {
|
||||||
|
if x != nil {
|
||||||
|
return x.State
|
||||||
|
}
|
||||||
|
return DBPayOrderState_PayOrder_Unpaid
|
||||||
|
}
|
||||||
|
|
||||||
|
//取消订单号请求
|
||||||
|
type PayResponseOrderResp struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
Oid string `protobuf:"bytes,1,opt,name=oid,proto3" json:"oid"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *PayResponseOrderResp) Reset() {
|
||||||
|
*x = PayResponseOrderResp{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_pay_pay_msg_proto_msgTypes[3]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *PayResponseOrderResp) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*PayResponseOrderResp) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *PayResponseOrderResp) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_pay_pay_msg_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 PayResponseOrderResp.ProtoReflect.Descriptor instead.
|
||||||
|
func (*PayResponseOrderResp) Descriptor() ([]byte, []int) {
|
||||||
|
return file_pay_pay_msg_proto_rawDescGZIP(), []int{3}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *PayResponseOrderResp) GetOid() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.Oid
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
//充值记录
|
//充值记录
|
||||||
type PayRecordReq struct {
|
type PayRecordReq struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
@ -30,7 +246,7 @@ type PayRecordReq struct {
|
|||||||
func (x *PayRecordReq) Reset() {
|
func (x *PayRecordReq) Reset() {
|
||||||
*x = PayRecordReq{}
|
*x = PayRecordReq{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_pay_pay_msg_proto_msgTypes[0]
|
mi := &file_pay_pay_msg_proto_msgTypes[4]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@ -43,7 +259,7 @@ func (x *PayRecordReq) String() string {
|
|||||||
func (*PayRecordReq) ProtoMessage() {}
|
func (*PayRecordReq) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *PayRecordReq) ProtoReflect() protoreflect.Message {
|
func (x *PayRecordReq) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_pay_pay_msg_proto_msgTypes[0]
|
mi := &file_pay_pay_msg_proto_msgTypes[4]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@ -56,7 +272,7 @@ func (x *PayRecordReq) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use PayRecordReq.ProtoReflect.Descriptor instead.
|
// Deprecated: Use PayRecordReq.ProtoReflect.Descriptor instead.
|
||||||
func (*PayRecordReq) Descriptor() ([]byte, []int) {
|
func (*PayRecordReq) Descriptor() ([]byte, []int) {
|
||||||
return file_pay_pay_msg_proto_rawDescGZIP(), []int{0}
|
return file_pay_pay_msg_proto_rawDescGZIP(), []int{4}
|
||||||
}
|
}
|
||||||
|
|
||||||
//充值记录
|
//充值记录
|
||||||
@ -71,7 +287,7 @@ type PayRecordResp struct {
|
|||||||
func (x *PayRecordResp) Reset() {
|
func (x *PayRecordResp) Reset() {
|
||||||
*x = PayRecordResp{}
|
*x = PayRecordResp{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_pay_pay_msg_proto_msgTypes[1]
|
mi := &file_pay_pay_msg_proto_msgTypes[5]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@ -84,7 +300,7 @@ func (x *PayRecordResp) String() string {
|
|||||||
func (*PayRecordResp) ProtoMessage() {}
|
func (*PayRecordResp) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *PayRecordResp) ProtoReflect() protoreflect.Message {
|
func (x *PayRecordResp) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_pay_pay_msg_proto_msgTypes[1]
|
mi := &file_pay_pay_msg_proto_msgTypes[5]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@ -97,7 +313,7 @@ func (x *PayRecordResp) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use PayRecordResp.ProtoReflect.Descriptor instead.
|
// Deprecated: Use PayRecordResp.ProtoReflect.Descriptor instead.
|
||||||
func (*PayRecordResp) Descriptor() ([]byte, []int) {
|
func (*PayRecordResp) Descriptor() ([]byte, []int) {
|
||||||
return file_pay_pay_msg_proto_rawDescGZIP(), []int{1}
|
return file_pay_pay_msg_proto_rawDescGZIP(), []int{5}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *PayRecordResp) GetInfo() *DBUserPay {
|
func (x *PayRecordResp) GetInfo() *DBUserPay {
|
||||||
@ -117,7 +333,7 @@ type PayInfoReq struct {
|
|||||||
func (x *PayInfoReq) Reset() {
|
func (x *PayInfoReq) Reset() {
|
||||||
*x = PayInfoReq{}
|
*x = PayInfoReq{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_pay_pay_msg_proto_msgTypes[2]
|
mi := &file_pay_pay_msg_proto_msgTypes[6]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@ -130,7 +346,7 @@ func (x *PayInfoReq) String() string {
|
|||||||
func (*PayInfoReq) ProtoMessage() {}
|
func (*PayInfoReq) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *PayInfoReq) ProtoReflect() protoreflect.Message {
|
func (x *PayInfoReq) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_pay_pay_msg_proto_msgTypes[2]
|
mi := &file_pay_pay_msg_proto_msgTypes[6]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@ -143,7 +359,7 @@ func (x *PayInfoReq) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use PayInfoReq.ProtoReflect.Descriptor instead.
|
// Deprecated: Use PayInfoReq.ProtoReflect.Descriptor instead.
|
||||||
func (*PayInfoReq) Descriptor() ([]byte, []int) {
|
func (*PayInfoReq) Descriptor() ([]byte, []int) {
|
||||||
return file_pay_pay_msg_proto_rawDescGZIP(), []int{2}
|
return file_pay_pay_msg_proto_rawDescGZIP(), []int{6}
|
||||||
}
|
}
|
||||||
|
|
||||||
type PayInfoResp struct {
|
type PayInfoResp struct {
|
||||||
@ -157,7 +373,7 @@ type PayInfoResp struct {
|
|||||||
func (x *PayInfoResp) Reset() {
|
func (x *PayInfoResp) Reset() {
|
||||||
*x = PayInfoResp{}
|
*x = PayInfoResp{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_pay_pay_msg_proto_msgTypes[3]
|
mi := &file_pay_pay_msg_proto_msgTypes[7]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@ -170,7 +386,7 @@ func (x *PayInfoResp) String() string {
|
|||||||
func (*PayInfoResp) ProtoMessage() {}
|
func (*PayInfoResp) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *PayInfoResp) ProtoReflect() protoreflect.Message {
|
func (x *PayInfoResp) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_pay_pay_msg_proto_msgTypes[3]
|
mi := &file_pay_pay_msg_proto_msgTypes[7]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@ -183,7 +399,7 @@ func (x *PayInfoResp) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use PayInfoResp.ProtoReflect.Descriptor instead.
|
// Deprecated: Use PayInfoResp.ProtoReflect.Descriptor instead.
|
||||||
func (*PayInfoResp) Descriptor() ([]byte, []int) {
|
func (*PayInfoResp) Descriptor() ([]byte, []int) {
|
||||||
return file_pay_pay_msg_proto_rawDescGZIP(), []int{3}
|
return file_pay_pay_msg_proto_rawDescGZIP(), []int{7}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *PayInfoResp) GetInfo() *DBPayDaily {
|
func (x *PayInfoResp) GetInfo() *DBPayDaily {
|
||||||
@ -205,7 +421,7 @@ type PayDailyBuyReq struct {
|
|||||||
func (x *PayDailyBuyReq) Reset() {
|
func (x *PayDailyBuyReq) Reset() {
|
||||||
*x = PayDailyBuyReq{}
|
*x = PayDailyBuyReq{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_pay_pay_msg_proto_msgTypes[4]
|
mi := &file_pay_pay_msg_proto_msgTypes[8]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@ -218,7 +434,7 @@ func (x *PayDailyBuyReq) String() string {
|
|||||||
func (*PayDailyBuyReq) ProtoMessage() {}
|
func (*PayDailyBuyReq) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *PayDailyBuyReq) ProtoReflect() protoreflect.Message {
|
func (x *PayDailyBuyReq) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_pay_pay_msg_proto_msgTypes[4]
|
mi := &file_pay_pay_msg_proto_msgTypes[8]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@ -231,7 +447,7 @@ func (x *PayDailyBuyReq) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use PayDailyBuyReq.ProtoReflect.Descriptor instead.
|
// Deprecated: Use PayDailyBuyReq.ProtoReflect.Descriptor instead.
|
||||||
func (*PayDailyBuyReq) Descriptor() ([]byte, []int) {
|
func (*PayDailyBuyReq) Descriptor() ([]byte, []int) {
|
||||||
return file_pay_pay_msg_proto_rawDescGZIP(), []int{4}
|
return file_pay_pay_msg_proto_rawDescGZIP(), []int{8}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *PayDailyBuyReq) GetId() int32 {
|
func (x *PayDailyBuyReq) GetId() int32 {
|
||||||
@ -253,7 +469,7 @@ type PayDailyBuyResp struct {
|
|||||||
func (x *PayDailyBuyResp) Reset() {
|
func (x *PayDailyBuyResp) Reset() {
|
||||||
*x = PayDailyBuyResp{}
|
*x = PayDailyBuyResp{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_pay_pay_msg_proto_msgTypes[5]
|
mi := &file_pay_pay_msg_proto_msgTypes[9]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@ -266,7 +482,7 @@ func (x *PayDailyBuyResp) String() string {
|
|||||||
func (*PayDailyBuyResp) ProtoMessage() {}
|
func (*PayDailyBuyResp) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *PayDailyBuyResp) ProtoReflect() protoreflect.Message {
|
func (x *PayDailyBuyResp) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_pay_pay_msg_proto_msgTypes[5]
|
mi := &file_pay_pay_msg_proto_msgTypes[9]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@ -279,7 +495,7 @@ func (x *PayDailyBuyResp) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use PayDailyBuyResp.ProtoReflect.Descriptor instead.
|
// Deprecated: Use PayDailyBuyResp.ProtoReflect.Descriptor instead.
|
||||||
func (*PayDailyBuyResp) Descriptor() ([]byte, []int) {
|
func (*PayDailyBuyResp) Descriptor() ([]byte, []int) {
|
||||||
return file_pay_pay_msg_proto_rawDescGZIP(), []int{5}
|
return file_pay_pay_msg_proto_rawDescGZIP(), []int{9}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *PayDailyBuyResp) GetIsucc() bool {
|
func (x *PayDailyBuyResp) GetIsucc() bool {
|
||||||
@ -302,16 +518,15 @@ type PayShippedPush struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Pid string `protobuf:"bytes,1,opt,name=pid,proto3" json:"pid"`
|
Order *DBPayOrder `protobuf:"bytes,1,opt,name=order,proto3" json:"order"`
|
||||||
Orderid string `protobuf:"bytes,2,opt,name=orderid,proto3" json:"orderid"`
|
Items []*UserAssets `protobuf:"bytes,2,rep,name=items,proto3" json:"items"`
|
||||||
Items []*UserAssets `protobuf:"bytes,3,rep,name=items,proto3" json:"items"`
|
|
||||||
Info *DBUserPay `protobuf:"bytes,4,opt,name=info,proto3" json:"info"`
|
Info *DBUserPay `protobuf:"bytes,4,opt,name=info,proto3" json:"info"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *PayShippedPush) Reset() {
|
func (x *PayShippedPush) Reset() {
|
||||||
*x = PayShippedPush{}
|
*x = PayShippedPush{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_pay_pay_msg_proto_msgTypes[6]
|
mi := &file_pay_pay_msg_proto_msgTypes[10]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@ -324,7 +539,7 @@ func (x *PayShippedPush) String() string {
|
|||||||
func (*PayShippedPush) ProtoMessage() {}
|
func (*PayShippedPush) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *PayShippedPush) ProtoReflect() protoreflect.Message {
|
func (x *PayShippedPush) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_pay_pay_msg_proto_msgTypes[6]
|
mi := &file_pay_pay_msg_proto_msgTypes[10]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@ -337,21 +552,14 @@ func (x *PayShippedPush) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use PayShippedPush.ProtoReflect.Descriptor instead.
|
// Deprecated: Use PayShippedPush.ProtoReflect.Descriptor instead.
|
||||||
func (*PayShippedPush) Descriptor() ([]byte, []int) {
|
func (*PayShippedPush) Descriptor() ([]byte, []int) {
|
||||||
return file_pay_pay_msg_proto_rawDescGZIP(), []int{6}
|
return file_pay_pay_msg_proto_rawDescGZIP(), []int{10}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *PayShippedPush) GetPid() string {
|
func (x *PayShippedPush) GetOrder() *DBPayOrder {
|
||||||
if x != nil {
|
if x != nil {
|
||||||
return x.Pid
|
return x.Order
|
||||||
}
|
}
|
||||||
return ""
|
return nil
|
||||||
}
|
|
||||||
|
|
||||||
func (x *PayShippedPush) GetOrderid() string {
|
|
||||||
if x != nil {
|
|
||||||
return x.Orderid
|
|
||||||
}
|
|
||||||
return ""
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *PayShippedPush) GetItems() []*UserAssets {
|
func (x *PayShippedPush) GetItems() []*UserAssets {
|
||||||
@ -384,7 +592,7 @@ type PayDeliveryReq struct {
|
|||||||
func (x *PayDeliveryReq) Reset() {
|
func (x *PayDeliveryReq) Reset() {
|
||||||
*x = PayDeliveryReq{}
|
*x = PayDeliveryReq{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_pay_pay_msg_proto_msgTypes[7]
|
mi := &file_pay_pay_msg_proto_msgTypes[11]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@ -397,7 +605,7 @@ func (x *PayDeliveryReq) String() string {
|
|||||||
func (*PayDeliveryReq) ProtoMessage() {}
|
func (*PayDeliveryReq) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *PayDeliveryReq) ProtoReflect() protoreflect.Message {
|
func (x *PayDeliveryReq) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_pay_pay_msg_proto_msgTypes[7]
|
mi := &file_pay_pay_msg_proto_msgTypes[11]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@ -410,7 +618,7 @@ func (x *PayDeliveryReq) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use PayDeliveryReq.ProtoReflect.Descriptor instead.
|
// Deprecated: Use PayDeliveryReq.ProtoReflect.Descriptor instead.
|
||||||
func (*PayDeliveryReq) Descriptor() ([]byte, []int) {
|
func (*PayDeliveryReq) Descriptor() ([]byte, []int) {
|
||||||
return file_pay_pay_msg_proto_rawDescGZIP(), []int{7}
|
return file_pay_pay_msg_proto_rawDescGZIP(), []int{11}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *PayDeliveryReq) GetUid() string {
|
func (x *PayDeliveryReq) GetUid() string {
|
||||||
@ -462,7 +670,7 @@ type PayDeliveryResp struct {
|
|||||||
func (x *PayDeliveryResp) Reset() {
|
func (x *PayDeliveryResp) Reset() {
|
||||||
*x = PayDeliveryResp{}
|
*x = PayDeliveryResp{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_pay_pay_msg_proto_msgTypes[8]
|
mi := &file_pay_pay_msg_proto_msgTypes[12]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@ -475,7 +683,7 @@ func (x *PayDeliveryResp) String() string {
|
|||||||
func (*PayDeliveryResp) ProtoMessage() {}
|
func (*PayDeliveryResp) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *PayDeliveryResp) ProtoReflect() protoreflect.Message {
|
func (x *PayDeliveryResp) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_pay_pay_msg_proto_msgTypes[8]
|
mi := &file_pay_pay_msg_proto_msgTypes[12]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@ -488,7 +696,7 @@ func (x *PayDeliveryResp) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use PayDeliveryResp.ProtoReflect.Descriptor instead.
|
// Deprecated: Use PayDeliveryResp.ProtoReflect.Descriptor instead.
|
||||||
func (*PayDeliveryResp) Descriptor() ([]byte, []int) {
|
func (*PayDeliveryResp) Descriptor() ([]byte, []int) {
|
||||||
return file_pay_pay_msg_proto_rawDescGZIP(), []int{8}
|
return file_pay_pay_msg_proto_rawDescGZIP(), []int{12}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *PayDeliveryResp) GetCode() ErrorCode {
|
func (x *PayDeliveryResp) GetCode() ErrorCode {
|
||||||
@ -524,7 +732,7 @@ type PayGetActivityReq struct {
|
|||||||
func (x *PayGetActivityReq) Reset() {
|
func (x *PayGetActivityReq) Reset() {
|
||||||
*x = PayGetActivityReq{}
|
*x = PayGetActivityReq{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_pay_pay_msg_proto_msgTypes[9]
|
mi := &file_pay_pay_msg_proto_msgTypes[13]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@ -537,7 +745,7 @@ func (x *PayGetActivityReq) String() string {
|
|||||||
func (*PayGetActivityReq) ProtoMessage() {}
|
func (*PayGetActivityReq) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *PayGetActivityReq) ProtoReflect() protoreflect.Message {
|
func (x *PayGetActivityReq) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_pay_pay_msg_proto_msgTypes[9]
|
mi := &file_pay_pay_msg_proto_msgTypes[13]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@ -550,7 +758,7 @@ func (x *PayGetActivityReq) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use PayGetActivityReq.ProtoReflect.Descriptor instead.
|
// Deprecated: Use PayGetActivityReq.ProtoReflect.Descriptor instead.
|
||||||
func (*PayGetActivityReq) Descriptor() ([]byte, []int) {
|
func (*PayGetActivityReq) Descriptor() ([]byte, []int) {
|
||||||
return file_pay_pay_msg_proto_rawDescGZIP(), []int{9}
|
return file_pay_pay_msg_proto_rawDescGZIP(), []int{13}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *PayGetActivityReq) GetAtype() int32 {
|
func (x *PayGetActivityReq) GetAtype() int32 {
|
||||||
@ -571,7 +779,7 @@ type PayGetActivityResp struct {
|
|||||||
func (x *PayGetActivityResp) Reset() {
|
func (x *PayGetActivityResp) Reset() {
|
||||||
*x = PayGetActivityResp{}
|
*x = PayGetActivityResp{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_pay_pay_msg_proto_msgTypes[10]
|
mi := &file_pay_pay_msg_proto_msgTypes[14]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@ -584,7 +792,7 @@ func (x *PayGetActivityResp) String() string {
|
|||||||
func (*PayGetActivityResp) ProtoMessage() {}
|
func (*PayGetActivityResp) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *PayGetActivityResp) ProtoReflect() protoreflect.Message {
|
func (x *PayGetActivityResp) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_pay_pay_msg_proto_msgTypes[10]
|
mi := &file_pay_pay_msg_proto_msgTypes[14]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@ -597,7 +805,7 @@ func (x *PayGetActivityResp) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use PayGetActivityResp.ProtoReflect.Descriptor instead.
|
// Deprecated: Use PayGetActivityResp.ProtoReflect.Descriptor instead.
|
||||||
func (*PayGetActivityResp) Descriptor() ([]byte, []int) {
|
func (*PayGetActivityResp) Descriptor() ([]byte, []int) {
|
||||||
return file_pay_pay_msg_proto_rawDescGZIP(), []int{10}
|
return file_pay_pay_msg_proto_rawDescGZIP(), []int{14}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *PayGetActivityResp) GetInfo() *ActivityGiftbagItem {
|
func (x *PayGetActivityResp) GetInfo() *ActivityGiftbagItem {
|
||||||
@ -619,7 +827,7 @@ type PayActivityBuyReq struct {
|
|||||||
func (x *PayActivityBuyReq) Reset() {
|
func (x *PayActivityBuyReq) Reset() {
|
||||||
*x = PayActivityBuyReq{}
|
*x = PayActivityBuyReq{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_pay_pay_msg_proto_msgTypes[11]
|
mi := &file_pay_pay_msg_proto_msgTypes[15]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@ -632,7 +840,7 @@ func (x *PayActivityBuyReq) String() string {
|
|||||||
func (*PayActivityBuyReq) ProtoMessage() {}
|
func (*PayActivityBuyReq) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *PayActivityBuyReq) ProtoReflect() protoreflect.Message {
|
func (x *PayActivityBuyReq) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_pay_pay_msg_proto_msgTypes[11]
|
mi := &file_pay_pay_msg_proto_msgTypes[15]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@ -645,7 +853,7 @@ func (x *PayActivityBuyReq) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use PayActivityBuyReq.ProtoReflect.Descriptor instead.
|
// Deprecated: Use PayActivityBuyReq.ProtoReflect.Descriptor instead.
|
||||||
func (*PayActivityBuyReq) Descriptor() ([]byte, []int) {
|
func (*PayActivityBuyReq) Descriptor() ([]byte, []int) {
|
||||||
return file_pay_pay_msg_proto_rawDescGZIP(), []int{11}
|
return file_pay_pay_msg_proto_rawDescGZIP(), []int{15}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *PayActivityBuyReq) GetId() int32 {
|
func (x *PayActivityBuyReq) GetId() int32 {
|
||||||
@ -667,7 +875,7 @@ type PayActivityResp struct {
|
|||||||
func (x *PayActivityResp) Reset() {
|
func (x *PayActivityResp) Reset() {
|
||||||
*x = PayActivityResp{}
|
*x = PayActivityResp{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_pay_pay_msg_proto_msgTypes[12]
|
mi := &file_pay_pay_msg_proto_msgTypes[16]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@ -680,7 +888,7 @@ func (x *PayActivityResp) String() string {
|
|||||||
func (*PayActivityResp) ProtoMessage() {}
|
func (*PayActivityResp) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *PayActivityResp) ProtoReflect() protoreflect.Message {
|
func (x *PayActivityResp) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_pay_pay_msg_proto_msgTypes[12]
|
mi := &file_pay_pay_msg_proto_msgTypes[16]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@ -693,7 +901,7 @@ func (x *PayActivityResp) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use PayActivityResp.ProtoReflect.Descriptor instead.
|
// Deprecated: Use PayActivityResp.ProtoReflect.Descriptor instead.
|
||||||
func (*PayActivityResp) Descriptor() ([]byte, []int) {
|
func (*PayActivityResp) Descriptor() ([]byte, []int) {
|
||||||
return file_pay_pay_msg_proto_rawDescGZIP(), []int{12}
|
return file_pay_pay_msg_proto_rawDescGZIP(), []int{16}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *PayActivityResp) GetIsucc() bool {
|
func (x *PayActivityResp) GetIsucc() bool {
|
||||||
@ -717,58 +925,76 @@ var file_pay_pay_msg_proto_rawDesc = []byte{
|
|||||||
0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x70, 0x61, 0x79, 0x2f, 0x70, 0x61, 0x79, 0x5f, 0x64, 0x62, 0x2e,
|
0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x70, 0x61, 0x79, 0x2f, 0x70, 0x61, 0x79, 0x5f, 0x64, 0x62, 0x2e,
|
||||||
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
||||||
0x6f, 0x1a, 0x0f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x63, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f,
|
0x6f, 0x1a, 0x0f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x63, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f,
|
||||||
0x74, 0x6f, 0x22, 0x0e, 0x0a, 0x0c, 0x50, 0x61, 0x79, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52,
|
0x74, 0x6f, 0x22, 0x6d, 0x0a, 0x11, 0x50, 0x61, 0x79, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f,
|
||||||
0x65, 0x71, 0x22, 0x2f, 0x0a, 0x0d, 0x50, 0x61, 0x79, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52,
|
0x72, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x20, 0x0a, 0x05, 0x70, 0x74, 0x79, 0x70, 0x65,
|
||||||
0x65, 0x73, 0x70, 0x12, 0x1e, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28,
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0a, 0x2e, 0x44, 0x42, 0x50, 0x61, 0x79, 0x54, 0x79,
|
||||||
0x0b, 0x32, 0x0a, 0x2e, 0x44, 0x42, 0x55, 0x73, 0x65, 0x72, 0x50, 0x61, 0x79, 0x52, 0x04, 0x69,
|
0x70, 0x65, 0x52, 0x05, 0x70, 0x74, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x69, 0x64,
|
||||||
0x6e, 0x66, 0x6f, 0x22, 0x0c, 0x0a, 0x0a, 0x50, 0x61, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65,
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x70, 0x69, 0x64, 0x12, 0x24, 0x0a, 0x0d, 0x42,
|
||||||
0x71, 0x22, 0x2e, 0x0a, 0x0b, 0x50, 0x61, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70,
|
0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01,
|
||||||
0x12, 0x1f, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b,
|
0x28, 0x09, 0x52, 0x0d, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x69, 0x6e, 0x74,
|
||||||
0x2e, 0x44, 0x42, 0x50, 0x61, 0x79, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x52, 0x04, 0x69, 0x6e, 0x66,
|
0x73, 0x22, 0x37, 0x0a, 0x12, 0x50, 0x61, 0x79, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72,
|
||||||
0x6f, 0x22, 0x20, 0x0a, 0x0e, 0x50, 0x61, 0x79, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x42, 0x75, 0x79,
|
0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x21, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72,
|
||||||
0x52, 0x65, 0x71, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x44, 0x42, 0x50, 0x61, 0x79, 0x4f, 0x72,
|
||||||
0x02, 0x69, 0x64, 0x22, 0x4a, 0x0a, 0x0f, 0x50, 0x61, 0x79, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x42,
|
0x64, 0x65, 0x72, 0x52, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x22, 0x4f, 0x0a, 0x13, 0x50, 0x61,
|
||||||
0x75, 0x79, 0x52, 0x65, 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x73, 0x75, 0x63, 0x63, 0x18,
|
0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x65,
|
||||||
0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x69, 0x73, 0x75, 0x63, 0x63, 0x12, 0x21, 0x0a, 0x05,
|
0x71, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
|
||||||
0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x55, 0x73,
|
0x6f, 0x69, 0x64, 0x12, 0x26, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01,
|
||||||
0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22,
|
0x28, 0x0e, 0x32, 0x10, 0x2e, 0x44, 0x42, 0x50, 0x61, 0x79, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x53,
|
||||||
0x7f, 0x0a, 0x0e, 0x50, 0x61, 0x79, 0x53, 0x68, 0x69, 0x70, 0x70, 0x65, 0x64, 0x50, 0x75, 0x73,
|
0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x22, 0x28, 0x0a, 0x14, 0x50,
|
||||||
0x68, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
|
0x61, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52,
|
||||||
0x70, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x69, 0x64, 0x18, 0x02,
|
0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
||||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x69, 0x64, 0x12, 0x21, 0x0a,
|
0x52, 0x03, 0x6f, 0x69, 0x64, 0x22, 0x0e, 0x0a, 0x0c, 0x50, 0x61, 0x79, 0x52, 0x65, 0x63, 0x6f,
|
||||||
0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x55,
|
0x72, 0x64, 0x52, 0x65, 0x71, 0x22, 0x2f, 0x0a, 0x0d, 0x50, 0x61, 0x79, 0x52, 0x65, 0x63, 0x6f,
|
||||||
0x73, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73,
|
0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1e, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01,
|
||||||
0x12, 0x1e, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a,
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x44, 0x42, 0x55, 0x73, 0x65, 0x72, 0x50, 0x61, 0x79,
|
||||||
0x2e, 0x44, 0x42, 0x55, 0x73, 0x65, 0x72, 0x50, 0x61, 0x79, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f,
|
0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x0c, 0x0a, 0x0a, 0x50, 0x61, 0x79, 0x49, 0x6e, 0x66,
|
||||||
0x22, 0x88, 0x01, 0x0a, 0x0e, 0x50, 0x61, 0x79, 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79,
|
0x6f, 0x52, 0x65, 0x71, 0x22, 0x2e, 0x0a, 0x0b, 0x50, 0x61, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52,
|
||||||
0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
0x65, 0x73, 0x70, 0x12, 0x1f, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||||
0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x69, 0x64,
|
0x0b, 0x32, 0x0b, 0x2e, 0x44, 0x42, 0x50, 0x61, 0x79, 0x44, 0x61, 0x69, 0x6c, 0x79, 0x52, 0x04,
|
||||||
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x69, 0x64, 0x12,
|
0x69, 0x6e, 0x66, 0x6f, 0x22, 0x20, 0x0a, 0x0e, 0x50, 0x61, 0x79, 0x44, 0x61, 0x69, 0x6c, 0x79,
|
||||||
0x1c, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01,
|
0x42, 0x75, 0x79, 0x52, 0x65, 0x71, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
|
||||||
0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x64, 0x12, 0x14, 0x0a,
|
0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x22, 0x4a, 0x0a, 0x0f, 0x50, 0x61, 0x79, 0x44, 0x61, 0x69,
|
||||||
0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x70, 0x72,
|
0x6c, 0x79, 0x42, 0x75, 0x79, 0x52, 0x65, 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x73, 0x75,
|
||||||
0x69, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20,
|
0x63, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x69, 0x73, 0x75, 0x63, 0x63, 0x12,
|
||||||
0x01, 0x28, 0x05, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x57, 0x0a, 0x0f, 0x50,
|
0x21, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b,
|
||||||
0x61, 0x79, 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1e,
|
0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x05, 0x69, 0x74, 0x65,
|
||||||
0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0a, 0x2e, 0x45,
|
0x6d, 0x73, 0x22, 0x76, 0x0a, 0x0e, 0x50, 0x61, 0x79, 0x53, 0x68, 0x69, 0x70, 0x70, 0x65, 0x64,
|
||||||
0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x10,
|
0x50, 0x75, 0x73, 0x68, 0x12, 0x21, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20,
|
||||||
0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67,
|
0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x44, 0x42, 0x50, 0x61, 0x79, 0x4f, 0x72, 0x64, 0x65, 0x72,
|
||||||
0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
|
0x52, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x21, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73,
|
||||||
0x64, 0x61, 0x74, 0x61, 0x22, 0x29, 0x0a, 0x11, 0x50, 0x61, 0x79, 0x47, 0x65, 0x74, 0x41, 0x63,
|
0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x73, 0x73,
|
||||||
0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x74, 0x79,
|
0x65, 0x74, 0x73, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x1e, 0x0a, 0x04, 0x69, 0x6e,
|
||||||
0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x61, 0x74, 0x79, 0x70, 0x65, 0x22,
|
0x66, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x44, 0x42, 0x55, 0x73, 0x65,
|
||||||
0x3e, 0x0a, 0x12, 0x50, 0x61, 0x79, 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74,
|
0x72, 0x50, 0x61, 0x79, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x88, 0x01, 0x0a, 0x0e, 0x50,
|
||||||
0x79, 0x52, 0x65, 0x73, 0x70, 0x12, 0x28, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20,
|
0x61, 0x79, 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a,
|
||||||
0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x47, 0x69,
|
0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12,
|
||||||
0x66, 0x74, 0x62, 0x61, 0x67, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22,
|
0x18, 0x0a, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
||||||
0x23, 0x0a, 0x11, 0x50, 0x61, 0x79, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x42, 0x75,
|
0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x72, 0x6f,
|
||||||
0x79, 0x52, 0x65, 0x71, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
|
0x64, 0x75, 0x63, 0x74, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72,
|
||||||
0x52, 0x02, 0x69, 0x64, 0x22, 0x4a, 0x0a, 0x0f, 0x50, 0x61, 0x79, 0x41, 0x63, 0x74, 0x69, 0x76,
|
0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65,
|
||||||
0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x73, 0x75, 0x63, 0x63,
|
0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x16, 0x0a,
|
||||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x69, 0x73, 0x75, 0x63, 0x63, 0x12, 0x21, 0x0a,
|
0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x61,
|
||||||
0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x55,
|
0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x57, 0x0a, 0x0f, 0x50, 0x61, 0x79, 0x44, 0x65, 0x6c, 0x69,
|
||||||
0x73, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73,
|
0x76, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1e, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65,
|
||||||
0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0a, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f,
|
||||||
|
0x64, 0x65, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18,
|
||||||
|
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61,
|
||||||
|
0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x29,
|
||||||
|
0x0a, 0x11, 0x50, 0x61, 0x79, 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79,
|
||||||
|
0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01,
|
||||||
|
0x28, 0x05, 0x52, 0x05, 0x61, 0x74, 0x79, 0x70, 0x65, 0x22, 0x3e, 0x0a, 0x12, 0x50, 0x61, 0x79,
|
||||||
|
0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x12,
|
||||||
|
0x28, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 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, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x23, 0x0a, 0x11, 0x50, 0x61, 0x79,
|
||||||
|
0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x42, 0x75, 0x79, 0x52, 0x65, 0x71, 0x12, 0x0e,
|
||||||
|
0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x22, 0x4a,
|
||||||
|
0x0a, 0x0f, 0x50, 0x61, 0x79, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73,
|
||||||
|
0x70, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x73, 0x75, 0x63, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08,
|
||||||
|
0x52, 0x05, 0x69, 0x73, 0x75, 0x63, 0x63, 0x12, 0x21, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73,
|
||||||
|
0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x73, 0x73,
|
||||||
|
0x65, 0x74, 0x73, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b,
|
||||||
|
0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
@ -783,41 +1009,52 @@ func file_pay_pay_msg_proto_rawDescGZIP() []byte {
|
|||||||
return file_pay_pay_msg_proto_rawDescData
|
return file_pay_pay_msg_proto_rawDescData
|
||||||
}
|
}
|
||||||
|
|
||||||
var file_pay_pay_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
|
var file_pay_pay_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 17)
|
||||||
var file_pay_pay_msg_proto_goTypes = []interface{}{
|
var file_pay_pay_msg_proto_goTypes = []interface{}{
|
||||||
(*PayRecordReq)(nil), // 0: PayRecordReq
|
(*PayCreateOrderReq)(nil), // 0: PayCreateOrderReq
|
||||||
(*PayRecordResp)(nil), // 1: PayRecordResp
|
(*PayCreateOrderResp)(nil), // 1: PayCreateOrderResp
|
||||||
(*PayInfoReq)(nil), // 2: PayInfoReq
|
(*PayResponseOrderReq)(nil), // 2: PayResponseOrderReq
|
||||||
(*PayInfoResp)(nil), // 3: PayInfoResp
|
(*PayResponseOrderResp)(nil), // 3: PayResponseOrderResp
|
||||||
(*PayDailyBuyReq)(nil), // 4: PayDailyBuyReq
|
(*PayRecordReq)(nil), // 4: PayRecordReq
|
||||||
(*PayDailyBuyResp)(nil), // 5: PayDailyBuyResp
|
(*PayRecordResp)(nil), // 5: PayRecordResp
|
||||||
(*PayShippedPush)(nil), // 6: PayShippedPush
|
(*PayInfoReq)(nil), // 6: PayInfoReq
|
||||||
(*PayDeliveryReq)(nil), // 7: PayDeliveryReq
|
(*PayInfoResp)(nil), // 7: PayInfoResp
|
||||||
(*PayDeliveryResp)(nil), // 8: PayDeliveryResp
|
(*PayDailyBuyReq)(nil), // 8: PayDailyBuyReq
|
||||||
(*PayGetActivityReq)(nil), // 9: PayGetActivityReq
|
(*PayDailyBuyResp)(nil), // 9: PayDailyBuyResp
|
||||||
(*PayGetActivityResp)(nil), // 10: PayGetActivityResp
|
(*PayShippedPush)(nil), // 10: PayShippedPush
|
||||||
(*PayActivityBuyReq)(nil), // 11: PayActivityBuyReq
|
(*PayDeliveryReq)(nil), // 11: PayDeliveryReq
|
||||||
(*PayActivityResp)(nil), // 12: PayActivityResp
|
(*PayDeliveryResp)(nil), // 12: PayDeliveryResp
|
||||||
(*DBUserPay)(nil), // 13: DBUserPay
|
(*PayGetActivityReq)(nil), // 13: PayGetActivityReq
|
||||||
(*DBPayDaily)(nil), // 14: DBPayDaily
|
(*PayGetActivityResp)(nil), // 14: PayGetActivityResp
|
||||||
(*UserAssets)(nil), // 15: UserAssets
|
(*PayActivityBuyReq)(nil), // 15: PayActivityBuyReq
|
||||||
(ErrorCode)(0), // 16: ErrorCode
|
(*PayActivityResp)(nil), // 16: PayActivityResp
|
||||||
(*ActivityGiftbagItem)(nil), // 17: ActivityGiftbagItem
|
(DBPayType)(0), // 17: DBPayType
|
||||||
|
(*DBPayOrder)(nil), // 18: DBPayOrder
|
||||||
|
(DBPayOrderState)(0), // 19: DBPayOrderState
|
||||||
|
(*DBUserPay)(nil), // 20: DBUserPay
|
||||||
|
(*DBPayDaily)(nil), // 21: DBPayDaily
|
||||||
|
(*UserAssets)(nil), // 22: UserAssets
|
||||||
|
(ErrorCode)(0), // 23: ErrorCode
|
||||||
|
(*ActivityGiftbagItem)(nil), // 24: ActivityGiftbagItem
|
||||||
}
|
}
|
||||||
var file_pay_pay_msg_proto_depIdxs = []int32{
|
var file_pay_pay_msg_proto_depIdxs = []int32{
|
||||||
13, // 0: PayRecordResp.info:type_name -> DBUserPay
|
17, // 0: PayCreateOrderReq.ptype:type_name -> DBPayType
|
||||||
14, // 1: PayInfoResp.info:type_name -> DBPayDaily
|
18, // 1: PayCreateOrderResp.order:type_name -> DBPayOrder
|
||||||
15, // 2: PayDailyBuyResp.items:type_name -> UserAssets
|
19, // 2: PayResponseOrderReq.State:type_name -> DBPayOrderState
|
||||||
15, // 3: PayShippedPush.items:type_name -> UserAssets
|
20, // 3: PayRecordResp.info:type_name -> DBUserPay
|
||||||
13, // 4: PayShippedPush.info:type_name -> DBUserPay
|
21, // 4: PayInfoResp.info:type_name -> DBPayDaily
|
||||||
16, // 5: PayDeliveryResp.code:type_name -> ErrorCode
|
22, // 5: PayDailyBuyResp.items:type_name -> UserAssets
|
||||||
17, // 6: PayGetActivityResp.info:type_name -> ActivityGiftbagItem
|
18, // 6: PayShippedPush.order:type_name -> DBPayOrder
|
||||||
15, // 7: PayActivityResp.items:type_name -> UserAssets
|
22, // 7: PayShippedPush.items:type_name -> UserAssets
|
||||||
8, // [8:8] is the sub-list for method output_type
|
20, // 8: PayShippedPush.info:type_name -> DBUserPay
|
||||||
8, // [8:8] is the sub-list for method input_type
|
23, // 9: PayDeliveryResp.code:type_name -> ErrorCode
|
||||||
8, // [8:8] is the sub-list for extension type_name
|
24, // 10: PayGetActivityResp.info:type_name -> ActivityGiftbagItem
|
||||||
8, // [8:8] is the sub-list for extension extendee
|
22, // 11: PayActivityResp.items:type_name -> UserAssets
|
||||||
0, // [0:8] is the sub-list for field type_name
|
12, // [12:12] is the sub-list for method output_type
|
||||||
|
12, // [12:12] is the sub-list for method input_type
|
||||||
|
12, // [12:12] is the sub-list for extension type_name
|
||||||
|
12, // [12:12] is the sub-list for extension extendee
|
||||||
|
0, // [0:12] is the sub-list for field type_name
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() { file_pay_pay_msg_proto_init() }
|
func init() { file_pay_pay_msg_proto_init() }
|
||||||
@ -830,7 +1067,7 @@ func file_pay_pay_msg_proto_init() {
|
|||||||
file_errorcode_proto_init()
|
file_errorcode_proto_init()
|
||||||
if !protoimpl.UnsafeEnabled {
|
if !protoimpl.UnsafeEnabled {
|
||||||
file_pay_pay_msg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
file_pay_pay_msg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*PayRecordReq); i {
|
switch v := v.(*PayCreateOrderReq); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
case 1:
|
case 1:
|
||||||
@ -842,7 +1079,7 @@ func file_pay_pay_msg_proto_init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_pay_pay_msg_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
file_pay_pay_msg_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*PayRecordResp); i {
|
switch v := v.(*PayCreateOrderResp); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
case 1:
|
case 1:
|
||||||
@ -854,7 +1091,7 @@ func file_pay_pay_msg_proto_init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_pay_pay_msg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
file_pay_pay_msg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*PayInfoReq); i {
|
switch v := v.(*PayResponseOrderReq); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
case 1:
|
case 1:
|
||||||
@ -866,7 +1103,7 @@ func file_pay_pay_msg_proto_init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_pay_pay_msg_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
file_pay_pay_msg_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*PayInfoResp); i {
|
switch v := v.(*PayResponseOrderResp); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
case 1:
|
case 1:
|
||||||
@ -878,7 +1115,7 @@ func file_pay_pay_msg_proto_init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_pay_pay_msg_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
file_pay_pay_msg_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*PayDailyBuyReq); i {
|
switch v := v.(*PayRecordReq); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
case 1:
|
case 1:
|
||||||
@ -890,7 +1127,7 @@ func file_pay_pay_msg_proto_init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_pay_pay_msg_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
file_pay_pay_msg_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*PayDailyBuyResp); i {
|
switch v := v.(*PayRecordResp); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
case 1:
|
case 1:
|
||||||
@ -902,7 +1139,7 @@ func file_pay_pay_msg_proto_init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_pay_pay_msg_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
file_pay_pay_msg_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*PayShippedPush); i {
|
switch v := v.(*PayInfoReq); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
case 1:
|
case 1:
|
||||||
@ -914,7 +1151,7 @@ func file_pay_pay_msg_proto_init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_pay_pay_msg_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
file_pay_pay_msg_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*PayDeliveryReq); i {
|
switch v := v.(*PayInfoResp); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
case 1:
|
case 1:
|
||||||
@ -926,7 +1163,7 @@ func file_pay_pay_msg_proto_init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_pay_pay_msg_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
file_pay_pay_msg_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*PayDeliveryResp); i {
|
switch v := v.(*PayDailyBuyReq); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
case 1:
|
case 1:
|
||||||
@ -938,7 +1175,7 @@ func file_pay_pay_msg_proto_init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_pay_pay_msg_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
file_pay_pay_msg_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*PayGetActivityReq); i {
|
switch v := v.(*PayDailyBuyResp); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
case 1:
|
case 1:
|
||||||
@ -950,7 +1187,7 @@ func file_pay_pay_msg_proto_init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_pay_pay_msg_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
file_pay_pay_msg_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*PayGetActivityResp); i {
|
switch v := v.(*PayShippedPush); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
case 1:
|
case 1:
|
||||||
@ -962,7 +1199,7 @@ func file_pay_pay_msg_proto_init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_pay_pay_msg_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
file_pay_pay_msg_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*PayActivityBuyReq); i {
|
switch v := v.(*PayDeliveryReq); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
case 1:
|
case 1:
|
||||||
@ -974,6 +1211,54 @@ func file_pay_pay_msg_proto_init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_pay_pay_msg_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
file_pay_pay_msg_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*PayDeliveryResp); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
file_pay_pay_msg_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*PayGetActivityReq); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
file_pay_pay_msg_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*PayGetActivityResp); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
file_pay_pay_msg_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*PayActivityBuyReq); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
file_pay_pay_msg_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*PayActivityResp); i {
|
switch v := v.(*PayActivityResp); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@ -992,7 +1277,7 @@ func file_pay_pay_msg_proto_init() {
|
|||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||||
RawDescriptor: file_pay_pay_msg_proto_rawDesc,
|
RawDescriptor: file_pay_pay_msg_proto_rawDesc,
|
||||||
NumEnums: 0,
|
NumEnums: 0,
|
||||||
NumMessages: 13,
|
NumMessages: 17,
|
||||||
NumExtensions: 0,
|
NumExtensions: 0,
|
||||||
NumServices: 0,
|
NumServices: 0,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user