实现公用的统计指标

This commit is contained in:
刘祥超
2021-07-19 15:23:20 +08:00
parent 3360f2fc08
commit de2337afe7
15 changed files with 47 additions and 6 deletions

View File

@@ -41,6 +41,7 @@ func (this *UpdateAction) RunPost(params struct {
PeriodJSON []byte
Value string
IsOn bool
IsPublic bool
Must *actions.Must
CSRF *actionutils.CSRF
@@ -78,6 +79,7 @@ func (this *UpdateAction) RunPost(params struct {
PeriodUnit: periodUnit,
Value: params.Value,
IsOn: params.IsOn,
IsPublic: params.IsPublic,
})
if err != nil {
this.ErrorPage(err)