RuoYi-Cloud/api/RYAS-Cloud.postman_collecti...

178 lines
2.7 KiB
JSON

{
"info": {
"_postman_id": "9067946a-288e-4a37-a276-4c453aa850e1",
"name": "RYAS-Cloud",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "28622810"
},
"item": [
{
"name": "登录",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"username\": \"admin\",\r\n \"password\": \"admin123\"\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/auth/specialAuth/login",
"host": [
"{{baseUrl}}"
],
"path": [
"auth",
"specialAuth",
"login"
]
}
},
"response": []
},
{
"name": "登出",
"request": {
"method": "DELETE",
"header": [],
"url": {
"raw": "{{baseUrl}}/auth/logout",
"host": [
"{{baseUrl}}"
],
"path": [
"auth",
"logout"
]
}
},
"response": []
},
{
"name": "打印测试信息-System",
"request": {
"auth": {
"type": "noauth"
},
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/system/test/showInfo",
"host": [
"{{baseUrl}}"
],
"path": [
"system",
"test",
"showInfo"
]
}
},
"response": []
},
{
"name": "打印测试信息-WMS",
"request": {
"auth": {
"type": "noauth"
},
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/wms/test/showInfo",
"host": [
"{{baseUrl}}"
],
"path": [
"wms",
"test",
"showInfo"
]
}
},
"response": []
},
{
"name": "文件上传",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "file",
"type": "file",
"src": "/E:/图库/AGVCar02.png"
}
]
},
"url": {
"raw": "{{baseUrl}}/file/upload",
"host": [
"{{baseUrl}}"
],
"path": [
"file",
"upload"
]
}
},
"response": []
}
],
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "{{loginToken}}",
"type": "string"
},
{
"key": "key",
"value": "Authorization",
"type": "string"
}
]
},
"event": [
{
"listen": "prerequest",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
}
],
"variable": [
{
"key": "baseUrl",
"value": "http://localhost:8080",
"type": "string"
},
{
"key": "loginToken",
"value": "",
"type": "string"
}
]
}