huangjiajun 5 miesięcy temu
rodzic
commit
f22d6e0a0a
1 zmienionych plików z 1 dodań i 0 usunięć
  1. +1
    -0
      rule/micro_applications/happy_orchard_user_seed_record.go

+ 1
- 0
rule/micro_applications/happy_orchard_user_seed_record.go Wyświetl plik

@@ -67,6 +67,7 @@ func GetHappyOrchardUserSeedRecordData(engine *xorm.Engine, record models.HappyO

func getHappyOrchardUserSeedStage(record models.HappyOrchardUserSeedRecord, seed models.HappyOrchardSeed) (seedState int, nextSeedStateWaters int) {
seedState = -1
nextSeedStateWaters = seed.NeedWatersNumForStage0
if record.WaterNums >= seed.NeedWatersNumForStage0 && record.WaterNums < seed.NeedWatersNumForStage1 {
seedState = 0
nextSeedStateWaters = seed.NeedWatersNumForStage1


Ładowanie…
Anuluj
Zapisz