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.
36 lines
808 B
36 lines
808 B
|
4 years ago
|
@localhost = http://localhost:7240/v4.0
|
||
|
|
@localhost_tall = http://localhost:7130/v3.0
|
||
|
|
@test_tall = http://192.168.0.99:7130/v3.0
|
||
|
|
@type = content-type: application/json;charset=utf-8
|
||
|
|
|
||
|
|
### 登录
|
||
|
|
# @name login
|
||
|
|
POST {{localhost_tall}}/users/signin
|
||
|
|
{{type}}
|
||
|
|
|
||
|
|
{
|
||
|
|
"client": 1,
|
||
|
|
"type": 3,
|
||
|
|
"data": {
|
||
|
|
"identifier": "whj",
|
||
|
|
"credential": "123456"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
//Excel
|
||
|
|
### 导入Code字典
|
||
|
|
POST {{localhost}}/dictionaries/importCode
|
||
|
|
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
|
||
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
||
|
|
|
||
|
|
title
|
||
|
|
------WebKitFormBoundary7MA4YWxkTrZu0gW
|
||
|
|
Content-Disposition: form-data; name="param"; filename="code字典表(1).xlsx"
|
||
|
|
Content-Type: xlsx
|
||
|
|
|
||
|
|
< C:\Users\23778\Downloads\code字典表(1).xlsx
|
||
|
|
|
||
|
|
------WebKitFormBoundary7MA4YWxkTrZu0gW--
|