From b184345026a6c69dc1bf7458f741427a74d90dc9 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Sun, 9 Oct 2022 19:00:23 +0800 Subject: [PATCH] =?UTF-8?q?add=20reverse:for=20v3.4.8=20=E7=A7=AF=E5=88=86?= =?UTF-8?q?=E6=98=8E=E7=BB=86=E5=8A=A0=E5=85=A5=20=E6=B5=81=E6=B0=B4?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E4=B8=BA122?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- md/block_star_chain.go | 3 ++- rule/block_star_chain_settlement.go | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/md/block_star_chain.go b/md/block_star_chain.go index 6f71e97..a89aef4 100644 --- a/md/block_star_chain.go +++ b/md/block_star_chain.go @@ -33,7 +33,7 @@ const ( OfflineConsumeRewardTitleForMerchantVirtualCoinFlow = "区块星链-线下消费打赏(商家)" GroupLotteryAndDestroyTitleForUserVirtualCoinFlow = "区块星链-自营拼团抽奖销毁" GroupLotteryAndDirectPushRewardTitleForUserVirtualCoinFlow = "区块星链-自营拼团抽奖奖励(直推)" - GroupLotteryAndGroupRewardTitleForUserVirtualCoinFlow = "区块星链-自营拼团抽奖奖励(团队)" + GroupSpellRewardTitleForUserVirtualCoinFlow = "自营拼团拼中奖励" ) const ( @@ -60,6 +60,7 @@ const ( GroupLotteryAndGroupRewardTransferTypeForUserVirtualCoinFlow = 119 //区块星链-自营拼团抽奖奖励(团队) OperationCenterAndDestroyStaticContributionTransferTypeForUserVirtualCoinFlow = 120 // 区块星链-运营中心发放(销毁静态贡献值) OtherAndDestroyStaticContributionTransferTypeForUserVirtualCoinFlow = 121 // 区块星链-其他发放(销毁静态贡献值) + GroupSpellRewardTransferTypeForUserVirtualCoinFlow = 122 ) const DealUserCoinRequestIdPrefix = "%s:block_star_chain_deal_user_coin:%d:uid:%d" diff --git a/rule/block_star_chain_settlement.go b/rule/block_star_chain_settlement.go index 5c2d160..5bff7a0 100644 --- a/rule/block_star_chain_settlement.go +++ b/rule/block_star_chain_settlement.go @@ -829,6 +829,7 @@ func DealUserCoin(session *xorm.Session, req md.DealUserCoinReq) (err error) { userVirtualCoinFlow.TransferType = req.TransferType userVirtualCoinFlow.Uid = req.Uid userVirtualCoinFlow.ToUid = req.ToUid + userVirtualCoinFlow.OrdId = req.OrdId userVirtualCoinFlow.BeforeAmout = coinAmount userVirtualCoinFlow.Amout = amountValue.String() userVirtualCoinFlow.CreateTime = now