|
|
@@ -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"` |
|
|
|