优化代码

This commit is contained in:
刘祥超
2023-03-12 16:18:16 +08:00
parent 28e7664eb7
commit 1d1134a86d

View File

@@ -860,7 +860,7 @@ func (this *HTTPRequest) Format(source string) string {
}
// response.xxx.xxx
dotIndex := strings.Index(suffix, ".")
dotIndex = strings.Index(suffix, ".")
if dotIndex < 0 {
return "${" + varName + "}"
}