From bd379cf89e0091f931cd1db569560dd4fe63ad3b Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期三, 03 一月 2024 15:00:28 +0800 Subject: [PATCH] 报价单统计 --- api/v1/faq.go | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/api/v1/faq.go b/api/v1/faq.go index 44dc341..350dae2 100644 --- a/api/v1/faq.go +++ b/api/v1/faq.go @@ -89,10 +89,12 @@ // @Tags 甯歌闂绠$悊 // @Summary 鑾峰彇甯歌闂鍒楄〃 // @Produce application/json +// @Param object body request.GetFaqList true "鍙傛暟" // @Success 200 {object} response.ListResponse{data=[]model.Faq} // @Router /api/faq/list [get] func (s *FaqApi) List(c *gin.Context) { - ctx, ok := contextx.NewContext(c, nil) + var params request.GetFaqList + ctx, ok := contextx.NewContext(c, params) if !ok { return } -- Gitblit v1.8.0