dengbiao 2 hafta önce
ebeveyn
işleme
75c46afd41
4 değiştirilmiş dosya ile 126 ekleme ve 1 silme
  1. +1
    -1
      app/hdl/institutional_management/egg_energy/hdl_egg_point.go
  2. +47
    -0
      docs/docs.go
  3. +47
    -0
      docs/swagger.json
  4. +31
    -0
      docs/swagger.yaml

+ 1
- 1
app/hdl/institutional_management/egg_energy/hdl_egg_point.go Dosyayı Görüntüle

@@ -21,7 +21,7 @@ import (
// @param req body md.UserEggIndexReq true "请求参数"
// @Success 200 {object} md.UserEggIndexResp "成功返回"
// @Failure 400 {object} md.Response "具体错误"
// @Router /api/institutionalManagement/eggEnergy/eggPoint/statisticsUserEggIndex [POST]
// @Router /api/institutionalManagement/eggEnergy/eggPoint/userEggIndex [POST]
func UserEggIndex(c *gin.Context) {
var req *md.UserEggIndexReq
if err1 := c.ShouldBindJSON(&req); err1 != nil {


+ 47
- 0
docs/docs.go Dosyayı Görüntüle

@@ -3260,6 +3260,53 @@ const docTemplate = `{
}
}
},
"/api/institutionalManagement/eggEnergy/eggPoint/userEggIndex": {
"post": {
"description": "蛋蛋分管理(着陆页数据)",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"蛋蛋能量"
],
"summary": "制度中心-蛋蛋能量-蛋蛋分管理(着陆页数据)",
"parameters": [
{
"type": "string",
"description": "验证参数Bearer和token空格拼接",
"name": "Authorization",
"in": "header",
"required": true
},
{
"description": "请求参数",
"name": "req",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/md.UserEggIndexReq"
}
}
],
"responses": {
"200": {
"description": "成功返回",
"schema": {
"$ref": "#/definitions/md.UserEggIndexResp"
}
},
"400": {
"description": "具体错误",
"schema": {
"$ref": "#/definitions/md.Response"
}
}
}
}
},
"/api/institutionalManagement/eggEnergy/getBasic": {
"get": {
"description": "基础设置(获取)",


+ 47
- 0
docs/swagger.json Dosyayı Görüntüle

@@ -3253,6 +3253,53 @@
}
}
},
"/api/institutionalManagement/eggEnergy/eggPoint/userEggIndex": {
"post": {
"description": "蛋蛋分管理(着陆页数据)",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"蛋蛋能量"
],
"summary": "制度中心-蛋蛋能量-蛋蛋分管理(着陆页数据)",
"parameters": [
{
"type": "string",
"description": "验证参数Bearer和token空格拼接",
"name": "Authorization",
"in": "header",
"required": true
},
{
"description": "请求参数",
"name": "req",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/md.UserEggIndexReq"
}
}
],
"responses": {
"200": {
"description": "成功返回",
"schema": {
"$ref": "#/definitions/md.UserEggIndexResp"
}
},
"400": {
"description": "具体错误",
"schema": {
"$ref": "#/definitions/md.Response"
}
}
}
}
},
"/api/institutionalManagement/eggEnergy/getBasic": {
"get": {
"description": "基础设置(获取)",


+ 31
- 0
docs/swagger.yaml Dosyayı Görüntüle

@@ -6802,6 +6802,37 @@ paths:
summary: 制度中心-蛋蛋能量-蛋蛋分管理(用户数据列表)
tags:
- 蛋蛋能量
/api/institutionalManagement/eggEnergy/eggPoint/userEggIndex:
post:
consumes:
- application/json
description: 蛋蛋分管理(着陆页数据)
parameters:
- description: 验证参数Bearer和token空格拼接
in: header
name: Authorization
required: true
type: string
- description: 请求参数
in: body
name: req
required: true
schema:
$ref: '#/definitions/md.UserEggIndexReq'
produces:
- application/json
responses:
"200":
description: 成功返回
schema:
$ref: '#/definitions/md.UserEggIndexResp'
"400":
description: 具体错误
schema:
$ref: '#/definitions/md.Response'
summary: 制度中心-蛋蛋能量-蛋蛋分管理(着陆页数据)
tags:
- 蛋蛋能量
/api/institutionalManagement/eggEnergy/getBasic:
get:
consumes:


Yükleniyor…
İptal
Kaydet