feat: 添加战胜规则配置模块
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful

This commit is contained in:
xinian
2026-03-21 00:57:18 +08:00
committed by cnb
parent d9a99155d9
commit 1969c01f3e
6 changed files with 133 additions and 4 deletions

View File

@@ -6,3 +6,7 @@ func InitRule(id int64, t RuleI) {
RuleM[id] = t
}
func GetRule(id int64) RuleI {
return RuleM[id]
}