From 30e5f59c3a40ba21df41b6036e180470479f7419 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Mon, 23 Dec 2024 14:10:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=9A=E5=91=98=E8=87=AA=E5=AE=9A=E4=B9=89?= =?UTF-8?q?=E9=82=80=E8=AF=B7=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/docs.go | 103 ++++++++++++++++++++++++++++++++++++++++++++++ docs/swagger.json | 103 ++++++++++++++++++++++++++++++++++++++++++++++ docs/swagger.yaml | 69 +++++++++++++++++++++++++++++++ 3 files changed, 275 insertions(+) diff --git a/docs/docs.go b/docs/docs.go index 66a8329..e28cf8f 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -6655,6 +6655,53 @@ const docTemplate = `{ } } }, + "/api/memberCenter/userManagement/addUser": { + "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.InviteCodeReq" + } + } + ], + "responses": { + "200": { + "description": "具体数据", + "schema": { + "type": "string" + } + }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, "/api/memberCenter/userManagement/balanceDetail": { "get": { "description": "会员明细(余额获取)", @@ -11177,6 +11224,13 @@ const docTemplate = `{ "description": "头像", "type": "string" }, + "avatar_url": { + "description": "头像", + "type": "string" + }, + "custom_invite_code": { + "type": "string" + }, "levelId": { "description": "会员等级 ID", "type": "integer" @@ -11221,6 +11275,9 @@ const docTemplate = `{ "description": "账号状态 1正常,2冻结", "type": "integer" }, + "system_invite_code": { + "type": "string" + }, "tag": { "description": "标签名称", "type": "array", @@ -11231,6 +11288,9 @@ const docTemplate = `{ "union_id": { "description": "微信号", "type": "string" + }, + "wechat_account": { + "type": "string" } } }, @@ -13781,6 +13841,17 @@ const docTemplate = `{ } } }, + "md.InviteCodeReq": { + "type": "object", + "properties": { + "custom_invite_code": { + "type": "string" + }, + "id": { + "type": "string" + } + } + }, "md.JPushGetLevelListResp": { "type": "object", "properties": { @@ -14988,6 +15059,35 @@ const docTemplate = `{ } } }, + "md.RegisterReq": { + "type": "object", + "required": [ + "mobile" + ], + "properties": { + "avatar": { + "type": "string" + }, + "mobile": { + "type": "string" + }, + "nickname": { + "type": "string" + }, + "parent_uid": { + "type": "string", + "example": "上级用户" + }, + "password": { + "type": "string", + "example": "密码 如 123" + }, + "type": { + "type": "string", + "example": "app:APP注册、h5:H5注册 admin 后台" + } + } + }, "md.ReleaseDynamicReq": { "type": "object", "properties": { @@ -16975,6 +17075,9 @@ const docTemplate = `{ "union_id": { "description": "微信号", "type": "string" + }, + "wechat_account": { + "type": "string" } } }, diff --git a/docs/swagger.json b/docs/swagger.json index 1da5309..27b9b1c 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -6647,6 +6647,53 @@ } } }, + "/api/memberCenter/userManagement/addUser": { + "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.InviteCodeReq" + } + } + ], + "responses": { + "200": { + "description": "具体数据", + "schema": { + "type": "string" + } + }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, "/api/memberCenter/userManagement/balanceDetail": { "get": { "description": "会员明细(余额获取)", @@ -11169,6 +11216,13 @@ "description": "头像", "type": "string" }, + "avatar_url": { + "description": "头像", + "type": "string" + }, + "custom_invite_code": { + "type": "string" + }, "levelId": { "description": "会员等级 ID", "type": "integer" @@ -11213,6 +11267,9 @@ "description": "账号状态 1正常,2冻结", "type": "integer" }, + "system_invite_code": { + "type": "string" + }, "tag": { "description": "标签名称", "type": "array", @@ -11223,6 +11280,9 @@ "union_id": { "description": "微信号", "type": "string" + }, + "wechat_account": { + "type": "string" } } }, @@ -13773,6 +13833,17 @@ } } }, + "md.InviteCodeReq": { + "type": "object", + "properties": { + "custom_invite_code": { + "type": "string" + }, + "id": { + "type": "string" + } + } + }, "md.JPushGetLevelListResp": { "type": "object", "properties": { @@ -14980,6 +15051,35 @@ } } }, + "md.RegisterReq": { + "type": "object", + "required": [ + "mobile" + ], + "properties": { + "avatar": { + "type": "string" + }, + "mobile": { + "type": "string" + }, + "nickname": { + "type": "string" + }, + "parent_uid": { + "type": "string", + "example": "上级用户" + }, + "password": { + "type": "string", + "example": "密码 如 123" + }, + "type": { + "type": "string", + "example": "app:APP注册、h5:H5注册 admin 后台" + } + } + }, "md.ReleaseDynamicReq": { "type": "object", "properties": { @@ -16967,6 +17067,9 @@ "union_id": { "description": "微信号", "type": "string" + }, + "wechat_account": { + "type": "string" } } }, diff --git a/docs/swagger.yaml b/docs/swagger.yaml index da674a5..627e044 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -1035,6 +1035,11 @@ definitions: avatar: description: 头像 type: string + avatar_url: + description: 头像 + type: string + custom_invite_code: + type: string level_name: description: 会员等级名称 type: string @@ -1068,6 +1073,8 @@ definitions: state: description: 账号状态 1正常,2冻结 type: integer + system_invite_code: + type: string tag: description: 标签名称 items: @@ -1076,6 +1083,8 @@ definitions: union_id: description: 微信号 type: string + wechat_account: + type: string type: object md.BatchAddVirtualCoinsReq: properties: @@ -2836,6 +2845,13 @@ definitions: content_image_url: type: string type: object + md.InviteCodeReq: + properties: + custom_invite_code: + type: string + id: + type: string + type: object md.JPushGetLevelListResp: properties: list: @@ -3690,6 +3706,26 @@ definitions: description: 高于x元 type: string type: object + md.RegisterReq: + properties: + avatar: + type: string + mobile: + type: string + nickname: + type: string + parent_uid: + example: 上级用户 + type: string + password: + example: 密码 如 123 + type: string + type: + example: app:APP注册、h5:H5注册 admin 后台 + type: string + required: + - mobile + type: object md.ReleaseDynamicReq: properties: content: @@ -5067,6 +5103,8 @@ definitions: union_id: description: 微信号 type: string + wechat_account: + type: string type: object md.UserManagementUserInfoCancelReq: properties: @@ -9870,6 +9908,37 @@ paths: summary: 制度中心-会员中心-标签管理(更新) tags: - 会员中心 + /api/memberCenter/userManagement/addUser: + 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.InviteCodeReq' + produces: + - application/json + responses: + "200": + description: 具体数据 + schema: + type: string + "400": + description: 具体错误 + schema: + $ref: '#/definitions/md.Response' + summary: 制度中心-会员中心-用户管理-用户自定义邀请码修改 + tags: + - 会员中心 /api/memberCenter/userManagement/balanceDetail: get: consumes: