mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-12-24 10:56:36 +08:00
部分中文转换为多语言代号
This commit is contained in:
@@ -4,6 +4,7 @@ package charts
|
||||
|
||||
import (
|
||||
"github.com/TeaOSLab/EdgeAdmin/internal/web/actions/actionutils"
|
||||
"github.com/TeaOSLab/EdgeCommon/pkg/langs/codes"
|
||||
"github.com/TeaOSLab/EdgeCommon/pkg/rpc/pb"
|
||||
)
|
||||
|
||||
@@ -14,7 +15,7 @@ type DeleteAction struct {
|
||||
func (this *DeleteAction) RunPost(params struct {
|
||||
ChartId int64
|
||||
}) {
|
||||
defer this.CreateLogInfo("删除指标图表 %d", params.ChartId)
|
||||
defer this.CreateLogInfo(codes.MetricChart_LogDeleteMetricChart, params.ChartId)
|
||||
|
||||
_, err := this.RPC().MetricChartRPC().DeleteMetricChart(this.AdminContext(), &pb.DeleteMetricChartRequest{MetricChartId: params.ChartId})
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user