dengbiao 1 kuukausi sitten
vanhempi
commit
378907baef
5 muutettua tiedostoa jossa 94 lisäystä ja 6 poistoa
  1. +1
    -1
      app/hdl/hdl_data_center_generate_data.go
  2. +25
    -1
      docs/docs.go
  3. +26
    -2
      docs/open.json
  4. +25
    -1
      docs/swagger.json
  5. +17
    -1
      docs/swagger.yaml

+ 1
- 1
app/hdl/hdl_data_center_generate_data.go Näytä tiedosto

@@ -67,7 +67,7 @@ func IncomeDataList(c *gin.Context) {
// @param Authorization header string true "验证参数Bearer和token空格拼接"
// @Accept json
// @Produce json
// @Param args body md.DataCenterGenerateDataReq true "请求参数"
// @Param args body md.DataCenterGenerateDataForOpenReq true "请求参数"
// @Success 200 {object} md.DataCenterIncomeDataRes "具体看返回内容 这是data里面的数据"
// @Failure 400 {object} md.Response "具体错误"
// @Router /api/dataCenter/income/data/listForOpen [POST]


+ 25
- 1
docs/docs.go Näytä tiedosto

@@ -616,7 +616,7 @@ const docTemplate = `{
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/md.DataCenterGenerateDataReq"
"$ref": "#/definitions/md.DataCenterGenerateDataForOpenReq"
}
}
],
@@ -6847,6 +6847,30 @@ const docTemplate = `{
}
}
},
"md.DataCenterGenerateDataForOpenReq": {
"type": "object",
"required": [
"medium_id"
],
"properties": {
"end_time": {
"type": "string"
},
"limit": {
"type": "string"
},
"medium_id": {
"description": "媒体id",
"type": "string"
},
"page": {
"type": "string"
},
"start_time": {
"type": "string"
}
}
},
"md.DataCenterGenerateDataReq": {
"type": "object",
"properties": {


+ 26
- 2
docs/open.json Näytä tiedosto

@@ -15,7 +15,7 @@
},
"version": "1.0"
},
"host": "xxxx.adcms.zhiyingos.cn",
"host": "xxxxx.adcms.zhiyingos.cn",
"paths": {
"/api/dataCenter/income/data/listForOpen": {
"post": {
@@ -44,7 +44,7 @@
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/md.DataCenterGenerateDataReq"
"$ref": "#/definitions/md.DataCenterGenerateDataForOpenReq"
}
}
],
@@ -1358,6 +1358,30 @@
}
}
},
"md.DataCenterGenerateDataForOpenReq": {
"type": "object",
"required": [
"medium_id"
],
"properties": {
"end_time": {
"type": "string"
},
"limit": {
"type": "string"
},
"medium_id": {
"description": "媒体id",
"type": "string"
},
"page": {
"type": "string"
},
"start_time": {
"type": "string"
}
}
},
"md.DataCenterGenerateDataReq": {
"type": "object",
"properties": {


+ 25
- 1
docs/swagger.json Näytä tiedosto

@@ -608,7 +608,7 @@
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/md.DataCenterGenerateDataReq"
"$ref": "#/definitions/md.DataCenterGenerateDataForOpenReq"
}
}
],
@@ -6839,6 +6839,30 @@
}
}
},
"md.DataCenterGenerateDataForOpenReq": {
"type": "object",
"required": [
"medium_id"
],
"properties": {
"end_time": {
"type": "string"
},
"limit": {
"type": "string"
},
"medium_id": {
"description": "媒体id",
"type": "string"
},
"page": {
"type": "string"
},
"start_time": {
"type": "string"
}
}
},
"md.DataCenterGenerateDataReq": {
"type": "object",
"properties": {


+ 17
- 1
docs/swagger.yaml Näytä tiedosto

@@ -906,6 +906,22 @@ definitions:
update_at:
type: string
type: object
md.DataCenterGenerateDataForOpenReq:
properties:
end_time:
type: string
limit:
type: string
medium_id:
description: 媒体id
type: string
page:
type: string
start_time:
type: string
required:
- medium_id
type: object
md.DataCenterGenerateDataReq:
properties:
end_time:
@@ -3160,7 +3176,7 @@ paths:
name: args
required: true
schema:
$ref: '#/definitions/md.DataCenterGenerateDataReq'
$ref: '#/definitions/md.DataCenterGenerateDataForOpenReq'
produces:
- application/json
responses:


Ladataan…
Peruuta
Tallenna