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.
83 lines
1.9 KiB
83 lines
1.9 KiB
|
5 years ago
|
@tall = https://www.tall.wiki/gateway/tall/v1.0
|
||
|
|
@test = https://test.tall.wiki/gateway/tall/v1.0
|
||
|
|
@testMT = https://test.tall.wiki/gateway/mt
|
||
|
|
@wwwMT = https://www.tall.wiki/gateway/mt
|
||
|
|
@localhost = http://localhost:7030/v1.0
|
||
|
|
@localhost_mt = http://localhost:7060
|
||
|
|
@type = content-type: application/json;charset=utf-8
|
||
|
|
# @token= eyJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE2MTczMjg2MDksInN1YiI6IjEyMTgwMjUyNDk0OTMzNTY1NDQiLCJhdXRoSWQiOiIxMTgzNjM2MjkxNjQ5MTQ2ODgwIiwiZXhwIjoxNjE3NDE1MDA5fQ.22OvohHsYtuR527otz6A1p8Ebft9O3UM5bSFysh1Hwc
|
||
|
|
|
||
|
|
### 登录
|
||
|
|
# @name login
|
||
|
|
# POST https://www.tall.wiki/gateway/tall/v1.0/users/signin
|
||
|
|
POST http://localhost:7030/v1.0/users/signin
|
||
|
|
{{type}}
|
||
|
|
|
||
|
|
{
|
||
|
|
"client": 1,
|
||
|
|
"type": 3,
|
||
|
|
"data": {
|
||
|
|
"identifier": "zy11",
|
||
|
|
"credential": "123456"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
### 根据组别查找本单位所有注册的选手
|
||
|
|
POST {{wwwMT}}/province/group/player
|
||
|
|
{{type}}
|
||
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
||
|
|
|
||
|
|
{
|
||
|
|
"param":{
|
||
|
|
"companyId": "1387346358218006528",
|
||
|
|
"projectId": "202104406"
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
### 添加
|
||
|
|
POST {{wwwMT}}/province/save/company
|
||
|
|
{{type}}
|
||
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
||
|
|
|
||
|
|
{
|
||
|
|
"param":{
|
||
|
|
"competeTimeId": "1387346358218006528",
|
||
|
|
"companyId": 0,
|
||
|
|
"companyName":"aaa",
|
||
|
|
"contactsName":"aaa",
|
||
|
|
"contactsPhone":"13703517045",
|
||
|
|
"coachNum":"",
|
||
|
|
"guideNum":"",
|
||
|
|
"playerNum":"",
|
||
|
|
"authorization":1
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
###
|
||
|
|
POST {{localhost_mt}}/compete/competeTimeList
|
||
|
|
{{type}}
|
||
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
||
|
|
|
||
|
|
# {
|
||
|
|
# "param":{
|
||
|
|
# "type":0
|
||
|
|
# }
|
||
|
|
|
||
|
|
# }
|
||
|
|
|
||
|
|
###
|
||
|
|
# POST https://www.tall.wiki/gateway/mt/down/competeJoinCount
|
||
|
|
POST http://localhost:7060/down/competeJoinCount
|
||
|
|
{{type}}
|
||
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
||
|
|
|
||
|
|
{
|
||
|
|
"param":{
|
||
|
|
"competeTimeId":4
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|