重构项目

This commit is contained in:
dragon
2025-11-13 17:32:49 +08:00
parent c7c6180272
commit 54bbef0205
24 changed files with 559 additions and 305 deletions

View File

@@ -37,6 +37,7 @@ func (p *PageConfigRoute) UnmarshalYAML(value *yaml.Node) error {
p.Type = keys[0]
params := data[p.Type]
// 跳过空参数
p.Params = make(map[string]any)
if _, ok := params.(string); ok || params == nil {
return nil
}