mirror of
https://github.com/beego/bee.git
synced 2025-07-06 15:00:17 +00:00
Repair parameters
This commit is contained in:
@ -194,7 +194,7 @@ func FileContentChange(org,new []byte, seg string) bool {
|
|||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
orgContent := GetFilterContent(string(org),seg)
|
orgContent := GetFilterContent(string(org),seg)
|
||||||
newContent := GetFilterContent(string(org),string(new))
|
newContent := GetFilterContent(string(new),seg)
|
||||||
orgMd5 := md5.Sum([]byte(orgContent))
|
orgMd5 := md5.Sum([]byte(orgContent))
|
||||||
newMd5:= md5.Sum([]byte(newContent))
|
newMd5:= md5.Sum([]byte(newContent))
|
||||||
if orgMd5 != newMd5 {
|
if orgMd5 != newMd5 {
|
||||||
|
Reference in New Issue
Block a user