{
"info": {
"_postman_id": "5b32a269-5508-400a-a7ca-5e08540cdf79",
"name": "CPS2",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "Abp",
"item": [
{
"name": "菜单",
"item": [
{
"name": "菜单路由",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/api/menu/route?=",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"menu",
"route"
],
"query": [
{
"key": "",
"value": ""
}
]
}
},
"response": []
},
{
"name": "菜单初始化接口",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/api/menu/init",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"menu",
"init"
]
}
},
"response": []
}
]
},
{
"name": "用户",
"item": [
{
"name": "用户登录",
"protocolProfileBehavior": {
"disabledSystemHeaders": {}
},
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"orgid\":46,\r\n \"username\": \"admin\",\r\n \"password\": \"46F94C8DE14FB36680850768FF1B7F2A\"\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/api/login",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"login"
]
}
},
"response": []
},
{
"name": "用户登录切换组织",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"orgId\": 12\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/api/login/switch",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"login",
"switch"
]
}
},
"response": []
},
{
"name": "登录用户查看",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/api/login",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"login"
],
"query": [
{
"key": "Id",
"value": "2",
"disabled": true
}
]
}
},
"response": []
},
{
"name": "用户查询数据",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/api/users?Id=2",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"users"
],
"query": [
{
"key": "Id",
"value": "2"
}
]
}
},
"response": []
},
{
"name": "用户分页数据",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/api/users/paging",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"users",
"paging"
]
}
},
"response": []
},
{
"name": "用户新增",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"profilePictureId\": null,\r\n \"fullName\": \"赵薇3\",\r\n \"emailAddress\": \"1234563@qq.com\",\r\n \"phoneNumber\": \"\",\r\n \"userName\": \"zzz3\",\r\n \"password\": \"\",\r\n \"cardNum\": \"\",\r\n \"isRandomPassword\": true,\r\n \"shouldChangePasswordNextLogin\": true,\r\n \"sendActivationEmail\": true,\r\n \"isLockoutEnabled\": true,\r\n \"isActive\": true\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/api/users",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"users"
]
}
},
"response": []
},
{
"name": "用户修改",
"request": {
"method": "PUT",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"id\": 13,\r\n \"profilePictureId\": null,\r\n \"fullName\": \"赵薇\",\r\n \"emailAddress\": \"123456@qq.com\",\r\n \"phoneNumber\": \"\",\r\n \"userName\": \"zzz\",\r\n \"password\": \"\",\r\n \"cardNum\": \"\",\r\n \"isRandomPassword\": true,\r\n \"shouldChangePasswordNextLogin\": true,\r\n \"sendActivationEmail\": true,\r\n \"isLockoutEnabled\": true,\r\n \"isActive\": true\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/api/users",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"users"
]
}
},
"response": []
},
{
"name": "用户所属部门修改",
"request": {
"method": "PUT",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"id\": 135,\r\n \"deptId\": 125\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/api/users/department",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"users",
"department"
]
}
},
"response": []
},
{
"name": "用户删除",
"request": {
"method": "DELETE",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"id\": 15\r\n}\r\n//报错原因,DELETEUSERFULL字段类型是bigin",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/api/users",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"users"
]
}
},
"response": []
},
{
"name": "用户登录信息",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/api/users-person",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"users-person"
]
}
},
"response": []
},
{
"name": "用户登录组织信息",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/api/users-person/organization",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"users-person",
"organization"
]
}
},
"response": []
},
{
"name": "用户所有组织树",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/api/users-
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
CPS2.postman_collection.rar (2个子文件)
CPS2.postman_collection.json 369KB
cps2.0.postman_collection.json 99KB
共 2 条
- 1
资源评论
a503424551
- 粉丝: 0
- 资源: 22
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功