Explorar o código

proto: feed list

Yi hai 1 ano
pai
achega
6de813df36
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      http/handler/feed/feed_formula_detail.go

+ 1 - 1
http/handler/feed/feed_formula_detail.go

@@ -30,6 +30,6 @@ func ForageDetailList(c *gin.Context) {
 		apierr.ClassifiedAbort(c, err)
 		return
 	} else {
-		c.JSON(http.StatusOK, list)
+		ginutil.JSONResp(c, list)
 	}
 }