mirror of
https://github.com/Li4n0/revsuit.git
synced 2026-09-25 16:11:53 +08:00
fix: fix some bugs (#17)
This commit is contained in:
+1
-1
@@ -13,7 +13,7 @@ import (
|
||||
)
|
||||
|
||||
type Rule struct {
|
||||
rule.BaseRule `yaml:""`
|
||||
rule.BaseRule `yaml:",inline"`
|
||||
Type newdns.Type `gorm:"default:1" form:"type" json:"type"`
|
||||
Value string `form:"value" json:"value"`
|
||||
TTL time.Duration `gorm:"ttl;default:10" form:"ttl" json:"ttl"`
|
||||
|
||||
Reference in New Issue
Block a user