zwxi hai 9 meses
pai
achega
fcc0ba20ad
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      controllers/yb_research_signup_statistics.go

+ 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 = "获取成功"