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.

569 lines
13 KiB

4 years ago
###
@type = content-type: application/json;charset=utf-8
# @name login
4 years ago
POST https://www.tall.wiki/gateway/tall3/v3.0/users/signin
# POST http://test.tall.wiki/gateway/tall3/v3.0/users/signin
# POST http://localhost:7130/v3.0/users/signin
4 years ago
{{type}}
{
"client": 1,
"data": {
"credential": "123456",
"identifier": "zdd"
},
"scene": 0,
"type": 3
}
4 years ago
### 查看子课题概览
POST http://localhost:7270/subExperiment/getProgress
# POST http://test.tall.wiki/gateway/experiment/question/queryExperimentation
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"projectId":"1462041041435627520"
}
}
### 查看课题概览
POST http://localhost:7270/experiment/getExperimentProgress
# POST http://test.tall.wiki/gateway/experiment/question/queryExperimentation
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"projectId":"1467054521674895360"
}
}
### 申请解锁科研成果
POST http://localhost:7270/subExperiment/applyUnlock
# POST http://test.tall.wiki/gateway/experiment/question/queryExperimentation
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"id":1462083417998888960,
"remark":"666"
}
}
### 审核科研成果
POST http://localhost:7270/subExperiment/examineExperimentation
# POST http://test.tall.wiki/gateway/experiment/question/queryExperimentation
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"id":1462083417998888960,
"type":0,
"remark":""
}
}
### 查找科研成果
POST http://localhost:7270/subExperiment/queryExperimentation
# POST http://test.tall.wiki/gateway/experiment/question/queryExperimentation
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"projectId":1467695029480853504
}
}
4 years ago
### 查看知识产权提交答案
POST http://localhost:7270/question/getIntellectual
# POST http://test.tall.wiki/gateway/experiment/question/getByCode
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"projectId":1462041041435627520,
"code":"ZKT_ZL",
"intellectualId":1465959846603919360
}
}
### 查看知识产权提交列表
POST http://localhost:7270/question/getIntellectualList
# POST http://test.tall.wiki/gateway/experiment/question/getByCode
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"projectId":1462041041435627520,
"code":"ZKT_ZL"
}
}
### 添加知识产权相关的答案
POST http://localhost:7270/question/submitIntellectual
# POST http://test.tall.wiki/gateway/experiment/question/getByCode
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"projectId":1462041041435627520,
"code":"ZKT_ZL",
"questionAndAnswerList":[
{
"questionId":"1465502785294307328",
"answerList":[
"中国"
]
},
{
"questionId":"1465502785634045952",
"answerList":[
"名称"
]
},
{
"questionId":"1465502785298501632",
"answerList":[
"专利发明333"
]
},
{
"questionId":"1465502785634045955",
"answerList":[
"授权"
]
},
{
"questionId":"1465502785856344064",
"answerList":[
"1638253761623"
]
}
]
}
}
### 查看会议列表
POST http://localhost:7270/meeting/get
# POST http://test.tall.wiki/gateway/experiment/question/getByCode
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"id":1465929968299020288
}
}
### 查看会议列表
POST http://localhost:7270/meeting/query
# POST http://test.tall.wiki/gateway/experiment/question/getByCode
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"projectId":1462041041435627520
}
}
### 添加会议信息
POST http://localhost:7270/meeting/save
# POST http://test.tall.wiki/gateway/experiment/question/getByCode
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"projectId":1462041041435627520,
"name":"科研会议-第二场",
"startTime":"1638339045000",
"endTime":"1639203045000",
"address":"地球",
"notificationList":[
{
"fileId":"11",
"fileName":"文件名",
"filePath":"baidu.com"
}
],
"summaryList":[
{
"fileId":"11",
"fileName":"文件名1",
"filePath":"baidu.com"
},
{
"fileId":"12",
"fileName":"文件名2",
"filePath":"baidu.com"
}
],
"attachmentList":[
]
}
}
### 查看试题及答案
# POST http://localhost:7270/question/getByCode
POST http://test.tall.wiki/gateway/experiment/question/getByCode
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
4 years ago
"projectId":"",
4 years ago
"code":"ZKT_ZL"
}
}
### 提交表单信息
POST http://localhost:7270/question/submit
# POST http://test.tall.wiki/gateway/sports/training/templateId
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
4 years ago
"projectId":1462600993833226240,
"code":"SY_BG",
4 years ago
"questionAndAnswerList":[
{
"questionId":"1465502788171599872",
"answerList":[
"第一个实验"
]
},
{
"questionId":"1465502788179988483",
"answerList":[
"baidu.com"
]
},
{
"questionId":"1465502788888825858",
"answerList":[
"bilibili.com"
]
},
{
"questionId":"1465502792697253889",
"answerList":[
"www.ccsens.com"
]
}
]
}
}
### 导入全部题目和选项
POST http://localhost:7270/import/all
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
Authorization: Bearer {{login.response.body.$.data.token}}
title
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="file"; filename="山大实验平台code.xlsx"
Content-Type: xlsx
< C:\Users\dou\Desktop\山大实验平台code.xlsx
------WebKitFormBoundary7MA4YWxkTrZu0gW--
### 导入code
POST http://localhost:7270/import/code
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
Authorization: Bearer {{login.response.body.$.data.token}}
title
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="file"; filename="山大实验平台code.xlsx"
Content-Type: xlsx
< C:\Users\dou\Desktop\山大实验平台code.xlsx
------WebKitFormBoundary7MA4YWxkTrZu0gW--
### 审核解锁申请
POST http://localhost:7270/experiment/examineUnlock
# POST http://test.tall.wiki/gateway/experiment/experiment/retrospectUnlock
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"projectId":1462039176476102656,
"experimentId":1462083417998888960,
"type":0,
"remark":"通过了"
}
}
### 查看解锁申请
POST http://localhost:7270/experiment/retrospectUnlock
# POST http://test.tall.wiki/gateway/experiment/experiment/retrospectUnlock
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"projectId":1462039176476102656
}
}
4 years ago
### 添加课题成员
# POST http://localhost:7270/organization/save
POST http://www.tall.wiki/gateway/experiment/organization/save
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"projectId":1467360266207367168,
"name":"ss",
"phone":15335153627
}
}
4 years ago
### 查看课题成员
POST http://localhost:7270/organization/query
# POST http://test.tall.wiki/gateway/sports/training/templateId
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"projectId":1462041041435627520
}
}
### 查看子课题信息
POST http://localhost:7270/experiment/getSubExperiment
# POST http://test.tall.wiki/gateway/sports/training/templateId
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"taskDetailId":1462041041435627520
}
}
### 查看计划任务书
4 years ago
POST http://localhost:7270/experiment/getPlanTask
# POST http://test.tall.wiki/gateway/experiment/experiment/getPlanTask
4 years ago
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
4 years ago
"projectId":""
4 years ago
}
}
### 修改/添加计划任务书
# POST http://localhost:7270/experiment/savePlanTask
POST http://test.tall.wiki/gateway/experiment/experiment/savePlanTask
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"projectId":1462039176476102656,
"name":"测试1125",
"startTime":1637412277648,
"endTime":1640398883000,
4 years ago
"memberId":"",
4 years ago
"technicalIndicator":"技术指标",
"economicIndicators":"经济效益",
"socialBenefit":"社会效益",
"checkContent":"1,2,3,5,8",
"fileList":[
{
"fileId":"654654",
"fileName":"第一个测试的文件",
"filePath":"www.baidu.com"
},
{
"fileId":"65465644",
"fileName":"第二个测试的文件",
"filePath":"www.baidu.com"
}
],
"planTaskStageList":[
{
"stageStartTime":"1637412277648",
"stageEndTime":"1637768677648",
"remark":"第一阶段"
},
{
"stageStartTime":"1637412277648",
"stageEndTime":"1637768677648",
"remark":"第二阶段"
}
],
"planTaskDefinedList":[
{
"key":"自定义1",
"value":"自定义1的内容"
},
{
"key":"自定义2",
"value":"自定义2的内容"
}
]
}
}
### 查看子任务
# POST http://localhost:7270/task/findSonTask
POST http://test.tall.wiki/gateway/experiment/task/findSonTask
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"detailId":1462039177063305216
}
}
### 查看定期任务
POST http://localhost:7270/task/regular
# POST http://test.tall.wiki/gateway/sports/training/templateId
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"roleId":1462039176476102656
}
}
### 查看日常任务
POST http://localhost:7270/task/permanent
# POST http://test.tall.wiki/gateway/sports/training/templateId
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"roleId":1462039176476102656
}
}
### 查看角色
# POST http://localhost:7270/role/show
POST http://test.tall.wiki/gateway/experiment/role/show
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
4 years ago
"projectId":"1465988343066005504"
4 years ago
}
}
### 创建课题
POST http://localhost:7270/experiment/create
# POST http://test.tall.wiki/gateway/experiment/experiment/create
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
}
}
### 创建/修改子课题
POST http://localhost:7270/experiment/saveSubExperiment
# POST http://test.tall.wiki/gateway/sports/training/templateId
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"projectId":1462039176476102656,
"id":"1462041041435627520",
"name":"测试修改新建子课题2",
"memberId":"1462019079309103104",
"startTime":1637412686247,
"endTime":1640004686000,
"stageDtoList":[
{
"startTime":1637412686247,
"endTime":1640004686000,
"thesis":3,
"sciThesis":1,
"patent":1,
"inventPatent":1,
"practicalPatent":1,
"facadePatent":1,
"theSoft":2
}
]
}
}
### 创建实验
POST http://localhost:7270/subExperiment/create
# POST http://test.tall.wiki/gateway/sports/training/templateId
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"projectId":1462600571827523584,
"id":"1462600993833226240",
"memberId":"1462019079309103104",
"name":"修改测试新建实验A",
"startTime":1637412686247,
"endTime":1640004686000,
"target":"实验目标"
}
}
### debug
GET http://localhost:7270/debug
{{type}}
### debug
GET http://139.196.27.233:29001/gateway/tall3/v3.0/debug
{{type}}
//Excel
###
POST http://test.tall.wiki/filedeal/file/upload/importCode
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
Authorization: Bearer {{login.response.body.$.data.token}}
title
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="param"; filename="code字典表(1).xlsx"
Content-Type: xlsx
< C:\Users\dou\Desktop\code字典表(1).xlsx
------WebKitFormBoundary7MA4YWxkTrZu0gW--