瀏覽代碼

更新

master
huangjiajun 5 月之前
父節點
當前提交
7526cbb438
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      rule/micro_applications/happy_orchard_user_seed_record.go

+ 2
- 2
rule/micro_applications/happy_orchard_user_seed_record.go 查看文件

@@ -50,8 +50,8 @@ func GetHappyOrchardUserSeedRecordData(engine *xorm.Engine, record models.HappyO
resp.RecordPlantingStageZh = stageNameCustomData[resp.RecordPlantingStage+1]
resp.RecordPlantingNextStage = resp.RecordPlantingStage + 1
resp.RecordPlantingNextStageZh = stageNameCustomData[resp.RecordPlantingNextStage+1]
resp.RecordPlantingNextStageNeedWaterNums = nextSeedStateWaters / happyOrchardBasicSetting.WateringEveryTimeWaterDroplet
resp.RecordPlantingNextStageNeedWater = nextSeedStateWaters
resp.RecordPlantingNextStageNeedWaterNums = (nextSeedStateWaters - record.WaterNums) / happyOrchardBasicSetting.WateringEveryTimeWaterDroplet
resp.RecordPlantingNextStageNeedWater = nextSeedStateWaters - record.WaterNums
}
resp.RecordId = record.Id
resp.RecordName = happyOrchardSeed.Name


Loading…
取消
儲存