|
@@ -67,7 +67,7 @@ func GetChartInfoDetail(c *gin.Context) {
|
|
|
chartInfo, err = chartInfoModel.GetChartInfoViewById(chartInfoId)
|
|
|
if err != nil {
|
|
|
if err == utils.ErrNoRow {
|
|
|
- response.Fail("图表不存在,请刷新页面", c)
|
|
|
+ response.Custom(4003, "图表不存在,请刷新页面", c)
|
|
|
return
|
|
|
}
|
|
|
response.FailMsg("获取失败", "获取图表信息失败, Err:"+err.Error(), c)
|