From b1e81861188eb70dfb90d2f9f10fa49cfa76a483 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Fri, 6 Sep 2024 08:42:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/hdl/hdl_settle_center_medium.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/hdl/hdl_settle_center_medium.go b/app/hdl/hdl_settle_center_medium.go index be24a25..15132a3 100644 --- a/app/hdl/hdl_settle_center_medium.go +++ b/app/hdl/hdl_settle_center_medium.go @@ -64,7 +64,7 @@ func SettleCenterMediumSave(c *gin.Context) { // @Accept json // @Produce json // @Param args body md.SettleCenterDataDetailReq true "请求参数" -// @Success 200 {string} "具体看返回内容 这是data里面的数据" +// @Success 200 {object} md.SettleCenterDataDetailRes "具体看返回内容 这是data里面的数据" // @Failure 400 {object} md.Response "具体错误" // @Router /api/settleCenter/medium/detail [POST] func SettleCenterMediumDetail(c *gin.Context) { @@ -76,5 +76,7 @@ func SettleCenterMediumDetail(c *gin.Context) { e.OutErr(c, err1.Code, err1.Error()) return } - svc.SettleCenterMediumDetail(c, req) + res := svc.SettleCenterMediumDetail(c, req) + e.OutSuc(c, res, nil) + return }