diff --git a/src/model/egg_energy_basic_setting.go b/src/model/egg_energy_basic_setting.go index bb38b26..e6208ac 100644 --- a/src/model/egg_energy_basic_setting.go +++ b/src/model/egg_energy_basic_setting.go @@ -13,10 +13,10 @@ type EggEnergyBasicSetting struct { TotalAngelInvestor string `json:"total_angel_investor" xorm:"not null pk comment('天使投资人') DECIMAL(28,8)"` TotalOperateFund string `json:"total_operate_fund" xorm:"not null comment('运营资金') DECIMAL(28,8)"` TotalEcologicalDevelopment string `json:"total_ecological_development" xorm:"not null comment('生态建设') DECIMAL(28,8)"` - TotalTeamDividends string `json:"total_team_dividends" xorm:"not null comment('团队分红') DECIMAL(28,8)"` TotalUserForPerson string `json:"total_user_for_person" xorm:"not null comment('个人区域') DECIMAL(28,8)"` TotalUserForTeam string `json:"total_user_for_team" xorm:"not null comment('团队区域') DECIMAL(28,8)"` - InitialPrice string `json:"initial_price" xorm:"not null comment('初始价格') DECIMAL(28,8)"` + InitialPrice string `json:"initial_price" xorm:"not null comment('初始价格') DECIMAL(30,16)"` + TotalTeamDividends string `json:"total_team_dividends" xorm:"comment('团队分红') DECIMAL(28,8)"` DestructionSetting string `json:"destruction_setting" xorm:"not null comment('销毁设置') TEXT"` IsLimitDividend int `json:"is_limit_dividend" xorm:"not null default 1 comment('是否限制分红(会员本人不活跃,没有星级能量分红)') TINYINT(1)"` SettlementQuantity int `json:"settlement_quantity" xorm:"not null default 0 comment('结算数量(百分比)') INT(11)"` diff --git a/src/model/egg_energy_core_data.go b/src/model/egg_energy_core_data.go index d2e018a..dfc2394 100644 --- a/src/model/egg_energy_core_data.go +++ b/src/model/egg_energy_core_data.go @@ -2,7 +2,7 @@ package model type EggEnergyCoreData struct { Id int `json:"id" xorm:"not null pk autoincr INT(11)"` - NowPrice string `json:"now_price" xorm:"not null comment('当前价格') DECIMAL(28,8)"` + NowPrice string `json:"now_price" xorm:"not null comment('当前价格') DECIMAL(30,16)"` PlanetTotalValue string `json:"planet_total_value" xorm:"not null comment('星球总价值') DECIMAL(28,8)"` NowEnergyTotalNums string `json:"now_energy_total_nums" xorm:"not null comment('现行总量') DECIMAL(28,8)"` MarketplaceMerchantNums string `json:"marketplace_merchant_nums" xorm:"not null comment('市商数量') DECIMAL(28,8)"` diff --git a/src/model/egg_energy_price.go b/src/model/egg_energy_price.go index 75fa1db..6bb9abe 100644 --- a/src/model/egg_energy_price.go +++ b/src/model/egg_energy_price.go @@ -2,7 +2,7 @@ package model type EggEnergyPrice struct { Id int64 `json:"id" xorm:"pk autoincr BIGINT(20)"` - Price string `json:"price" xorm:"not null default 0.0000000000 comment('价格') DECIMAL(28,10)"` + Price string `json:"price" xorm:"not null default 0.0000000000000000 comment('价格') DECIMAL(30,16)"` Date string `json:"date" xorm:"not null default '0000-00-00' comment('日期') CHAR(50)"` Hour string `json:"hour" xorm:"not null default '00' comment('小时') CHAR(50)"` }