实现访问日志配置

This commit is contained in:
刘祥超
2020-09-20 11:56:22 +08:00
parent 6a93d17e72
commit ec3dd3a1c8
15 changed files with 1203 additions and 144 deletions

View File

@@ -49,7 +49,7 @@ func NewRequestCond() *RequestCond {
}
// 校验配置
func (this *RequestCond) Validate() error {
func (this *RequestCond) Init() error {
this.isInt = RegexpDigitNumber.MatchString(this.Value)
this.isFloat = RegexpFloatNumber.MatchString(this.Value)