瀏覽代碼

update

master
shenjiachi 1 天之前
父節點
當前提交
870f5f0cd8
共有 5 個文件被更改,包括 17 次插入4 次删除
  1. +1
    -0
      app/hdl/institutional_management/egg_energy/hdl_basic.go
  2. +5
    -4
      app/md/institutional_management/egg_energy/md_basic.go
  3. +4
    -0
      docs/docs.go
  4. +4
    -0
      docs/swagger.json
  5. +3
    -0
      docs/swagger.yaml

+ 1
- 0
app/hdl/institutional_management/egg_energy/hdl_basic.go 查看文件

@@ -245,6 +245,7 @@ func GetEggEnergyVipSetting(c *gin.Context) {
list[i].VipLevelName = levelsMap[utils.StrToInt(settingStruct.VipLevelId)]
list[i].ExchangeAccountBalanceFee = settingStruct.ExchangeAccountBalanceFee
list[i].DividendRatio = settingStruct.DividendRatio
list[i].VipID = settingStruct.VipLevelId
}

resp := md.GetEggEnergyVipSettingResp{


+ 5
- 4
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:"团队分红"` // 团队分红
@@ -70,6 +70,7 @@ type UpdateEggEnergyBasicReq struct {
}

type VipEquitySettingNode struct {
VipID string `json:"vip_id"` // 会员等级ID
VipLevelName string `json:"vip_level_name"` // 会员等级名称
ExchangeAccountBalanceFee string `json:"exchange_account_balance_fee"` //兑换余额手续费
DividendRatio string `json:"dividend_ratio"` //分红比例
@@ -100,7 +101,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 {


+ 4
- 0
docs/docs.go 查看文件

@@ -6595,6 +6595,10 @@ const docTemplate = `{
"description": "兑换余额手续费",
"type": "string"
},
"vip_id": {
"description": "会员等级ID",
"type": "string"
},
"vip_level_name": {
"description": "会员等级名称",
"type": "string"


+ 4
- 0
docs/swagger.json 查看文件

@@ -6588,6 +6588,10 @@
"description": "兑换余额手续费",
"type": "string"
},
"vip_id": {
"description": "会员等级ID",
"type": "string"
},
"vip_level_name": {
"description": "会员等级名称",
"type": "string"


+ 3
- 0
docs/swagger.yaml 查看文件

@@ -2467,6 +2467,9 @@ definitions:
exchange_account_balance_fee:
description: 兑换余额手续费
type: string
vip_id:
description: 会员等级ID
type: string
vip_level_name:
description: 会员等级名称
type: string


Loading…
取消
儲存