Kaynağa Gözat

add reverse:for v3.4.8 积分明细加入 流水类型为122

tags/v3.4.8
huangjiajun 2 yıl önce
ebeveyn
işleme
b184345026
2 değiştirilmiş dosya ile 3 ekleme ve 1 silme
  1. +2
    -1
      md/block_star_chain.go
  2. +1
    -0
      rule/block_star_chain_settlement.go

+ 2
- 1
md/block_star_chain.go Dosyayı Görüntüle

@@ -33,7 +33,7 @@ const (
OfflineConsumeRewardTitleForMerchantVirtualCoinFlow = "区块星链-线下消费打赏(商家)"
GroupLotteryAndDestroyTitleForUserVirtualCoinFlow = "区块星链-自营拼团抽奖销毁"
GroupLotteryAndDirectPushRewardTitleForUserVirtualCoinFlow = "区块星链-自营拼团抽奖奖励(直推)"
GroupLotteryAndGroupRewardTitleForUserVirtualCoinFlow = "区块星链-自营拼团抽奖奖励(团队)"
GroupSpellRewardTitleForUserVirtualCoinFlow = "自营拼团拼中奖励"
)

const (
@@ -60,6 +60,7 @@ const (
GroupLotteryAndGroupRewardTransferTypeForUserVirtualCoinFlow = 119 //区块星链-自营拼团抽奖奖励(团队)
OperationCenterAndDestroyStaticContributionTransferTypeForUserVirtualCoinFlow = 120 // 区块星链-运营中心发放(销毁静态贡献值)
OtherAndDestroyStaticContributionTransferTypeForUserVirtualCoinFlow = 121 // 区块星链-其他发放(销毁静态贡献值)
GroupSpellRewardTransferTypeForUserVirtualCoinFlow = 122
)

const DealUserCoinRequestIdPrefix = "%s:block_star_chain_deal_user_coin:%d:uid:%d"


+ 1
- 0
rule/block_star_chain_settlement.go Dosyayı Görüntüle

@@ -829,6 +829,7 @@ func DealUserCoin(session *xorm.Session, req md.DealUserCoinReq) (err error) {
userVirtualCoinFlow.TransferType = req.TransferType
userVirtualCoinFlow.Uid = req.Uid
userVirtualCoinFlow.ToUid = req.ToUid
userVirtualCoinFlow.OrdId = req.OrdId
userVirtualCoinFlow.BeforeAmout = coinAmount
userVirtualCoinFlow.Amout = amountValue.String()
userVirtualCoinFlow.CreateTime = now


Yükleniyor…
İptal
Kaydet