@@ -157,12 +157,6 @@ func (this *MyChartController) List() {
}
resp := new(response.MyChartListResp)
- if total == 0 {
- br.Msg = "暂无数据"
- br.Ret = 200
- br.Success = true
- return
- }
startSize := utils.StartIndex(currentIndex, pageSize)
items, err := models.GetMyChartListById(user.UserId, startSize, pageSize)
if err != nil {
@@ -53,12 +53,6 @@ func (this *MyReportController) List() {
return
resp := new(response.MyReportListResp)
reportList, err := models.GetMyReportListByUserId(user.UserId, startSize, pageSize)