mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-12-08 06:00:24 +08:00
增加部分访问日志条数10->20
This commit is contained in:
@@ -49,7 +49,7 @@ func (this *IndexAction) RunGet(params struct {
|
|||||||
|
|
||||||
if len(day) > 0 && regexp.MustCompile(`\d{4}-\d{2}-\d{2}`).MatchString(day) {
|
if len(day) > 0 && regexp.MustCompile(`\d{4}-\d{2}-\d{2}`).MatchString(day) {
|
||||||
day = strings.ReplaceAll(day, "-", "")
|
day = strings.ReplaceAll(day, "-", "")
|
||||||
size := int64(10)
|
size := int64(20)
|
||||||
|
|
||||||
this.Data["hasError"] = params.HasError
|
this.Data["hasError"] = params.HasError
|
||||||
|
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ func (this *HistoryAction) RunGet(params struct {
|
|||||||
|
|
||||||
if len(day) > 0 && regexp.MustCompile(`\d{4}-\d{2}-\d{2}`).MatchString(day) {
|
if len(day) > 0 && regexp.MustCompile(`\d{4}-\d{2}-\d{2}`).MatchString(day) {
|
||||||
day = strings.ReplaceAll(day, "-", "")
|
day = strings.ReplaceAll(day, "-", "")
|
||||||
size := int64(10)
|
size := int64(20)
|
||||||
|
|
||||||
this.Data["hasError"] = params.HasError
|
this.Data["hasError"] = params.HasError
|
||||||
|
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ func (this *TodayAction) RunGet(params struct {
|
|||||||
Ip string
|
Ip string
|
||||||
Domain string
|
Domain string
|
||||||
}) {
|
}) {
|
||||||
size := int64(10)
|
size := int64(20)
|
||||||
|
|
||||||
this.Data["path"] = this.Request.URL.Path
|
this.Data["path"] = this.Request.URL.Path
|
||||||
this.Data["hasError"] = params.HasError
|
this.Data["hasError"] = params.HasError
|
||||||
|
|||||||
Reference in New Issue
Block a user