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.

151 lines
2.6 KiB

@type = content-type: application/json;charset=utf-8
@token = eyJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE2NDI0MTQ2NjEsInN1YiI6IjE0ODE4MzE1NDk5NDczNTEwNDAiLCJhdXRoSWQiOiIwIiwiZXhwIjoxNjQyNDIxODYxfQ.t-r0v0X2Xi_ZXv616Kavy7SCaF2Q-cqdrZNkLnVAXcY
### 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": 1,
"data": {
"identifier": "15335153627",
"credential": "1111"
}
}
1642674044832
1642674044644
###
POST http://localhost:7300/business/save
{{type}}
deviceId: 66666
{
"param":{
"name": "123777",
"description":"",
"url":"",
"startUsing":1,
"pub":0
}
}
###
POST http://localhost:7300/business/query
{{type}}
deviceId: 66666
{
"param":{
"name":"",
"depth":0,
"pageNum":1,
"pageSize":15
}
}
###
POST http://localhost:7300/plugin/save
{{type}}
deviceId: 66666
{
"param":{
"name": "8",
"versions": "v1.0",
"intro":"333",
"description":"",
"preview":"",
"carousel":[
"1",
"2",
"3",
"4"
],
"html":"aaa",
"css":"bbb",
"js":"ccc",
"config":"ddd",
"publish":1
}
}
###
POST http://101.201.226.163/gateway/opt/plugin/query
# POST http://localhost:7300/plugin/query
{{type}}
deviceId: 66666
{
"param":{
}
}
###
POST http://localhost:7300/plugin/update
{{type}}
deviceId: 66666
{
"param":{
"id":"1483390509519212544",
"name":"66666",
"versions":"49779979",
"intro":"",
"preview":"wwwwa",
"carousel":[
"asdasd",
"asdasd",
"werter"
]
}
}
###
POST http://localhost:7300/business/relevance
{{type}}
deviceId: 66666
{
"param":{
"pluginId":"1483357804496687104",
"businessId":"4"
}
}
###
# POST http://localhost:7300/business/queryPlugin
POST http://101.201.226.163/gateway/opt/business/queryPlugin
{{type}}
deviceId: 66666
{
"param":{
"businessId":"1484436309124845568",
"pageNum":"1",
"pageSize":"10"
}
}
###
POST http://localhost:7300/business/updateConfig
{{type}}
deviceId: 66666
{
"param":{
"businessPluginId":"1483391162832392192",
"config":"99999999999"
}
}