|
@@ -183,7 +183,7 @@ func (this *MyChartClassifyController) Del(c *gin.Context) {
|
|
return
|
|
return
|
|
}
|
|
}
|
|
if count > 0 {
|
|
if count > 0 {
|
|
- response.Fail("删除失败, 该分类下有图表", c)
|
|
|
|
|
|
+ response.SpecificFail("", "删除失败, 该分类下有图表", c)
|
|
return
|
|
return
|
|
}
|
|
}
|
|
if e = item.Delete(); e != nil {
|
|
if e = item.Delete(); e != nil {
|