From 4ff343cbb6a1b2b277eae932223e2abb228f7e35 Mon Sep 17 00:00:00 2001 From: shenjiachi Date: Tue, 19 Nov 2024 14:10:05 +0800 Subject: [PATCH] update --- app/md/institutional_management/egg_energy/md_basic.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/md/institutional_management/egg_energy/md_basic.go b/app/md/institutional_management/egg_energy/md_basic.go index 4420c0a..a3d05ba 100644 --- a/app/md/institutional_management/egg_energy/md_basic.go +++ b/app/md/institutional_management/egg_energy/md_basic.go @@ -10,9 +10,9 @@ const ( type VirtualCoin struct { Id int `json:"id" ` - Name string `json:"name" ` // 名称 + Name string `json:"name" ` // 名称 ExchangeRatio string `json:"exchange_ratio" example:"兑换比例(与金额)"` // 兑换比例(与金额) - IsUse int `json:"is_use" ` // 是否开启: 0否 1是 + IsUse int `json:"is_use" ` // 是否开启: 0否 1是 CreateAt string `json:"create_at" ` UpdateAt string `json:"update_at" ` } @@ -37,7 +37,7 @@ type VideoRewardSetting struct { type DataSetting struct { TotalIssuanceAmount string `json:"total_issuance_amount" example:"总发行量"` // 总发行量 TotalTechnologyTeam string `json:"total_technology_team" example:"技术团队"` // 技术团队 - TotalAngelInvestor string `json:"total_angel_investor" example:"天使投资人"` // 天使投资人 + TotalAngelInvestor string `json:"total_angel_investor" example:"天使投资人"` // 天使投资人 TotalOperateFund string `json:"total_operate_fund" example:"运营资金"` // 运营资金 TotalEcologicalDevelopment string `json:"total_ecological_development" example:"当前价格"` // 生态建设 TotalTeamDividends string `json:"total_team_dividends" example:"团队分红"` // 团队分红 @@ -65,7 +65,7 @@ type UpdateEggEnergyBasicReq struct { DestructionSetting md.DestructionSettingStruct `json:"destruction_setting"` // 销毁设置 PriceSetting md.PriceSettingStruct `json:"price_setting"` // 价格设置 ExchangeRules md.ExchangeRulesStruct `json:"exchange_rules"` // 兑换规则 - RewardSystem md.RewardSystemStruct `json:"reward_system"` // 圈层奖励 + RewardSystem []md.RewardSystemStruct `json:"reward_system"` // 圈层奖励 NewUserIncentiveRules md.NewUserRewardRules `json:"new_user_incentive_rules"` // 新用户奖励规则 // 新用户奖励规则 } @@ -94,7 +94,7 @@ type GetEggCoreDataListResp struct { PlanetTotalValue string `json:"planet_total_value" example:"星球价值"` // 星球价值 NowPrice string `json:"now_price" example:"当前价格"` // 当前价格 NowEnergyTotalNums string `json:"now_energy_total_nums" example:"现行总量"` // 现行总量 - UserHoldTotalNums map[string]string `json:"user_hold_total_nums"` // 用户持有总量 + UserHoldTotalNums map[string]string `json:"user_hold_total_nums"` // 用户持有总量 } type GetPriceCurveResp struct {