From d87a424d3e1737a730b4c503ac1dbb74a176fe58 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期三, 16 八月 2023 11:23:39 +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