From f84663166effca963b8a9576d69621ea2ef0c43d Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Tue, 6 Sep 2022 22:57:13 +0800 Subject: [PATCH] =?UTF-8?q?add=20=E5=8C=BA=E5=9D=97=E6=98=9F=E9=93=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- md/block_star_chain.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/md/block_star_chain.go b/md/block_star_chain.go index 9b5dc9b..4a42866 100644 --- a/md/block_star_chain.go +++ b/md/block_star_chain.go @@ -28,6 +28,7 @@ const ( OnlineConsumeGroupRewardTitleForUserVirtualCoinFlow = "区块星链-线上消费团队奖励" OfflineConsumeBeRewardTitleForUserVirtualCoinFlow = "区块星链-线下消费被打赏" OfflineConsumeRewardTitleForUserVirtualCoinFlow = "区块星链-线下消费打赏" + OfflineConsumeRewardTitleForMerchantVirtualCoinFlow = "区块星链-线下消费打赏" ) const ( @@ -48,11 +49,13 @@ const ( OnlineConsumeGroupRewardTransferTypeForUserVirtualCoinFlow = 113 //区块星链-线上消费团队奖励 OfflineConsumeBeRewardTransferTypeForUserVirtualCoinFlow = 114 //区块星链-线下消费被打赏 OfflineConsumeRewardTransferTypeForUserVirtualCoinFlow = 115 //区块星链-线下消费打赏 + OfflineConsumeRewardTransferTypeForMerchantVirtualCoinFlow = 116 //区块星链-线下消费打赏(商家) ) const DealUserCoinRequestIdPrefix = "%s:block_star_chain_deal_user_coin:%d:uid:%d" -const RewardBaseMultiple = 10 //区块星链-打赏倍数 +const RewardBaseMultiple = 10 //区块星链-打赏倍数 +const RewardBaseMultipleForMerchant = 2 //区块星链-打赏倍数(商家) type DealUserCoinReq struct { Kind string `json:"kind"`