Browse Source

更新

master
huangjiajun 2 weeks ago
parent
commit
abfd8e3634
4 changed files with 7 additions and 5 deletions
  1. +4
    -2
      app/hdl/hdl_settle_center_agent.go
  2. +1
    -1
      docs/docs.go
  3. +1
    -1
      docs/swagger.json
  4. +1
    -1
      docs/swagger.yaml

+ 4
- 2
app/hdl/hdl_settle_center_agent.go View File

@@ -64,7 +64,7 @@ func SettleCenterAgentSave(c *gin.Context) {
// @Accept json // @Accept json
// @Produce json // @Produce json
// @Param args body md.SettleCenterDataDetailReq true "请求参数" // @Param args body md.SettleCenterDataDetailReq true "请求参数"
// @Success 200 {string} "具体看返回内容 这是data里面的数据"
// @Success 200 {object} md.SettleCenterDataDetailRes "具体看返回内容 这是data里面的数据"
// @Failure 400 {object} md.Response "具体错误" // @Failure 400 {object} md.Response "具体错误"
// @Router /api/settleCenter/agent/detail [POST] // @Router /api/settleCenter/agent/detail [POST]
func SettleCenterAgentDetail(c *gin.Context) { func SettleCenterAgentDetail(c *gin.Context) {
@@ -76,5 +76,7 @@ func SettleCenterAgentDetail(c *gin.Context) {
e.OutErr(c, err1.Code, err1.Error()) e.OutErr(c, err1.Code, err1.Error())
return return
} }
svc.SettleCenterAgentDetail(c, req)
res := svc.SettleCenterAgentDetail(c, req)
e.OutSuc(c, res, nil)
return
} }

+ 1
- 1
docs/docs.go View File

@@ -4460,7 +4460,7 @@ const docTemplate = `{
"200": { "200": {
"description": "具体看返回内容 这是data里面的数据", "description": "具体看返回内容 这是data里面的数据",
"schema": { "schema": {
"type": "string"
"$ref": "#/definitions/md.SettleCenterDataDetailRes"
} }
}, },
"400": { "400": {


+ 1
- 1
docs/swagger.json View File

@@ -4452,7 +4452,7 @@
"200": { "200": {
"description": "具体看返回内容 这是data里面的数据", "description": "具体看返回内容 这是data里面的数据",
"schema": { "schema": {
"type": "string"
"$ref": "#/definitions/md.SettleCenterDataDetailRes"
} }
}, },
"400": { "400": {


+ 1
- 1
docs/swagger.yaml View File

@@ -5438,7 +5438,7 @@ paths:
"200": "200":
description: 具体看返回内容 这是data里面的数据 description: 具体看返回内容 这是data里面的数据
schema: schema:
type: string
$ref: '#/definitions/md.SettleCenterDataDetailRes'
"400": "400":
description: 具体错误 description: 具体错误
schema: schema:


Loading…
Cancel
Save