|
|
@@ -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 |
|
|
|