From 2e11a75f7fd2d87af6dff77d0506dc83684fbc3d Mon Sep 17 00:00:00 2001 From: shenjiachi Date: Tue, 26 Nov 2024 15:36:20 +0800 Subject: [PATCH] update --- docs/docs.go | 160 ++++++++++++++++++++++++++++++++++++++++++++++ docs/swagger.json | 160 ++++++++++++++++++++++++++++++++++++++++++++++ docs/swagger.yaml | 111 ++++++++++++++++++++++++++++++++ 3 files changed, 431 insertions(+) diff --git a/docs/docs.go b/docs/docs.go index 459483f..f8f2e8d 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -2365,6 +2365,98 @@ const docTemplate = `{ } } }, + "/api/institutionalManagement/moduleSetting/getModuleSetting": { + "get": { + "description": "个性化设置(获取)", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "模块设置" + ], + "summary": "制度中心-模块设置-个性化设置(获取)", + "parameters": [ + { + "type": "string", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", + "required": true + }, + { + "type": "string", + "description": "模块类型值", + "name": "mod_name_value", + "in": "query", + "required": true + } + ], + "responses": { + "200": { + "description": "具体数据", + "schema": { + "$ref": "#/definitions/md.ModuleSettingGetResp" + } + }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, + "/api/institutionalManagement/moduleSetting/updateModuleSetting": { + "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.ModuleSettingUpdateReq" + } + } + ], + "responses": { + "200": { + "description": "修改数据条数", + "schema": { + "type": "int" + } + }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, "/api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsAdd": { "post": { "description": "社区分红(新增)", @@ -7145,6 +7237,74 @@ const docTemplate = `{ } } }, + "md.ModuleSettingGetResp": { + "type": "object", + "properties": { + "data": { + "description": "内容", + "type": "object", + "additionalProperties": true + }, + "mod_name": { + "description": "模块名称", + "type": "string" + }, + "mod_name_list": { + "description": "模块名称对照", + "type": "array", + "items": { + "type": "object", + "additionalProperties": true + } + }, + "position": { + "description": "位置", + "type": "string" + }, + "skip_identifier": { + "description": "跳转标识", + "type": "string" + }, + "subtitle": { + "description": "副标题", + "type": "string" + }, + "title": { + "description": "标题", + "type": "string" + } + } + }, + "md.ModuleSettingUpdateReq": { + "type": "object", + "properties": { + "data": { + "description": "内容", + "type": "object", + "additionalProperties": true + }, + "mod_name_value": { + "description": "模块类型值", + "type": "string" + }, + "position": { + "description": "位置", + "type": "string" + }, + "skip_identifier": { + "description": "跳转标识", + "type": "string" + }, + "subtitle": { + "description": "副标题", + "type": "string" + }, + "title": { + "description": "标题", + "type": "string" + } + } + }, "md.NewUserRedPackageGetBasicResp": { "type": "object", "properties": { diff --git a/docs/swagger.json b/docs/swagger.json index 864af8e..d463cac 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -2358,6 +2358,98 @@ } } }, + "/api/institutionalManagement/moduleSetting/getModuleSetting": { + "get": { + "description": "个性化设置(获取)", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "模块设置" + ], + "summary": "制度中心-模块设置-个性化设置(获取)", + "parameters": [ + { + "type": "string", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", + "required": true + }, + { + "type": "string", + "description": "模块类型值", + "name": "mod_name_value", + "in": "query", + "required": true + } + ], + "responses": { + "200": { + "description": "具体数据", + "schema": { + "$ref": "#/definitions/md.ModuleSettingGetResp" + } + }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, + "/api/institutionalManagement/moduleSetting/updateModuleSetting": { + "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.ModuleSettingUpdateReq" + } + } + ], + "responses": { + "200": { + "description": "修改数据条数", + "schema": { + "type": "int" + } + }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, "/api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsAdd": { "post": { "description": "社区分红(新增)", @@ -7138,6 +7230,74 @@ } } }, + "md.ModuleSettingGetResp": { + "type": "object", + "properties": { + "data": { + "description": "内容", + "type": "object", + "additionalProperties": true + }, + "mod_name": { + "description": "模块名称", + "type": "string" + }, + "mod_name_list": { + "description": "模块名称对照", + "type": "array", + "items": { + "type": "object", + "additionalProperties": true + } + }, + "position": { + "description": "位置", + "type": "string" + }, + "skip_identifier": { + "description": "跳转标识", + "type": "string" + }, + "subtitle": { + "description": "副标题", + "type": "string" + }, + "title": { + "description": "标题", + "type": "string" + } + } + }, + "md.ModuleSettingUpdateReq": { + "type": "object", + "properties": { + "data": { + "description": "内容", + "type": "object", + "additionalProperties": true + }, + "mod_name_value": { + "description": "模块类型值", + "type": "string" + }, + "position": { + "description": "位置", + "type": "string" + }, + "skip_identifier": { + "description": "跳转标识", + "type": "string" + }, + "subtitle": { + "description": "副标题", + "type": "string" + }, + "title": { + "description": "标题", + "type": "string" + } + } + }, "md.NewUserRedPackageGetBasicResp": { "type": "object", "properties": { diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 9f51df0..838144f 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -1684,6 +1684,56 @@ definitions: example: 分数 type: string type: object + md.ModuleSettingGetResp: + properties: + data: + additionalProperties: true + description: 内容 + type: object + mod_name: + description: 模块名称 + type: string + mod_name_list: + description: 模块名称对照 + items: + additionalProperties: true + type: object + type: array + position: + description: 位置 + type: string + skip_identifier: + description: 跳转标识 + type: string + subtitle: + description: 副标题 + type: string + title: + description: 标题 + type: string + type: object + md.ModuleSettingUpdateReq: + properties: + data: + additionalProperties: true + description: 内容 + type: object + mod_name_value: + description: 模块类型值 + type: string + position: + description: 位置 + type: string + skip_identifier: + description: 跳转标识 + type: string + subtitle: + description: 副标题 + type: string + title: + description: 标题 + type: string + type: object md.NewUserRedPackageGetBasicResp: properties: create_at: @@ -4939,6 +4989,67 @@ paths: summary: 制度中心-绿色能量持有者明细-蛋蛋积分流水明细(查询) tags: - 公排管理 + /api/institutionalManagement/moduleSetting/getModuleSetting: + get: + consumes: + - application/json + description: 个性化设置(获取) + parameters: + - description: 验证参数Bearer和token空格拼接 + in: header + name: Authorization + required: true + type: string + - description: 模块类型值 + in: query + name: mod_name_value + required: true + type: string + produces: + - application/json + responses: + "200": + description: 具体数据 + schema: + $ref: '#/definitions/md.ModuleSettingGetResp' + "400": + description: 具体错误 + schema: + $ref: '#/definitions/md.Response' + summary: 制度中心-模块设置-个性化设置(获取) + tags: + - 模块设置 + /api/institutionalManagement/moduleSetting/updateModuleSetting: + 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.ModuleSettingUpdateReq' + produces: + - application/json + responses: + "200": + description: 修改数据条数 + schema: + type: int + "400": + description: 具体错误 + schema: + $ref: '#/definitions/md.Response' + summary: 制度中心-模块设置-个性化设置(更新) + tags: + - 模块设置 /api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsAdd: post: consumes: