@@ -21,7 +21,7 @@ import ( | |||||
// @param req body md.UserEggIndexReq true "请求参数" | // @param req body md.UserEggIndexReq true "请求参数" | ||||
// @Success 200 {object} md.UserEggIndexResp "成功返回" | // @Success 200 {object} md.UserEggIndexResp "成功返回" | ||||
// @Failure 400 {object} md.Response "具体错误" | // @Failure 400 {object} md.Response "具体错误" | ||||
// @Router /api/institutionalManagement/eggEnergy/eggPoint/statisticsUserEggIndex [POST] | |||||
// @Router /api/institutionalManagement/eggEnergy/eggPoint/userEggIndex [POST] | |||||
func UserEggIndex(c *gin.Context) { | func UserEggIndex(c *gin.Context) { | ||||
var req *md.UserEggIndexReq | var req *md.UserEggIndexReq | ||||
if err1 := c.ShouldBindJSON(&req); err1 != nil { | if err1 := c.ShouldBindJSON(&req); err1 != nil { | ||||
@@ -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": { | "/api/institutionalManagement/eggEnergy/getBasic": { | ||||
"get": { | "get": { | ||||
"description": "基础设置(获取)", | "description": "基础设置(获取)", | ||||
@@ -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": { | "/api/institutionalManagement/eggEnergy/getBasic": { | ||||
"get": { | "get": { | ||||
"description": "基础设置(获取)", | "description": "基础设置(获取)", | ||||
@@ -6802,6 +6802,37 @@ paths: | |||||
summary: 制度中心-蛋蛋能量-蛋蛋分管理(用户数据列表) | summary: 制度中心-蛋蛋能量-蛋蛋分管理(用户数据列表) | ||||
tags: | 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: | /api/institutionalManagement/eggEnergy/getBasic: | ||||
get: | get: | ||||
consumes: | consumes: | ||||