From 530fed8ec225453572d57b15c200ab062c335457 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期三, 01 十一月 2023 19:20:21 +0800 Subject: [PATCH] 公海member_id使用0 --- 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