dengbiao 3 週之前
父節點
當前提交
970a0942c2
共有 5 個檔案被更改,包括 127 行新增2 行删除
  1. +1
    -1
      app/hdl/hdl_data_center_generate_data.go
  2. +47
    -0
      docs/docs.go
  3. +1
    -1
      docs/open.json
  4. +47
    -0
      docs/swagger.json
  5. +31
    -0
      docs/swagger.yaml

+ 1
- 1
app/hdl/hdl_data_center_generate_data.go 查看文件

@@ -70,7 +70,7 @@ func IncomeDataList(c *gin.Context) {
// @Param args body md.DataCenterGenerateDataReq true "请求参数"
// @Success 200 {object} md.DataCenterIncomeDataRes "具体看返回内容 这是data里面的数据"
// @Failure 400 {object} md.Response "具体错误"
// @Router /api/dataCenter/income/data/list [POST]
// @Router /api/dataCenter/income/data/listForOpen [POST]
func IncomeDataListForOpen(c *gin.Context) {
var req md.DataCenterGenerateDataForOpenReq
err := c.ShouldBindJSON(&req)


+ 47
- 0
docs/docs.go 查看文件

@@ -543,6 +543,53 @@ const docTemplate = `{
}
},
"/api/dataCenter/income/data/list": {
"post": {
"description": "数据中心-收益报表-列表",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"数据中心------嘉俊"
],
"summary": "收益报表-列表",
"parameters": [
{
"type": "string",
"description": "验证参数Bearer和token空格拼接",
"name": "Authorization",
"in": "header",
"required": true
},
{
"description": "请求参数",
"name": "args",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/md.DataCenterGenerateDataReq"
}
}
],
"responses": {
"200": {
"description": "具体看返回内容 这是data里面的数据",
"schema": {
"$ref": "#/definitions/md.DataCenterIncomeDataRes"
}
},
"400": {
"description": "具体错误",
"schema": {
"$ref": "#/definitions/md.Response"
}
}
}
}
},
"/api/dataCenter/income/data/listForOpen": {
"post": {
"description": "数据中心-收益报表-列表",
"consumes": [


+ 1
- 1
docs/open.json 查看文件

@@ -17,7 +17,7 @@
},
"host": "xxxxx.adcms.zhiyingos.cn",
"paths": {
"/api/dataCenter/income/data/list": {
"/api/dataCenter/income/data/listForOpen": {
"post": {
"description": "数据中心-收益报表-列表",
"consumes": [


+ 47
- 0
docs/swagger.json 查看文件

@@ -535,6 +535,53 @@
}
},
"/api/dataCenter/income/data/list": {
"post": {
"description": "数据中心-收益报表-列表",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"数据中心------嘉俊"
],
"summary": "收益报表-列表",
"parameters": [
{
"type": "string",
"description": "验证参数Bearer和token空格拼接",
"name": "Authorization",
"in": "header",
"required": true
},
{
"description": "请求参数",
"name": "args",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/md.DataCenterGenerateDataReq"
}
}
],
"responses": {
"200": {
"description": "具体看返回内容 这是data里面的数据",
"schema": {
"$ref": "#/definitions/md.DataCenterIncomeDataRes"
}
},
"400": {
"description": "具体错误",
"schema": {
"$ref": "#/definitions/md.Response"
}
}
}
}
},
"/api/dataCenter/income/data/listForOpen": {
"post": {
"description": "数据中心-收益报表-列表",
"consumes": [


+ 31
- 0
docs/swagger.yaml 查看文件

@@ -3114,6 +3114,37 @@ paths:
tags:
- 数据中心------嘉俊
/api/dataCenter/income/data/list:
post:
consumes:
- application/json
description: 数据中心-收益报表-列表
parameters:
- description: 验证参数Bearer和token空格拼接
in: header
name: Authorization
required: true
type: string
- description: 请求参数
in: body
name: args
required: true
schema:
$ref: '#/definitions/md.DataCenterGenerateDataReq'
produces:
- application/json
responses:
"200":
description: 具体看返回内容 这是data里面的数据
schema:
$ref: '#/definitions/md.DataCenterIncomeDataRes'
"400":
description: 具体错误
schema:
$ref: '#/definitions/md.Response'
summary: 收益报表-列表
tags:
- 数据中心------嘉俊
/api/dataCenter/income/data/listForOpen:
post:
consumes:
- application/json


Loading…
取消
儲存