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.
 
 
 
 
 

79 lines
1.5 KiB

@dev = http://127.0.0.1:7270/v1.0/
@test = http://10.119.190.12:8000/v1.0/
@www = http://www.tall.wiki/gateway/yanyuan/v2.0/
@type = content-type: application/json;charset=utf-8
###
POST {{test}}/carousel/query
{{type}}
{
"param":{
"showPage":"0000"
}
}
###
GET {{test}}/content/list?showPage=0201&showPage=0210&year=&showType=1&pageNum=1&pageSize=5
###
GET {{test}}/content/detail?introId=&showPage=0101
###
GET {{test}}/content/condition?showPage=0101
###
GET {{test}}/constant/get?code=otherLink
--
### 928bfd2577490322a6e19b793691467e
# @name login
POST {{test}}/back/home/login HTTP/1.1
{{type}}
{
"userName":"admin",
"password": "123456"
}
### 查询菜单
POST {{test}}back/home/menus HTTP/1.1
{{type}}
Authorization: {{login.response.body.$.data.token}}
{
}
### 添加用户
POST {{test}}/admin/add HTTP/1.1
Authorization: {{login.response.body.$.data.token}}
{{type}}
{
"avatarUrl":"https://img2.baidu.com/it/u=1111829880,955526888&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=500",
"userName":"admin",
"password": "123456",
"realName":"张三",
"phone":"15500000000"
}
### 添加用户
POST {{test}}/back/contentIntro/list HTTP/1.1
{{type}}
{
}
### 查询轮播图列表
POST {{test}}/back/carousel/queryCarousel HTTP/1.1
Authorization: {{login.response.body.$.data.token}}
{{type}}
{
"pageNum": 1,
"pageSize":10,
"showPage":""
}