feat: 等级配置

This commit is contained in:
Blizzard
2026-02-11 11:37:35 +08:00
parent 6be24bdbda
commit 4ccab96ca2
12 changed files with 272 additions and 18 deletions
+22
View File
@@ -0,0 +1,22 @@
package config
// ActionType 定义养护行为类型
type ActionType string
const (
ActionWater ActionType = "WATER" // 浇水
ActionFertilize ActionType = "FERTILIZE" // 施肥
ActionPrune ActionType = "PRUNE" // 修剪
ActionPhoto ActionType = "PHOTO" // 拍照
ActionLogin ActionType = "LOGIN" // 每日签到
)
// BadgeTier 定义徽章的稀有度
type BadgeTier int
const (
TierBronze BadgeTier = 1 // 铜
TierSilver BadgeTier = 2 // 银
TierGold BadgeTier = 3 // 金
TierDiamond BadgeTier = 4 // 钻石
)