diff --git a/tall/TaskController.http b/tall/TaskController.http index 98fd2de..fd2055b 100644 --- a/tall/TaskController.http +++ b/tall/TaskController.http @@ -15,21 +15,21 @@ ### login # @name login -POST {{test}}{{tall}}/users/signin +POST {{loaclhost}}{{tallLocal}}/users/signin {{type}} { "client": 1, "data": { "credential": "123456", - "identifier": "LEIPS" + "identifier": "zy11" }, "scene": 0, "type": 3 } -//任务相关API +//添加清单 ### 添加清单(任务) POST {{test}}{{tall}}/tasks/ @@ -39,7 +39,7 @@ Authorization: Bearer {{login.response.body.$.data.token}} { "projectId":"1267343073726304256", "parentTaskId":"1267343074888126464", - "taskName":"新建任务(输入/输出文档)更改", + "taskName":"lssss", "description":"", "executorId":"1267343074305118209", "beginTime":"1617675959314", diff --git a/tall/input/input.http b/tall/input/input.http index e591085..7012090 100644 --- a/tall/input/input.http +++ b/tall/input/input.http @@ -5,7 +5,7 @@ ### 登录 # @name login -POST {{test}}/users/signin +POST {{tall}}/users/signin # POST http://localhost:7030/v1.0/users/signin {{type}} @@ -13,11 +13,12 @@ POST {{test}}/users/signin "client": 1, "type": 3, "data": { - "identifier": "zy11", - "credential": "123456" + "identifier": "song", + "credential": "999999" } } + ### 测试-调用文件系统获取文件信息 GET {{localhost}}/users/userId?userId=1218763410024566784 {{type}} @@ -26,6 +27,34 @@ GET {{localhost}}/users/userId?userId=1218763410024566784 #删除输入文档的文件 ###F + + +###通过任务id查询交付物详情 +POST {{test}}/delivers/queryByTaskId +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + +{ + "taskId":1380090491823067136 +} + + + +###检查交付物 +POST {{test}}/delivers/check +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + +{ + "checkStatus":true, + "deliverLogId":1380766744729227264, + "score": 5, + "taskId": "1380090491823067136", + "text": "123123" +} + +###删除输入文档的文件 + # POST http://localhost:7030/v1.0/inputDoc/delDocOfFile POST {{{localhost}}/inputDoc/delDocOfFile {{type}} @@ -47,19 +76,20 @@ Authorization: Bearer {{login.response.body.$.data.token}} { "param": { "docId":"1379378081705365504", - "recordId":"测试消息" + "remark":"标准测试备注" } } #修改输入文档的备注 ###F # POST http://localhost:7030/v1.0/inputDoc/uploadForDoc -POST {{test}}/inputDoc/updateDocOfRemark +POST {{tall}}/inputDoc/updateDocOfRemark {{type}} Authorization: Bearer {{login.response.body.$.data.token}} { "param": { + "recordId":"1379632746409889792", "remark":"123456789" } @@ -117,7 +147,7 @@ Authorization: Bearer {{login.response.body.$.data.token}} { "param": { - "taskId":1 + "taskId":1379355597429936128 } } diff --git a/tall/project/project.http b/tall/project/project.http index 8cd9ba6..80129cc 100644 --- a/tall/project/project.http +++ b/tall/project/project.http @@ -1,14 +1,13 @@ @tall = https://www.tall.wiki/gateway/tall/v1.0 @test = https://test.tall.wiki/gateway/tall/v1.0 +@green = https://www.sxgreenvalley.com/gateway/tall/v1.0 @localhost = http://localhost:7030/v1.0 @type = content-type: application/json;charset=utf-8 -@token = Authorization: Bearer {{login.response.body.$.data.token}} - -@token= eyJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE2MTczMjg2MDksInN1YiI6IjEyMTgwMjUyNDk0OTMzNTY1NDQiLCJhdXRoSWQiOiIxMTgzNjM2MjkxNjQ5MTQ2ODgwIiwiZXhwIjoxNjE3NDE1MDA5fQ.22OvohHsYtuR527otz6A1p8Ebft9O3UM5bSFysh1Hwc +# @token= eyJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE2MTczMjg2MDksInN1YiI6IjEyMTgwMjUyNDk0OTMzNTY1NDQiLCJhdXRoSWQiOiIxMTgzNjM2MjkxNjQ5MTQ2ODgwIiwiZXhwIjoxNjE3NDE1MDA5fQ.22OvohHsYtuR527otz6A1p8Ebft9O3UM5bSFysh1Hwc ### 登录 # @name login -POST {{localhost}}/users/signin +POST {{tall}}/users/signin # POST http://localhost:7030/v1.0/users/signin {{type}} @@ -22,6 +21,21 @@ POST {{localhost}}/users/signin } +### 获取wps路径 +POST {{tall}}/wps/visitUrls +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + +{ + "businessId": 1293457817902125056, + "businessType": 12, + "userId": 1381548271167737857 +} + + + + + ### 测试-调用文件系统获取文件信息 GET {{localhost}}/debug/htt {{type}} @@ -31,7 +45,8 @@ GET {{localhost}}/debug/htt ] ### 测试-根据项目id获取二级角色列表 -GET {{localhost}}/projects/1379992067547205632/roles + +GET {{localhost}}/projects/1293457420793810944/roles {{type}} Authorization: Bearer {{login.response.body.$.data.token}} @@ -90,4 +105,4 @@ Content-Type: xlsx ### GET {{test}}/projects/1/roles {{type}} -{{token}} + diff --git a/tall/task/role.http b/tall/task/role.http new file mode 100644 index 0000000..cf78c04 --- /dev/null +++ b/tall/task/role.http @@ -0,0 +1,24 @@ +@tall = https://www.tall.wiki/gateway/tall/v1.0 +@test = https://test.tall.wiki/gateway/tall/v1.0 +@localhost = http://localhost:7030/v1.0 +@type = content-type: application/json;charset=utf-8 + +### 登录 +# @name login +POST {{localhost}}/users/signin +# POST http://localhost:7030/v1.0/users/signin +{{type}} + +{ + "client": 1, + "type": 3, + "data": { + "identifier": "wally", + "credential": "111111" + } +} + +### +GET {{test}}/projects/1379618436082176000/roles?imitation=0 +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} \ No newline at end of file diff --git a/中医药/中医药测试.http b/中医药/中医药测试.http index 2bc7ab6..0e363bc 100644 --- a/中医药/中医药测试.http +++ b/中医药/中医药测试.http @@ -1,7 +1,8 @@ ### @www = https://www.tall.wiki/gateway/tcm @test = http://test.tall.wiki/gateway/tcm -@wiki = https://www.sxwikionline.com/gateway/tcm +@wiki = http://sxzxyzzlm.tall.wiki/gateway/tcm +@wiki_tall = https://sxzxyzzlm.tall.wiki/gateway/tall/v1.0 @loaclhost = http://localhost:7150 @loaclhost_tall = http://localhost:7030/v1.0 @@ -12,7 +13,7 @@ # @name login # POST http://test.tall.wiki/gateway/tall/v1.0/users/signin -POST {{loaclhost_tall}}/users/signin +POST {{wiki_tall}}/users/signin # POST http://localhost:7030/v1.0/users/signin {{type}} @@ -26,6 +27,37 @@ POST {{loaclhost_tall}}/users/signin "type": 3 } +### 导入试题类型 +Post {{wiki}}/import/code +Authorization: Bearer {{login.response.body.$.data.token}} +Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW + +title +------WebKitFormBoundary7MA4YWxkTrZu0gW +Content-Disposition: form-data; name="file"; filename="C:\Users\23778\Downloads\病历汇总v1.1-20210409.xlsx" + +< C:\Users\23778\Downloads\病历汇总v1.1-20210409.xlsx +------WebKitFormBoundary7MA4YWxkTrZu0gW-- + +### 导入试题 +Post {{wiki}}/import/all +Authorization: Bearer {{login.response.body.$.data.token}} +Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW + +title +------WebKitFormBoundary7MA4YWxkTrZu0gW +Content-Disposition: form-data; name="file"; filename="C:\Users\23778\Downloads\病历汇总v1.1-20210409.xlsx" + +< C:\Users\23778\Downloads\病历汇总v1.1-20210409.xlsx +------WebKitFormBoundary7MA4YWxkTrZu0gW-- + + + +### 更新缓存 +Post {{wiki}}/import/updateRedis +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + ### 通用文字识别 Post {{loaclhost}}/ocr/general/basic {{type}} @@ -70,14 +102,14 @@ Authorization: Bearer {{login.response.body.$.data.token}} ### 查看患者的试题和答题信息 -Post {{wiki}}/question/query +Post {{loaclhost}}/question/query {{type}} Authorization: Bearer {{login.response.body.$.data.token}} { "param": { - "id":"1", - "code":"", + "id":"1369189040502611968", + "code":"BSXG", "nums":0 } } diff --git a/文件管理/constant.http b/文件管理/constant.http new file mode 100644 index 0000000..9737871 --- /dev/null +++ b/文件管理/constant.http @@ -0,0 +1,4 @@ +@localhost = http://localhost:8001 + +### debug +POST {{localhost}}/constant/updateAll/tall diff --git a/文件管理/file/file.http b/文件管理/file/file.http index 0ca3e11..611f62c 100644 --- a/文件管理/file/file.http +++ b/文件管理/file/file.http @@ -23,7 +23,7 @@ POST {{testTall}}/users/signin ### 根据id查询文件信息 -POST {{localhost}}/file/query +POST {{testFile}}/file/query {{type}} [ @@ -38,15 +38,5 @@ Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0g ------WebKitFormBoundary7MA4YWxkTrZu0gW Content-Disposition: form-data; name="files"; filename="111.png" Content-Type: png -< C:\Users\dou\Desktop\29c3d35916816bab89a7902ee144b5d - 副本.png +< C:\Users\dou\Desktop\29c3d35916816bab89a7902ee144b5d.png ------WebKitFormBoundary7MA4YWxkTrZu0gW-- -------WebKitFormBoundary7MA4YWxkTrZu0gW -Content-Disposition: form-data; name="files"; filename="112.png" -Content-Type: png -< C:\Users\dou\Desktop\29c3d35916816bab89a7902ee144b5d - 副本.png -------WebKitFormBoundary7MA4YWxkTrZu0gW-- -------WebKitFormBoundary7MA4YWxkTrZu0gW -Content-Disposition: form-data; name="files"; filename="114.png" -Content-Type: png -< C:\Users\dou\Desktop\29c3d35916816bab89a7902ee144b5d - 副本.png -------WebKitFormBoundary7MA4YWxkTrZu0gW-- \ No newline at end of file diff --git a/绿谷/greenvalley.http b/绿谷/greenvalley.http index d39258e..846d449 100644 --- a/绿谷/greenvalley.http +++ b/绿谷/greenvalley.http @@ -1,5 +1,5 @@ @www = https://www.sxwikionline.com/gateway/tall/v1.0 -@green = https://www.sxwikionline.com/gateway/greenvalley +@green = https://www.sxgreenvalley.com/gateway/greenvalley @policy = https://www.sxwikionline.com/gateway/policy @type = content-type: application/json;charset=utf-8 @@ -137,7 +137,9 @@ Authorization: Bearer {{login.response.body.$.data.token}} "param": { "name":"", "model":"", - "recStatus":"" + "recStatus":"", + "pageNum":-1, + "pageSize":1 } } @@ -515,19 +517,42 @@ Authorization: Bearer {{login.response.body.$.data.token}} } ### -# POST http://localhost:7110/page/update -POST {{green}}/page/update +POST http://localhost:7110/page/update +# POST {{green}}/page/update {{type}} Authorization: Bearer {{login.response.body.$.data.token}} { "param": { - "id":47, + "id":32, "titleCode":"创新平台-创新服务平台", "content":"888" } } +### +# POST http://localhost:7110/page/regenerate +POST {{green}}/page/regenerate +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + +{ + "param": { + "titleCode":"创新平台-协同创新中心" + } +} + +### +POST http://localhost:7110/page/detail +# POST {{green}}/page/update +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + +{ + "param": { + "titleCode":"创新平台-协同创新中心" + } +} ### POST http://localhost:7110/page/delete {{type}}