瀏覽代碼

proto: feed list

Yi 1 年之前
父節點
當前提交
6de813df36
共有 1 個文件被更改,包括 1 次插入1 次删除
  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)
 	}
 }