diff --git a/app/hdl/institutional_management/egg_energy/hdl_egg_point.go b/app/hdl/institutional_management/egg_energy/hdl_egg_point.go index 7aa2771..7b0b5e0 100644 --- a/app/hdl/institutional_management/egg_energy/hdl_egg_point.go +++ b/app/hdl/institutional_management/egg_energy/hdl_egg_point.go @@ -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 { diff --git a/docs/docs.go b/docs/docs.go index c859487..ffcf148 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -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": "基础设置(获取)", diff --git a/docs/swagger.json b/docs/swagger.json index 08b8e2c..704ba9f 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -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": "基础设置(获取)", diff --git a/docs/swagger.yaml b/docs/swagger.yaml index c276b3a..c3d1ff4 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -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: