dengbiao преди 4 дни
родител
ревизия
7c99620de9
променени са 2 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. +1
    -0
      app/hdl/institutional_management/egg_energy/hdl_basic.go
  2. +1
    -0
      app/md/institutional_management/egg_energy/md_basic.go

+ 1
- 0
app/hdl/institutional_management/egg_energy/hdl_basic.go Целия файл

@@ -204,6 +204,7 @@ func GetEggEnergyBasic(c *gin.Context) {
resp := md.GetEggEnergyBasicResp{
BasicSetting: md.BasicSetting{
IsOpen: basicSettings.IsOpen,
InitialPrice: basicSettings.InitialPrice,
PersonEggEnergyCoinId: basicSettings.PersonEggEnergyCoinId,
TeamEggEnergyCoinId: basicSettings.TeamEggEnergyCoinId,
PersonEggPointsCoinId: basicSettings.PersonEggPointsCoinId,


+ 1
- 0
app/md/institutional_management/egg_energy/md_basic.go Целия файл

@@ -20,6 +20,7 @@ type VirtualCoin struct {
// BasicSetting 基础设置
type BasicSetting struct {
IsOpen int `json:"is_open" ` // 是否开启(1:开启 0:关闭)
InitialPrice string `json:"initial_price" ` // 初始价格
PersonEggEnergyCoinId int `json:"person_egg_energy_coin_id" ` // 个人蛋蛋能量对应虚拟币 id
TeamEggEnergyCoinId int `json:"team_egg_energy_coin_id" ` // 团队蛋蛋能量对应虚拟币 id
PersonEggPointsCoinId int `json:"person_egg_points_coin_id" ` // 个人蛋蛋积分对应虚拟币 id


Зареждане…
Отказ
Запис