|
@@ -462,7 +462,22 @@ func DealAvailableGreenEnergyCoin(session *xorm.Session, kind int, amount, amoun |
|
|
if chain.NowPrice != nowPriceValue { |
|
|
if chain.NowPrice != nowPriceValue { |
|
|
chain.NowPrice = nowPriceValue |
|
|
chain.NowPrice = nowPriceValue |
|
|
} |
|
|
} |
|
|
_, err := db.OneCirclesGreenEnergyBasicSettingUpdate(session, chain.Id, chain) |
|
|
|
|
|
|
|
|
_, err := db.OneCirclesGreenEnergyBasicSettingUpdate(session, chain.Id, chain, |
|
|
|
|
|
"ecological_application", |
|
|
|
|
|
"total_technology_team", |
|
|
|
|
|
"total_operate_team", |
|
|
|
|
|
"total_active_giveaways", |
|
|
|
|
|
"original_quantity_nums", |
|
|
|
|
|
"now_price", |
|
|
|
|
|
"original_funds", |
|
|
|
|
|
"marketplace_merchant_nums", |
|
|
|
|
|
"marketplace_merchant_funds", |
|
|
|
|
|
"development_committee", |
|
|
|
|
|
"public_welfare_and_charity", |
|
|
|
|
|
"star_level_dividends", |
|
|
|
|
|
"community_dividends", |
|
|
|
|
|
"destruction_quantity_nums", |
|
|
|
|
|
) |
|
|
if err != nil { |
|
|
if err != nil { |
|
|
return err |
|
|
return err |
|
|
} |
|
|
} |
|
|