1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- @baseUrl = http://localhost:18081/website
- @baseUrl2 = http://localhost:7902/longyuan
- @token = Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MzkyNDU3MzIsImlkIjoiNjMwNWMzZGRkNWQ3OGRiY2I3MGI3ZjcwIiwia2V5Ijoic2t1M2QtdXNlciIsIm5hbWUiOiIxMzQwODU0NzgyMyIsIm9yaWdfaWF0IjoxNzM5MTU5MzMyLCJwYXJlbnQiOiI2MzA1YzNkZGQ1ZDc4ZGJjYjcwYjdmNzAiLCJwaG9uZSI6IjEzNDA4NTQ3ODIzIiwicm9sZSI6IiIsInN0YXRlIjoxLCJ1c2VyVHlwZSI6Mn0.LsDl1clBPDheCtJEb2RVAOame4t8_QBiao0Ty5xFlUE
- ### 登录
- POST {{baseUrl}}/login/password
- Authorization: {{token}}
- Content-Type: application/json
- {
- "loginName": "liwei",
- "password": "图片描述"
- }
- ### 图片
- POST {{baseUrl}}/image/create
- Authorization: {{token}}
- Content-Type: application/json
- {
- "rawImage": {"url":"https://sku3d-test.obs.cn-east-3.myhuaweicloud.com/tmp/a3.png"},
- "nameCn": "test1"
- }
- ### 搜索图片
- GET {{baseUrl2}}/image/fassi/list
- Authorization: {{token}}
- Content-Type: application/json
- {
- "url":"https://sku3d-test.obs.cn-east-3.myhuaweicloud.com/tmp/a3.png"
- }
- ### 删除图片
- POST {{baseUrl}}/image/delete/67611f5d35ffb6c795a6edcf
- Authorization: {{token}}
- ### 获取图片列表
- GET {{baseUrl2}}/image/list
- Authorization: {{token}}
- ### 更新图片
- POST {{baseUrl}}/image/update
- Authorization: {{token}}
- Content-Type: application/json
- {
- "_id": "676393dfd94b5ee22ba7e3c1"
- }
|