shenjiachi 1 месяц назад
Родитель
Сommit
19af90775a
4 измененных файлов: 104 добавлений и 26 удалений
  1. +26
    -26
      app/md/institutional_management/egg_energy/md_available_energy.go
  2. +26
    -0
      docs/docs.go
  3. +26
    -0
      docs/swagger.json
  4. +26
    -0
      docs/swagger.yaml

+ 26
- 26
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"`
}

+ 26
- 0
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"
}
}


+ 26
- 0
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"
}
}


+ 26
- 0
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:


Загрузка…
Отмена
Сохранить