实现公用的统计指标

This commit is contained in:
GoEdgeLab
2021-07-19 15:23:20 +08:00
parent 2ffa16d488
commit 29eee20ce6
15 changed files with 47 additions and 6 deletions

View File

@@ -34,6 +34,7 @@ func (this *CreatePopupAction) RunPost(params struct {
KeysJSON []byte
PeriodJSON []byte
Value string
IsPublic bool
Must *actions.Must
CSRF *actionutils.CSRF
@@ -75,6 +76,7 @@ func (this *CreatePopupAction) RunPost(params struct {
Period: period,
PeriodUnit: periodUnit,
Value: params.Value,
IsPublic: params.IsPublic,
})
if err != nil {
this.ErrorPage(err)