diff --git a/app/hdl/hdl_settle_center_agent.go b/app/hdl/hdl_settle_center_agent.go index 3e450ae..d5e5e5b 100644 --- a/app/hdl/hdl_settle_center_agent.go +++ b/app/hdl/hdl_settle_center_agent.go @@ -64,7 +64,7 @@ func SettleCenterAgentSave(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/agent/detail [POST] func SettleCenterAgentDetail(c *gin.Context) { @@ -76,5 +76,7 @@ func SettleCenterAgentDetail(c *gin.Context) { e.OutErr(c, err1.Code, err1.Error()) return } - svc.SettleCenterAgentDetail(c, req) + res := svc.SettleCenterAgentDetail(c, req) + e.OutSuc(c, res, nil) + return } diff --git a/docs/docs.go b/docs/docs.go index 1a845e0..c485883 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -4460,7 +4460,7 @@ const docTemplate = `{ "200": { "description": "具体看返回内容 这是data里面的数据", "schema": { - "type": "string" + "$ref": "#/definitions/md.SettleCenterDataDetailRes" } }, "400": { diff --git a/docs/swagger.json b/docs/swagger.json index bf69d46..50d2362 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -4452,7 +4452,7 @@ "200": { "description": "具体看返回内容 这是data里面的数据", "schema": { - "type": "string" + "$ref": "#/definitions/md.SettleCenterDataDetailRes" } }, "400": { diff --git a/docs/swagger.yaml b/docs/swagger.yaml index cf8c5c6..2820907 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -5438,7 +5438,7 @@ paths: "200": description: 具体看返回内容 这是data里面的数据 schema: - type: string + $ref: '#/definitions/md.SettleCenterDataDetailRes' "400": description: 具体错误 schema: