1
0
mirror of https://github.com/beego/bee.git synced 2024-11-05 11:50:55 +00:00

Repair parameters

This commit is contained in:
wangle 2020-07-26 22:09:36 +08:00
parent 3909cd7273
commit ff7108bb7a

View File

@ -194,7 +194,7 @@ func FileContentChange(org,new []byte, seg string) bool {
return true
}
orgContent := GetFilterContent(string(org),seg)
newContent := GetFilterContent(string(org),string(new))
newContent := GetFilterContent(string(new),seg)
orgMd5 := md5.Sum([]byte(orgContent))
newMd5:= md5.Sum([]byte(newContent))
if orgMd5 != newMd5 {