Browse Source

add 区块星链

tags/v2.2.3
DengBiao 2 years ago
parent
commit
f84663166e
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      md/block_star_chain.go

+ 4
- 1
md/block_star_chain.go View File

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


Loading…
Cancel
Save