From 19af90775a55a86a8383ba8e5585abfc32c90904 Mon Sep 17 00:00:00 2001 From: shenjiachi Date: Fri, 22 Nov 2024 09:45:20 +0800 Subject: [PATCH] update --- .../egg_energy/md_available_energy.go | 52 +++++++++---------- docs/docs.go | 26 ++++++++++ docs/swagger.json | 26 ++++++++++ docs/swagger.yaml | 26 ++++++++++ 4 files changed, 104 insertions(+), 26 deletions(-) diff --git a/app/md/institutional_management/egg_energy/md_available_energy.go b/app/md/institutional_management/egg_energy/md_available_energy.go index 9113e61..099a055 100644 --- a/app/md/institutional_management/egg_energy/md_available_energy.go +++ b/app/md/institutional_management/egg_energy/md_available_energy.go @@ -10,34 +10,34 @@ type DynamicDataFlowListReq struct { type EggEnergyAvailableEnergyFlow struct { Id int64 `json:"id"` - Kind int `json:"kind"` - Title string `json:"title"` - BeforePrice string `json:"before_price"` - AfterPrice string `json:"after_price"` - Amount string `json:"amount"` - BeforeNowEnergyTotalNums string `json:"before_now_energy_total_nums"` - AfterNowEnergyTotalNums string `json:"after_now_energy_total_nums"` - AfterPlanetTotalValue string `json:"after_planet_total_value"` - BeforePlanetTotalValue string `json:"before_planet_total_value"` - BeforeMarketplaceMerchantValues string `json:"before_marketplace_merchant_values"` - AfterMarketplaceMerchantValues string `json:"after_marketplace_merchant_values"` - BeforeMarketplaceMerchantFundValues string `json:"before_marketplace_merchant_fund_values"` - AfterMarketplaceMerchantFundValues string `json:"after_marketplace_merchant_fund_values"` - BeforeDevelopmentCommitteeValues string `json:"before_development_committee_values"` - AfterDevelopmentCommitteeValues string `json:"after_development_committee_values"` - BeforePublicWelfareAndCharityValues string `json:"before_public_welfare_and_charity_values"` - AfterPublicWelfareAndCharityValues string `json:"after_public_welfare_and_charity_values"` - BeforeStarLevelDividendsValues string `json:"before_star_level_dividends_values"` - AfterStarLevelDividendsValues string `json:"after_star_level_dividends_values"` - BeforeDestructionQuantityValues string `json:"before_destruction_quantity_values"` - AfterDestructionQuantityValues string `json:"after_destruction_quantity_values"` - BeforeCommunityDividends string `json:"before_community_dividends"` - AfterCommunityDividends string `json:"after_community_dividends"` - CreateTime string `json:"create_time"` + Kind int `json:"kind"` // 种类 + Title string `json:"title"` // 标题 + BeforePrice string `json:"before_price"` // 变更前-价格 + AfterPrice string `json:"after_price"` // 变更后-价格 + Amount string `json:"amount"` // 变更数量 + BeforeNowEnergyTotalNums string `json:"before_now_energy_total_nums"` // 变更前-现行总量 + AfterNowEnergyTotalNums string `json:"after_now_energy_total_nums"` // 变更后-现行总量 + AfterPlanetTotalValue string `json:"after_planet_total_value"` // 变更后-星球总价值 + BeforePlanetTotalValue string `json:"before_planet_total_value"` // 变更前-星球总价值 + BeforeMarketplaceMerchantValues string `json:"before_marketplace_merchant_values"` // 变更前-市商区块币数量 + AfterMarketplaceMerchantValues string `json:"after_marketplace_merchant_values"` // 变更后-市商区块币数量 + BeforeMarketplaceMerchantFundValues string `json:"before_marketplace_merchant_fund_values"` // 变更前-市商资金值 + AfterMarketplaceMerchantFundValues string `json:"after_marketplace_merchant_fund_values"` // 变更后-市商资金值 + BeforeDevelopmentCommitteeValues string `json:"before_development_committee_values"` // 变更前-发展委员会区块币数量 + AfterDevelopmentCommitteeValues string `json:"after_development_committee_values"` // 变更后-发展委员会区块币数量 + BeforePublicWelfareAndCharityValues string `json:"before_public_welfare_and_charity_values"` // 变更前-公益慈善区块币数量 + AfterPublicWelfareAndCharityValues string `json:"after_public_welfare_and_charity_values"` // 变更后-公益慈善区块币数量 + BeforeStarLevelDividendsValues string `json:"before_star_level_dividends_values"` // 变更前-星级分红区块币数量 + AfterStarLevelDividendsValues string `json:"after_star_level_dividends_values"` // 变更后-星级分红区块币数量 + BeforeDestructionQuantityValues string `json:"before_destruction_quantity_values"` // 变更前-销毁区块币数量 + AfterDestructionQuantityValues string `json:"after_destruction_quantity_values"` // 变更后-销毁区块币数量 + BeforeCommunityDividends string `json:"before_community_dividends"` // 变更前-社区分红区块币数量 + AfterCommunityDividends string `json:"after_community_dividends"` // 变更后-社区分红区块币数量 + CreateTime string `json:"create_time"` // 创建时间 } type DynamicDataFlowListResp struct { - KindList []map[string]interface{} `json:"kind_list"` - List []EggEnergyAvailableEnergyFlow `json:"list"` + KindList []map[string]interface{} `json:"kind_list"` // 类型列表 + List []EggEnergyAvailableEnergyFlow `json:"list"` // 动态数据流水列表 Paginate Paginate `json:"paginate"` } diff --git a/docs/docs.go b/docs/docs.go index 42523a3..1518d30 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -3604,6 +3604,7 @@ const docTemplate = `{ "type": "object", "properties": { "kind_list": { + "description": "类型列表", "type": "array", "items": { "type": "object", @@ -3611,6 +3612,7 @@ const docTemplate = `{ } }, "list": { + "description": "动态数据流水列表", "type": "array", "items": { "$ref": "#/definitions/md.EggEnergyAvailableEnergyFlow" @@ -3625,78 +3627,102 @@ const docTemplate = `{ "type": "object", "properties": { "after_community_dividends": { + "description": "变更后-社区分红区块币数量", "type": "string" }, "after_destruction_quantity_values": { + "description": "变更后-销毁区块币数量", "type": "string" }, "after_development_committee_values": { + "description": "变更后-发展委员会区块币数量", "type": "string" }, "after_marketplace_merchant_fund_values": { + "description": "变更后-市商资金值", "type": "string" }, "after_marketplace_merchant_values": { + "description": "变更后-市商区块币数量", "type": "string" }, "after_now_energy_total_nums": { + "description": "变更后-现行总量", "type": "string" }, "after_planet_total_value": { + "description": "变更后-星球总价值", "type": "string" }, "after_price": { + "description": "变更后-价格", "type": "string" }, "after_public_welfare_and_charity_values": { + "description": "变更后-公益慈善区块币数量", "type": "string" }, "after_star_level_dividends_values": { + "description": "变更后-星级分红区块币数量", "type": "string" }, "amount": { + "description": "变更数量", "type": "string" }, "before_community_dividends": { + "description": "变更前-社区分红区块币数量", "type": "string" }, "before_destruction_quantity_values": { + "description": "变更前-销毁区块币数量", "type": "string" }, "before_development_committee_values": { + "description": "变更前-发展委员会区块币数量", "type": "string" }, "before_marketplace_merchant_fund_values": { + "description": "变更前-市商资金值", "type": "string" }, "before_marketplace_merchant_values": { + "description": "变更前-市商区块币数量", "type": "string" }, "before_now_energy_total_nums": { + "description": "变更前-现行总量", "type": "string" }, "before_planet_total_value": { + "description": "变更前-星球总价值", "type": "string" }, "before_price": { + "description": "变更前-价格", "type": "string" }, "before_public_welfare_and_charity_values": { + "description": "变更前-公益慈善区块币数量", "type": "string" }, "before_star_level_dividends_values": { + "description": "变更前-星级分红区块币数量", "type": "string" }, "create_time": { + "description": "创建时间", "type": "string" }, "id": { "type": "integer" }, "kind": { + "description": "种类", "type": "integer" }, "title": { + "description": "标题", "type": "string" } } diff --git a/docs/swagger.json b/docs/swagger.json index 98dccd5..552b978 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -3597,6 +3597,7 @@ "type": "object", "properties": { "kind_list": { + "description": "类型列表", "type": "array", "items": { "type": "object", @@ -3604,6 +3605,7 @@ } }, "list": { + "description": "动态数据流水列表", "type": "array", "items": { "$ref": "#/definitions/md.EggEnergyAvailableEnergyFlow" @@ -3618,78 +3620,102 @@ "type": "object", "properties": { "after_community_dividends": { + "description": "变更后-社区分红区块币数量", "type": "string" }, "after_destruction_quantity_values": { + "description": "变更后-销毁区块币数量", "type": "string" }, "after_development_committee_values": { + "description": "变更后-发展委员会区块币数量", "type": "string" }, "after_marketplace_merchant_fund_values": { + "description": "变更后-市商资金值", "type": "string" }, "after_marketplace_merchant_values": { + "description": "变更后-市商区块币数量", "type": "string" }, "after_now_energy_total_nums": { + "description": "变更后-现行总量", "type": "string" }, "after_planet_total_value": { + "description": "变更后-星球总价值", "type": "string" }, "after_price": { + "description": "变更后-价格", "type": "string" }, "after_public_welfare_and_charity_values": { + "description": "变更后-公益慈善区块币数量", "type": "string" }, "after_star_level_dividends_values": { + "description": "变更后-星级分红区块币数量", "type": "string" }, "amount": { + "description": "变更数量", "type": "string" }, "before_community_dividends": { + "description": "变更前-社区分红区块币数量", "type": "string" }, "before_destruction_quantity_values": { + "description": "变更前-销毁区块币数量", "type": "string" }, "before_development_committee_values": { + "description": "变更前-发展委员会区块币数量", "type": "string" }, "before_marketplace_merchant_fund_values": { + "description": "变更前-市商资金值", "type": "string" }, "before_marketplace_merchant_values": { + "description": "变更前-市商区块币数量", "type": "string" }, "before_now_energy_total_nums": { + "description": "变更前-现行总量", "type": "string" }, "before_planet_total_value": { + "description": "变更前-星球总价值", "type": "string" }, "before_price": { + "description": "变更前-价格", "type": "string" }, "before_public_welfare_and_charity_values": { + "description": "变更前-公益慈善区块币数量", "type": "string" }, "before_star_level_dividends_values": { + "description": "变更前-星级分红区块币数量", "type": "string" }, "create_time": { + "description": "创建时间", "type": "string" }, "id": { "type": "integer" }, "kind": { + "description": "种类", "type": "integer" }, "title": { + "description": "标题", "type": "string" } } diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 66ec180..e7372d4 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -395,11 +395,13 @@ definitions: md.DynamicDataFlowListResp: properties: kind_list: + description: 类型列表 items: additionalProperties: true type: object type: array list: + description: 动态数据流水列表 items: $ref: '#/definitions/md.EggEnergyAvailableEnergyFlow' type: array @@ -409,54 +411,78 @@ definitions: md.EggEnergyAvailableEnergyFlow: properties: after_community_dividends: + description: 变更后-社区分红区块币数量 type: string after_destruction_quantity_values: + description: 变更后-销毁区块币数量 type: string after_development_committee_values: + description: 变更后-发展委员会区块币数量 type: string after_marketplace_merchant_fund_values: + description: 变更后-市商资金值 type: string after_marketplace_merchant_values: + description: 变更后-市商区块币数量 type: string after_now_energy_total_nums: + description: 变更后-现行总量 type: string after_planet_total_value: + description: 变更后-星球总价值 type: string after_price: + description: 变更后-价格 type: string after_public_welfare_and_charity_values: + description: 变更后-公益慈善区块币数量 type: string after_star_level_dividends_values: + description: 变更后-星级分红区块币数量 type: string amount: + description: 变更数量 type: string before_community_dividends: + description: 变更前-社区分红区块币数量 type: string before_destruction_quantity_values: + description: 变更前-销毁区块币数量 type: string before_development_committee_values: + description: 变更前-发展委员会区块币数量 type: string before_marketplace_merchant_fund_values: + description: 变更前-市商资金值 type: string before_marketplace_merchant_values: + description: 变更前-市商区块币数量 type: string before_now_energy_total_nums: + description: 变更前-现行总量 type: string before_planet_total_value: + description: 变更前-星球总价值 type: string before_price: + description: 变更前-价格 type: string before_public_welfare_and_charity_values: + description: 变更前-公益慈善区块币数量 type: string before_star_level_dividends_values: + description: 变更前-星级分红区块币数量 type: string create_time: + description: 创建时间 type: string id: type: integer kind: + description: 种类 type: integer title: + description: 标题 type: string type: object md.EggEnergyCommunityDividends: