You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

112 lines
2.2 KiB

2 years ago
info:
contact: {}
paths:
/index:
get:
responses:
"200":
description: OK
schema:
type: string
tags:
- 首页
/user/createUser:
get:
parameters:
- description: 用户名
in: query
name: name
type: string
- description: 密码
in: query
name: password
type: string
- description: 确认密码
in: query
name: repassword
type: string
responses:
"200":
description: code","message"}
schema:
type: string
summary: 新增用户
tags:
- 用户模块
/user/deleteUser:
get:
parameters:
- description: id
in: query
name: id
type: string
responses:
"200":
description: code","message"}
schema:
type: string
summary: 删除用户
tags:
- 用户模块
/user/findUserByNameAndPwd:
get:
parameters:
- description: 用户名
in: query
name: name
type: string
- description: 密码
in: query
name: password
type: string
responses:
"200":
description: code","message"}
schema:
type: string
summary: 所有用户
tags:
- 用户模块
/user/getUserList:
get:
responses:
"200":
description: code","message"}
schema:
type: string
summary: 所有用户
tags:
- 用户模块
/user/updateUser:
post:
parameters:
- description: id
in: formData
name: id
type: string
- description: name
in: formData
name: name
type: string
- description: password
in: formData
name: password
type: string
- description: phone
in: formData
name: phone
type: string
- description: email
in: formData
name: email
type: string
responses:
"200":
description: code","message"}
schema:
type: string
summary: 修改用户
tags:
- 用户模块
swagger: "2.0"