@@ -65,6 +65,12 @@ func (this *BannerController) StatisticsItem() {
br.ErrMsg = "GetYbResearchSignupStatisticsItemsById,Err:" + err.Error()
return
}
+ if list == nil {
+ br.Ret = 200
+ br.Success = true
+ br.Msg = "获取成功"
+ return
+ }
resp.List = list
for _, v := range list {
resp.Total += v.Count