mirror of
https://github.com/astaxie/beego.git
synced 2024-11-26 05:01:28 +00:00
beego: autoroute
This commit is contained in:
parent
90f91b10c5
commit
9c5348f690
@ -165,7 +165,7 @@ func compareFile(pkgRealpath string) bool {
|
|||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
if v, ok := pkgLastupdate[pkgRealpath]; ok {
|
if v, ok := pkgLastupdate[pkgRealpath]; ok {
|
||||||
if ft.ModTime().UnixNano() >= v {
|
if ft.ModTime().UnixNano() <= v {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user