huangjiajun преди 4 месеца
родител
ревизия
85084001a2
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. +1
    -1
      rule/micro_applications/happy_orchard_user_seed_record.go

+ 1
- 1
rule/micro_applications/happy_orchard_user_seed_record.go Целия файл

@@ -49,7 +49,7 @@ func GetHappyOrchardUserSeedRecordData(engine *xorm.Engine, record models.HappyO
resp.RecordPlantingStage = seedState
resp.RecordPlantingStageZh = stageNameCustomData[resp.RecordPlantingStage+1]
resp.RecordPlantingNextStage = resp.RecordPlantingStage + 1
resp.RecordPlantingNextStageZh = stageNameCustomData[resp.RecordPlantingNextStage+1]
resp.RecordPlantingNextStageZh = stageNameCustomData[resp.RecordPlantingNextStage]
if nextSeedStateWaters > 0 {
resp.RecordPlantingNextStageNeedWaterNums = (nextSeedStateWaters - record.WaterNums) / happyOrchardBasicSetting.WateringEveryTimeWaterDroplet
resp.RecordPlantingNextStageNeedWater = nextSeedStateWaters - record.WaterNums


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