瀏覽代碼

update

master
dengbiao 5 月之前
父節點
當前提交
38f6e74b39
共有 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 查看文件

@@ -57,7 +57,7 @@ func GetHappyOrchardUserSeedRecordData(engine *xorm.Engine, record models.HappyO
resp.RecordStateZh = enum.HappyOrchardUserSeedRecordState(record.State).String()
resp.NowRecordWaters = record.WaterNums
resp.TotalNeedWaters = happyOrchardSeed.WaterNums
resp.PlantingRate = float64(record.WaterNums) / float64(happyOrchardSeed.WaterNums) * 100
return
}



Loading…
取消
儲存