Pārlūkot izejas kodu

会员加入回收站

会员删除
master
huangjiajun pirms 1 nedēļas
vecāks
revīzija
ddf492d395
3 mainītis faili ar 539 papildinājumiem un 6 dzēšanām
  1. +204
    -4
      docs/docs.go
  2. +202
    -1
      docs/swagger.json
  3. +133
    -1
      docs/swagger.yaml

+ 204
- 4
docs/docs.go Parādīt failu

@@ -1,4 +1,5 @@
// Package docs Code generated by swaggo/swag. DO NOT EDIT
// Code generated by swaggo/swag. DO NOT EDIT.

package docs

import "github.com/swaggo/swag"
@@ -1523,7 +1524,9 @@ const docTemplate = `{
"name": "req",
"in": "body",
"required": true,
"schema": {}
"schema": {
"type": "object"
}
}
],
"responses": {
@@ -6723,6 +6726,194 @@ const docTemplate = `{
}
}
},
"/api/memberCenter/userManagement/userDelete": {
"post": {
"description": "删除到回收站",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"会员中心"
],
"summary": "会员中心-用户管理-永久删除",
"parameters": [
{
"type": "string",
"description": "验证参数Bearer和token空格拼接",
"name": "Authorization",
"in": "header",
"required": true
},
{
"description": "用户ID 必传",
"name": "req",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/md.UserManagementUserInfoReq"
}
}
],
"responses": {
"200": {
"description": "修改数据行数",
"schema": {
"type": "int"
}
},
"400": {
"description": "具体错误",
"schema": {
"$ref": "#/definitions/md.Response"
}
}
}
}
},
"/api/memberCenter/userManagement/userRecycle": {
"post": {
"description": "删除到回收站",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"会员中心"
],
"summary": "会员中心-用户管理-删除到回收站",
"parameters": [
{
"type": "string",
"description": "验证参数Bearer和token空格拼接",
"name": "Authorization",
"in": "header",
"required": true
},
{
"description": "用户ID 必传",
"name": "req",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/md.UserManagementUserInfoReq"
}
}
],
"responses": {
"200": {
"description": "修改数据行数",
"schema": {
"type": "int"
}
},
"400": {
"description": "具体错误",
"schema": {
"$ref": "#/definitions/md.Response"
}
}
}
}
},
"/api/memberCenter/userManagement/userRecycleCancel": {
"post": {
"description": "恢复到会员列表",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"会员中心"
],
"summary": "会员中心-用户管理-恢复到会员列表",
"parameters": [
{
"type": "string",
"description": "验证参数Bearer和token空格拼接",
"name": "Authorization",
"in": "header",
"required": true
},
{
"description": "用户ID 必传",
"name": "req",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/md.UserManagementUserInfoReq"
}
}
],
"responses": {
"200": {
"description": "修改数据行数",
"schema": {
"type": "int"
}
},
"400": {
"description": "具体错误",
"schema": {
"$ref": "#/definitions/md.Response"
}
}
}
}
},
"/api/memberCenter/userManagement/userRecycleList": {
"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.UserManagementGetUserListReq"
}
}
],
"responses": {
"200": {
"description": "具体数据",
"schema": {
"$ref": "#/definitions/md.UserManagementGetUserListResp"
}
},
"400": {
"description": "具体错误",
"schema": {
"$ref": "#/definitions/md.Response"
}
}
}
}
},
"/api/notice/aliyunSms/file/phone": {
"post": {
"description": "短信推送记录-通知模板",
@@ -15841,6 +16032,9 @@ const docTemplate = `{
"description": "是否实名 0.未实名,1.已实名",
"type": "integer"
},
"is_recycle": {
"type": "string"
},
"level": {
"description": "会员等级",
"type": "integer"
@@ -16033,6 +16227,14 @@ const docTemplate = `{
}
}
},
"md.UserManagementUserInfoReq": {
"type": "object",
"properties": {
"uid": {
"type": "string"
}
}
},
"md.UserRealName": {
"type": "object",
"properties": {
@@ -16609,8 +16811,6 @@ var SwaggerInfo = &swag.Spec{
Description: "管理后台接口文档",
InfoInstanceName: "swagger",
SwaggerTemplate: docTemplate,
LeftDelim: "{{",
RightDelim: "}}",
}

func init() {


+ 202
- 1
docs/swagger.json Parādīt failu

@@ -1516,7 +1516,9 @@
"name": "req",
"in": "body",
"required": true,
"schema": {}
"schema": {
"type": "object"
}
}
],
"responses": {
@@ -6716,6 +6718,194 @@
}
}
},
"/api/memberCenter/userManagement/userDelete": {
"post": {
"description": "删除到回收站",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"会员中心"
],
"summary": "会员中心-用户管理-永久删除",
"parameters": [
{
"type": "string",
"description": "验证参数Bearer和token空格拼接",
"name": "Authorization",
"in": "header",
"required": true
},
{
"description": "用户ID 必传",
"name": "req",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/md.UserManagementUserInfoReq"
}
}
],
"responses": {
"200": {
"description": "修改数据行数",
"schema": {
"type": "int"
}
},
"400": {
"description": "具体错误",
"schema": {
"$ref": "#/definitions/md.Response"
}
}
}
}
},
"/api/memberCenter/userManagement/userRecycle": {
"post": {
"description": "删除到回收站",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"会员中心"
],
"summary": "会员中心-用户管理-删除到回收站",
"parameters": [
{
"type": "string",
"description": "验证参数Bearer和token空格拼接",
"name": "Authorization",
"in": "header",
"required": true
},
{
"description": "用户ID 必传",
"name": "req",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/md.UserManagementUserInfoReq"
}
}
],
"responses": {
"200": {
"description": "修改数据行数",
"schema": {
"type": "int"
}
},
"400": {
"description": "具体错误",
"schema": {
"$ref": "#/definitions/md.Response"
}
}
}
}
},
"/api/memberCenter/userManagement/userRecycleCancel": {
"post": {
"description": "恢复到会员列表",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"会员中心"
],
"summary": "会员中心-用户管理-恢复到会员列表",
"parameters": [
{
"type": "string",
"description": "验证参数Bearer和token空格拼接",
"name": "Authorization",
"in": "header",
"required": true
},
{
"description": "用户ID 必传",
"name": "req",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/md.UserManagementUserInfoReq"
}
}
],
"responses": {
"200": {
"description": "修改数据行数",
"schema": {
"type": "int"
}
},
"400": {
"description": "具体错误",
"schema": {
"$ref": "#/definitions/md.Response"
}
}
}
}
},
"/api/memberCenter/userManagement/userRecycleList": {
"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.UserManagementGetUserListReq"
}
}
],
"responses": {
"200": {
"description": "具体数据",
"schema": {
"$ref": "#/definitions/md.UserManagementGetUserListResp"
}
},
"400": {
"description": "具体错误",
"schema": {
"$ref": "#/definitions/md.Response"
}
}
}
}
},
"/api/notice/aliyunSms/file/phone": {
"post": {
"description": "短信推送记录-通知模板",
@@ -15834,6 +16024,9 @@
"description": "是否实名 0.未实名,1.已实名",
"type": "integer"
},
"is_recycle": {
"type": "string"
},
"level": {
"description": "会员等级",
"type": "integer"
@@ -16026,6 +16219,14 @@
}
}
},
"md.UserManagementUserInfoReq": {
"type": "object",
"properties": {
"uid": {
"type": "string"
}
}
},
"md.UserRealName": {
"type": "object",
"properties": {


+ 133
- 1
docs/swagger.yaml Parādīt failu

@@ -4760,6 +4760,8 @@ definitions:
is_real_name:
description: 是否实名 0.未实名,1.已实名
type: integer
is_recycle:
type: string
level:
description: 会员等级
type: integer
@@ -4897,6 +4899,11 @@ definitions:
description: 微信号
type: string
type: object
md.UserManagementUserInfoReq:
properties:
uid:
type: string
type: object
md.UserRealName:
properties:
create_time:
@@ -6276,7 +6283,8 @@ paths:
in: body
name: req
required: true
schema: {}
schema:
type: object
produces:
- application/json
responses:
@@ -9716,6 +9724,130 @@ paths:
summary: 制度中心-会员中心-用户管理-会员明细概况(获取)
tags:
- 会员中心
/api/memberCenter/userManagement/userDelete:
post:
consumes:
- application/json
description: 删除到回收站
parameters:
- description: 验证参数Bearer和token空格拼接
in: header
name: Authorization
required: true
type: string
- description: 用户ID 必传
in: body
name: req
required: true
schema:
$ref: '#/definitions/md.UserManagementUserInfoReq'
produces:
- application/json
responses:
"200":
description: 修改数据行数
schema:
type: int
"400":
description: 具体错误
schema:
$ref: '#/definitions/md.Response'
summary: 会员中心-用户管理-永久删除
tags:
- 会员中心
/api/memberCenter/userManagement/userRecycle:
post:
consumes:
- application/json
description: 删除到回收站
parameters:
- description: 验证参数Bearer和token空格拼接
in: header
name: Authorization
required: true
type: string
- description: 用户ID 必传
in: body
name: req
required: true
schema:
$ref: '#/definitions/md.UserManagementUserInfoReq'
produces:
- application/json
responses:
"200":
description: 修改数据行数
schema:
type: int
"400":
description: 具体错误
schema:
$ref: '#/definitions/md.Response'
summary: 会员中心-用户管理-删除到回收站
tags:
- 会员中心
/api/memberCenter/userManagement/userRecycleCancel:
post:
consumes:
- application/json
description: 恢复到会员列表
parameters:
- description: 验证参数Bearer和token空格拼接
in: header
name: Authorization
required: true
type: string
- description: 用户ID 必传
in: body
name: req
required: true
schema:
$ref: '#/definitions/md.UserManagementUserInfoReq'
produces:
- application/json
responses:
"200":
description: 修改数据行数
schema:
type: int
"400":
description: 具体错误
schema:
$ref: '#/definitions/md.Response'
summary: 会员中心-用户管理-恢复到会员列表
tags:
- 会员中心
/api/memberCenter/userManagement/userRecycleList:
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.UserManagementGetUserListReq'
produces:
- application/json
responses:
"200":
description: 具体数据
schema:
$ref: '#/definitions/md.UserManagementGetUserListResp'
"400":
description: 具体错误
schema:
$ref: '#/definitions/md.Response'
summary: 会员中心-用户管理-回收站列表
tags:
- 会员中心
/api/notice/aliyunSms/file/phone:
post:
consumes:


||||||
x
 
000:0
Notiek ielāde…
Atcelt
Saglabāt