浏览代码

更新

master
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


正在加载...
取消
保存