Bladeren bron

update 牛贝积分

tags/v4.2.9
DengBiao 2 jaren geleden
bovenliggende
commit
dcea0e5906
2 gewijzigde bestanden met toevoegingen van 6 en 2 verwijderingen
  1. +4
    -0
      md/block_star_chain.go
  2. +2
    -2
      rule/niu_bei_release_settlement.go

+ 4
- 0
md/block_star_chain.go Bestand weergeven

@@ -85,6 +85,10 @@ const (
OperationCenterAndDestroyStaticContributionTransferTypeForUserVirtualCoinFlow = 120 // 区块星链-运营中心发放(销毁静态贡献值)
OtherAndDestroyStaticContributionTransferTypeForUserVirtualCoinFlow = 121 // 区块星链-其他发放(销毁静态贡献值)
GroupSpellRewardTransferTypeForUserVirtualCoinFlow = 122
AdminOperationHJFAddTransferTypeForUserVirtualCoinFlow = 123 //管理员操作HJF-增加
AdminOperationHJFSubTransferTypeForUserVirtualCoinFlow = 124 //管理员操作HJF-减少
UserWithdrawalHJFTransferTypeForUserVirtualCoinFlow = 126 //用户提现HJF
UserWithdrawalHJFRejectedTransferTypeForUserVirtualCoinFlow = 127 //拒绝用户提现HJF

BlockGreenChainConsumeAreaDistributionTransferTypeForUserVirtualCoinFlow = 130 // 绿色积分-消费区发放
BlockGreenChainAirdropAreaDistributionTransferTypeForUserVirtualCoinFlow = 131 // 绿色积分-空投区发放


+ 2
- 2
rule/niu_bei_release_settlement.go Bestand weergeven

@@ -266,7 +266,7 @@ func ReleaseNiuBeiCoinForUser(session *xorm.Session, mid string, niuBeiRelease *
Title: md.NiuBeiCoinByReleaseCouponCoinNumTitleForUserVirtualCoinFlow,
TransferType: md.NiuBeiCoinByReleaseCouponCoinNumTransferTypeForUserVirtualCoinFlow,
OrdId: ord.OrdId,
CoinId: niuBeiRelease.Coin2,
CoinId: niuBeiRelease.Coin3,
Uid: ord.Uid,
Amount: zhios_order_relate_utils.StrToFloat64(resp.ReleaseCouponCoinNum),
})
@@ -296,7 +296,7 @@ func ReleaseNiuBeiCoinForUser(session *xorm.Session, mid string, niuBeiRelease *
Title: md.NiuBeiCoinByReleaseOptionCoinNumTitleForUserVirtualCoinFlow,
TransferType: md.NiuBeiCoinByReleaseOptionCoinNumTransferTypeForUserVirtualCoinFlow,
OrdId: ord.OrdId,
CoinId: niuBeiRelease.Coin2,
CoinId: niuBeiRelease.Coin4,
Uid: ord.Uid,
Amount: zhios_order_relate_utils.StrToFloat64(resp.ReleaseOptionCoinNum),
})


Laden…
Annuleren
Opslaan