zwxi 9 mesiacov pred
rodič
commit
fcc0ba20ad

+ 1 - 1
controllers/yb_research_signup_statistics.go

@@ -65,7 +65,7 @@ func (this *BannerController) StatisticsItem() {
 		br.ErrMsg = "GetYbResearchSignupStatisticsItemsById,Err:" + err.Error()
 		return
 	}
-	if list == nil {
+	if len(list) == 0 {
 		br.Ret = 200
 		br.Success = true
 		br.Msg = "获取成功"