4 changed files with 61 additions and 27 deletions
@ -0,0 +1,35 @@ |
|||||
|
@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-- |
||||
Loading…
Reference in new issue