完善 admin 接口筛选机制
This commit is contained in:
@@ -82,7 +82,7 @@ func DateHead(date time.Time) time.Time {
|
||||
return time.Date(y, m, d, 0, 0, 0, 0, date.Location())
|
||||
}
|
||||
|
||||
func DateFoot(date time.Time) time.Time {
|
||||
func DateTail(date time.Time) time.Time {
|
||||
var y, m, d = date.Date()
|
||||
return time.Date(y, m, d, 23, 59, 59, 999999999, date.Location())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user