Sfoglia il codice sorgente

update 绿色积分

tags/v3.7.5
DengBiao 1 anno fa
parent
commit
0242f98de7
1 ha cambiato i file con 6 aggiunte e 5 eliminazioni
  1. +6
    -5
      rule/block_green_chain_settlement.go

+ 6
- 5
rule/block_green_chain_settlement.go Vedi File

@@ -144,11 +144,12 @@ func DailySettlementBlockGreenChain(engine *xorm.Engine, mid string, isTask bool
}

//5、进行空投区-区块币统计分配
err, destroyCoinForAirdrop := statisticsAndDistributeCoinForAirdrop(session, mid, airdropAreaCoinNums, blockGreenChain)
if err != nil {
_ = session.Rollback()
return err
}
destroyCoinForAirdrop := 3522.00
//err, destroyCoinForAirdrop := statisticsAndDistributeCoinForAirdrop(session, mid, airdropAreaCoinNums, blockGreenChain)
//if err != nil {
// _ = session.Rollback()
// return err
//}

//6、插入 block_star_chain_settlement_records 记录
var blockGreenChainSettlementRecords = model.BlockGreenChainSettlementRecords{


Caricamento…
Annulla
Salva