增加防盗链规则参数

This commit is contained in:
刘祥超
2021-10-19 11:38:46 +08:00
parent 82a7971718
commit 2793e0de89
3 changed files with 74 additions and 1 deletions

View File

@@ -23,7 +23,7 @@ import (
var singleParamRegexp = regexp.MustCompile("^\\${[\\w.-]+}$")
// rule
// Rule
type Rule struct {
Description string `yaml:"description" json:"description"`
Param string `yaml:"param" json:"param"` // such as ${arg.name} or ${args}, can be composite as ${arg.firstName}${arg.lastName}