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.
119 lines
2.8 KiB
119 lines
2.8 KiB
@type = content-type: application/json;charset=utf-8
|
|
|
|
### login
|
|
# @name login
|
|
POST http://localhost:7290/users/signin
|
|
# POST http://101.201.226.163/gateway/ptostall/users/signin
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
deviceId: 66666
|
|
|
|
{
|
|
"client": 0,
|
|
"type": 3,
|
|
"data": {
|
|
"identifier": "song",
|
|
"credential": "123456"
|
|
|
|
}
|
|
}
|
|
|
|
|
|
### 查找域内的业务列表
|
|
POST http://localhost:7290/business/query
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.tokenObj.token}}
|
|
deviceId: 66666
|
|
|
|
{}
|
|
|
|
### 查找引导页信息
|
|
GET http://localhost:7290/business/guide?type=1
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.tokenObj.token}}
|
|
deviceId: 66666
|
|
|
|
|
|
|
|
|
|
### 获取accessToken
|
|
# POST http://101.201.226.163/gateway/ptostall/project/query
|
|
POST http://localhost:7290/business/accessToken
|
|
{{type}}
|
|
deviceId: 66666
|
|
|
|
{
|
|
"appId":"appId",
|
|
"secret":"secret"
|
|
}
|
|
|
|
|
|
### 通过token获取用户信息
|
|
# POST http://101.201.226.163/gateway/ptostall/project/query
|
|
POST http://localhost:7290/users/businessToken
|
|
{{type}}
|
|
deviceId: 66666
|
|
accessToken: eyJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE2NDI3NjI2MTgsInN1YiI6ImFwcElkIiwic2VjcmV0Ijoic2VjcmV0IiwiZXhwIjoxNjQyNzY5ODE4fQ.FI8l-oVFSJKegaB08mdoBJD1EppyL87TA31pj5FzcKA
|
|
|
|
{
|
|
"token":"eyJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE2NDI3NjI3NTIsInN1YiI6IjE0ODM2NDE4ODUzMjczNjQwOTYiLCJhdXRoSWQiOiIxNDgxODkxMDY4MjI4NDA3Mjk3IiwiZXhwIjoxNjQyNzY5OTUyfQ.-Sbjl5SZw2KfVbxLjz4EjSa6yybZq_ur9Am69lQCobg"
|
|
}
|
|
|
|
|
|
###
|
|
# POST http://101.201.226.163/gateway/ptostall/project/query
|
|
POST http://localhost:7290/project/query
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.tokenObj.token}}
|
|
deviceId: 66666
|
|
|
|
{
|
|
"param":{
|
|
"startTime": 0,
|
|
"endTime": 1
|
|
}
|
|
}
|
|
###
|
|
POST http://127.0.0.1:7290/business/accessToken
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.tokenObj.token}}
|
|
deviceId: 66666
|
|
|
|
{
|
|
"param":{
|
|
"startTime": 0,
|
|
"endTime": 1
|
|
}
|
|
}
|
|
|
|
### 图形验证码
|
|
GET http://localhost:7290/users/code
|
|
# http://101.201.226.163/gateway/ptostall/users/code
|
|
{{type}}
|
|
|
|
### 手机短信验证码
|
|
GET http://localhost:7290/users/smscode?phone=15335153627&verificationCodeId=1482998821449633792&verificationCodeValue=65
|
|
# GET http://101.201.226.163/gateway/ptostall/users/smscode?phone=15335153627&verificationCodeId=1481460299517399040&verificationCodeValue=55
|
|
{{type}}
|
|
|
|
|
|
|
|
### 工厂
|
|
GET http://121.36.106.168/gateway/df_diplomatist/debug
|
|
{{type}}
|
|
|
|
### 运维
|
|
# GET http://101.201.226.163/gateway/dh_diplomatist/debug
|
|
# GET http://101.201.226.163/gateway/dh_ptos/debug
|
|
GET http://101.201.226.163/gateway/carbasics/v4.0/debug
|
|
{{type}}
|
|
|
|
|
|
### 管理
|
|
# GET http://127.0.0.1:7020/ptos/debug
|
|
# GET http://127.0.0.1:7020/ptos/project/query
|
|
{{type}}
|
|
|
|
###
|
|
GET http://127.0.0.1:7020/ptos//debug
|
|
{{type}}
|
|
|