From dcea0e590668f33cc9683c2e7f2e168f71865eb1 Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Sat, 24 Dec 2022 11:43:11 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E7=89=9B=E8=B4=9D=E7=A7=AF=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- md/block_star_chain.go | 4 ++++ rule/niu_bei_release_settlement.go | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/md/block_star_chain.go b/md/block_star_chain.go index c95f48b..cc638b9 100644 --- a/md/block_star_chain.go +++ b/md/block_star_chain.go @@ -85,6 +85,10 @@ const ( OperationCenterAndDestroyStaticContributionTransferTypeForUserVirtualCoinFlow = 120 // 区块星链-运营中心发放(销毁静态贡献值) OtherAndDestroyStaticContributionTransferTypeForUserVirtualCoinFlow = 121 // 区块星链-其他发放(销毁静态贡献值) GroupSpellRewardTransferTypeForUserVirtualCoinFlow = 122 + AdminOperationHJFAddTransferTypeForUserVirtualCoinFlow = 123 //管理员操作HJF-增加 + AdminOperationHJFSubTransferTypeForUserVirtualCoinFlow = 124 //管理员操作HJF-减少 + UserWithdrawalHJFTransferTypeForUserVirtualCoinFlow = 126 //用户提现HJF + UserWithdrawalHJFRejectedTransferTypeForUserVirtualCoinFlow = 127 //拒绝用户提现HJF BlockGreenChainConsumeAreaDistributionTransferTypeForUserVirtualCoinFlow = 130 // 绿色积分-消费区发放 BlockGreenChainAirdropAreaDistributionTransferTypeForUserVirtualCoinFlow = 131 // 绿色积分-空投区发放 diff --git a/rule/niu_bei_release_settlement.go b/rule/niu_bei_release_settlement.go index 64cb939..6bf0361 100644 --- a/rule/niu_bei_release_settlement.go +++ b/rule/niu_bei_release_settlement.go @@ -266,7 +266,7 @@ func ReleaseNiuBeiCoinForUser(session *xorm.Session, mid string, niuBeiRelease * Title: md.NiuBeiCoinByReleaseCouponCoinNumTitleForUserVirtualCoinFlow, TransferType: md.NiuBeiCoinByReleaseCouponCoinNumTransferTypeForUserVirtualCoinFlow, OrdId: ord.OrdId, - CoinId: niuBeiRelease.Coin2, + CoinId: niuBeiRelease.Coin3, Uid: ord.Uid, Amount: zhios_order_relate_utils.StrToFloat64(resp.ReleaseCouponCoinNum), }) @@ -296,7 +296,7 @@ func ReleaseNiuBeiCoinForUser(session *xorm.Session, mid string, niuBeiRelease * Title: md.NiuBeiCoinByReleaseOptionCoinNumTitleForUserVirtualCoinFlow, TransferType: md.NiuBeiCoinByReleaseOptionCoinNumTransferTypeForUserVirtualCoinFlow, OrdId: ord.OrdId, - CoinId: niuBeiRelease.Coin2, + CoinId: niuBeiRelease.Coin4, Uid: ord.Uid, Amount: zhios_order_relate_utils.StrToFloat64(resp.ReleaseOptionCoinNum), })