|
@@ -20,7 +20,6 @@ import (
|
|
|
"hongze/hongze_yb/services/chart/cross_variety"
|
|
|
"hongze/hongze_yb/services/user"
|
|
|
"hongze/hongze_yb/utils"
|
|
|
- "io/ioutil"
|
|
|
"sort"
|
|
|
"strconv"
|
|
|
"strings"
|
|
@@ -617,7 +616,7 @@ func EditChartInfo(c *gin.Context) {
|
|
|
chartLog.SysUserRealName = adminInfo.RealName
|
|
|
chartLog.UniqueCode = chartItem.UniqueCode
|
|
|
chartLog.CreateTime = time.Now()
|
|
|
- bodyBytes, _ := ioutil.ReadAll(c.Request.Body)
|
|
|
+ bodyBytes, _ := json.Marshal(req)
|
|
|
chartLog.Content = string(bodyBytes)
|
|
|
chartLog.Status = "修改配置项"
|
|
|
chartLog.Method = c.Request.URL.String()
|