瀏覽代碼

add 区块星链

tags/v2.2.3
DengBiao 2 年之前
父節點
當前提交
f84663166e
共有 1 個檔案被更改,包括 4 行新增1 行删除
  1. +4
    -1
      md/block_star_chain.go

+ 4
- 1
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"`


Loading…
取消
儲存