浏览代码

更新

master
huangjiajun 5 个月前
父节点
当前提交
f22d6e0a0a
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. +1
    -0
      rule/micro_applications/happy_orchard_user_seed_record.go

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

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


正在加载...
取消
保存