dengbiao 1 tydzień temu
rodzic
commit
970a0942c2
5 zmienionych plików z 127 dodań i 2 usunięć
  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 Wyświetl plik

@@ -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 Wyświetl plik

@@ -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 Wyświetl plik

@@ -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 Wyświetl plik

@@ -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 Wyświetl plik

@@ -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


Ładowanie…
Anuluj
Zapisz