使用vscode测试后台接口
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.

638 lines
11 KiB

@www = https://www.sxwikionline.com/gateway/tall/v1.0
@green = https://www.sxwikionline.com/gateway/greenvalley
@policy = https://www.sxwikionline.com/gateway/policy
@type = content-type: application/json;charset=utf-8
### login
# @name login
# POST {{www}}/users/signin
POST http://localhost:7030/v1.0/users/signin
{{type}}
{
"client": 1,
"data": {
"credential": "123456",
"identifier": "zy11"
},
"scene": 0,
"type": 3
}
###
POST {{green}}/achInstr/selInstrumentMesH
# POST http://localhost:7110/achInstr/addRes
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"id":73
}
}
###
POST {{green}}/achInstr/selResMesH
# POST http://localhost:7110/achInstr/addRes
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"id":73
}
}
###
POST {{green}}/achInstr/updateRes
# POST http://localhost:7110/achInstr/addRes
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"id":73,
"name":123,
"modelIds":[
75,76
]
}
}
###
POST {{green}}/achInstr/selInstrument
# POST http://localhost:7110/achInstr/addRes
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
}
}
###
POST {{green}}/achInstr/addRes
# POST http://localhost:7110/achInstr/addRes
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"modelIds":[
1
],
"name":"22",
"pic":"555",
"content":"555"
}
}
###
POST {{green}}/achInstr/selRes
# POST http://localhost:7110/achInstr/selRes
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"name":"",
"moldIds":[
],
"pageSize":100
}
}
###
# POST {{green}}/institute/searchBack
POST http://localhost:7110/institute/searchBack
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"name":"",
"moldIds":[
]
}
}
###
POST {{green}}/achInstr/selModel
# POST http://localhost:7110/achInstr/selModel
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"name":"",
"model":"",
"recStatus":""
}
}
###
POST https://www.sxwikionline.com/gateway/greenvalley/page/get
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"id":39
}
}
###
POST {{green}}/business/backendAdd
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"logo":"wwww",
"name":"666666",
"description":"999",
"type":"2",
"typeOfPlatform":"2",
"typeOfTech":"2"
}
}
###
POST {{green}}/Business/BackendAdd
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"logo":"999",
"name":"666666",
"description":"999",
"type":"2",
"typeOfPlatform":"2",
"typeOfTech":"2"
}
}
###F
# POST http://localhost:7120/policy/addPolicy
POST {{policy}}/policy/addPolicy
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"id":59608,
"title":"aaa",
"pushTime":"2021-02-11",
"pushDep":"1",
"content":"2212",
"status":"1"
}
}
###F
# POST http://localhost:7110//activity/query/apply
POST {{green}}/activity/query/apply
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"activityId":11
}
}
###F
# POST http://localhost:7110//activity/query/apply
POST {{green}}/activity/query/apply
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"activityId":11
}
}
###F
# POST http://localhost:7110/institute/searchBack
POST {{green}}/institute/searchBack
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"name":"123"
}
}
###F
# POST http://localhost:7110/activity/save
POST {{green}}/activity/save
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"activityType": 1,
"address":"",
"closeTime": "2021-03-31 19:19:02",
"content": "<p></p >",
"name": "",
"organization": "",
"other": "",
"releaseTime": "2021-03-01 19:19:02",
"theme": "",
"title": ""
}
}
###
# @name achInstr/updateRes
# POST {{green}}/achInstr/updateRes
POST http://localhost:7110/achInstr/updateRes
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"id":"1",
"modelIds":[
"1"
],
"name":"1",
"keywordone":"2",
"keywordtwo":"3",
"keywordthree":"4",
"identifier":"1",
"pic":"4",
"performance":"4",
"standard":"1",
"stage":"1",
"level":"1",
"ranges":"1",
"shape":"1",
"classification":"1",
"domainone":"1",
"domaintwo":"1",
"finance":"1",
"style":"1",
"patent":"1",
"nums":"1",
"registerNum":"1",
"registerName":"1",
"situation":"1",
"assignment":"1",
"income":"10000",
"layout":"1",
"reansonone":"1",
"reansontwo":"1",
"content":"1",
"research":"1",
"applicant":"1",
"inventor":"1"
}
}
###F
# POST http://localhost:7110/activity/query/back
POST {{green}}/activity/query/back
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"titleKey":"",
"activityType":[
0
]
}
}
###
POST http://localhost:7110/creatingPlatform/delete
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"id":3
}
}
###
POST http://localhost:7110/achInstr/selInstrumentMesH
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"id":3
}
}
###
POST http://localhost:7110/achInstr/selInstrument
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
}
}
###
POST http://localhost:7110/achInstr/selInstrument
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"id":1
}
}
###
POST http://localhost:7110/achInstr/selResMes
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"id":1
}
}
###
POST http://localhost:7110/achInstr/selModel
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
}
}
###
POST http://localhost:7110/product/selProductMes
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"id":1
}
}
###
POST http://localhost:7110/product/selProductMes
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"id":1
}
}
###
POST http://localhost:7110/product/selProduct
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"modelIds":[
1
],
"content":""
}
}
###
POST http://localhost:7110/service/searchServiceApply
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
}
}
###
POST http://localhost:7110/Business/BackendDelete
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"id":118
}
}
###
POST http://localhost:7110/Business/BackendUpdate
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"id":118,
"logo":"666666",
"name":"222",
"description":"111",
"type":1,
"typeOfPlatform":1,
"typeOfTech":1
}
}
###
POST http://localhost:7110/Business/BackendAdd
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"logo":"36",
"name":"222",
"description":"111",
"type":1,
"typeOfPlatform":1,
"typeOfTech":1
}
}
###
POST http://localhost:7110/Business/BackendSearch
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
}
}
###
# POST {{green}}/page/list
# POST http://localhost:7110/page/list
POST {{green}}/page/list
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
}
}
###
POST http://localhost:7110/page/get
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"id":40
}
}
###
POST http://localhost:7110/page/add
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"titleCode":40,
"content":"445444"
}
}
###
# POST http://localhost:7110/page/update
POST {{green}}/page/update
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"id":47,
"titleCode":"-",
"content":"888"
}
}
###
POST http://localhost:7110/page/delete
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"id":45
}
}
###
POST http://localhost:7110/industryInfo/update
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"id":342,
"site":333
}
}
###
POST http://localhost:7110/industryInfo/add
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"site":333
}
}
###
POST http://localhost:7110/industryInfo/delete
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"id":344
}
}
###
POST http://localhost:7110/industryInfo/backendSearch
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"title":""
}
}
###
POST http://localhost:7110/carousel/queryCarousel
# POST {{green}}/carousel/queryCarousel
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"showPage":"1"
}
}
###
POST http://localhost:7110/carousel/queryCarouselById
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"id":35
}
}
###
POST http://localhost:7110/carousel/updateCarousel
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"id":35,
"jumpType":"2"
}
}
###
POST http://localhost:7110/carousel/activeAndStop
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"id":35,
"recStatus":"2"
}
}
###
POST http://localhost:7110/carousel/addCarousel
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"url":"555",
"jumpUrl":"666"
}
}
###
POST http://localhost:7110/carousel/deleteCarousel
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"id":"36"
}
}