From eeca61de6a342f9b8eacc1cf45b10538597011e3 Mon Sep 17 00:00:00 2001 From: zhizhi wu <2377881365@qq.com> Date: Mon, 30 Aug 2021 16:21:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B9=B3=E8=BD=A6=E5=9F=BA=E7=A1=80=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- TALL3/tall.http | 10 +++++---- {qcp => 智慧平车}/qcp.http | 0 智慧平车/平车基础版.http | 35 +++++++++++++++++++++++++++++++ 调度系统/调度系统.http | 43 ++++++++++++++++++-------------------- 4 files changed, 61 insertions(+), 27 deletions(-) rename {qcp => 智慧平车}/qcp.http (100%) create mode 100644 智慧平车/平车基础版.http diff --git a/TALL3/tall.http b/TALL3/tall.http index 41d8fa0..939b969 100644 --- a/TALL3/tall.http +++ b/TALL3/tall.http @@ -1,9 +1,10 @@ @localhost = http://localhost:7130 +@test = http://192.168.0.99:7130/v3.0 @type = content-type: application/json;charset=utf-8 ### 登录 # @name login -POST {{localhost}}/users/signin +POST {{test}}/users/signin {{type}} { @@ -17,13 +18,14 @@ POST {{localhost}}/users/signin ### 修改账号 -POST {{localhost}}/users/password/account +POST {{test}}/users/password/account {{type}} +Authorization: Bearer {{login.response.body.$.data.token}} { "account": "whj", - "passwordOld": "123456", - "passwordNew": "1234567" + "passwordOld": "1234567", + "passwordNew": "123456" } diff --git a/qcp/qcp.http b/智慧平车/qcp.http similarity index 100% rename from qcp/qcp.http rename to 智慧平车/qcp.http diff --git a/智慧平车/平车基础版.http b/智慧平车/平车基础版.http new file mode 100644 index 0000000..1ddb52a --- /dev/null +++ b/智慧平车/平车基础版.http @@ -0,0 +1,35 @@ +@localhost = http://localhost:7240/v4.0 +@localhost_tall = http://localhost:7130/v3.0 +@test_tall = http://192.168.0.99:7130/v3.0 +@type = content-type: application/json;charset=utf-8 + +### 登录 +# @name login +POST {{localhost_tall}}/users/signin +{{type}} + +{ + "client": 1, + "type": 3, + "data": { + "identifier": "whj", + "credential": "123456" + } +} + + + +//Excel +### 导入Code字典 +POST {{localhost}}/dictionaries/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\23778\Downloads\code字典表(1).xlsx + +------WebKitFormBoundary7MA4YWxkTrZu0gW-- diff --git a/调度系统/调度系统.http b/调度系统/调度系统.http index 52d5008..241eafe 100644 --- a/调度系统/调度系统.http +++ b/调度系统/调度系统.http @@ -1,5 +1,6 @@ @type = content-type: application/json;charset=utf-8 @localhost = http://127.0.0.1:8001 +@test = http://192.168.0.99:8000 ### 添加任务 POST {{localhost}}/job/add @@ -7,19 +8,19 @@ POST {{localhost}}/job/add { "param": { - "jobName": "task_job_1003", + "jobName": "task_job_002", "jobGroupName": "tcm", - "triggerName": "task_trigger_1003", + "triggerName": "task_trigger_002", "triggerGroupName": "tcm_trigger", - "startTime": "1627280545000", - "endTime": "1627291345000", + "startTime": "1629366460000", + "endTime": "1629366760000", "job" : 0, - "cron": "0/5 * * * * ?", - "notifyWay":2, - "notifyUrl": "2377881365@qq.com", - "notifyParam": "{\"subject\":\"酒\",\"content\":\"遣怀诗共酒,何问寿与殇。\"}" + "cron": "0/15 * * * * ?", + "notifyWay":0, + "notifyUrl": "http://www.baidu.com/", + "notifyParam": "{}" } - + } ### 修改任务 @@ -28,17 +29,16 @@ POST {{localhost}}/job/modifyTime { "param": { - "triggerName": "task_trigger_1002", + "triggerName": "task_trigger_1005", "triggerGroupName": "tcm_trigger", - "startTime": "1627280545000", - "endTime": "1627291345000", + "startTime": "1628755807000", + "endTime": "1628763007000", "job" : 0, - "cron": "0/5 * * * * ?", - "notifyWay":2, - "notifyUrl": "2377881365@qq.com", - "notifyParam": "{\"subject\":\"酒\",\"content\":\"遣怀诗共酒,何问寿与殇。\"}" + "cron": "0/15 * * * * ?", + "notifyWay":3, + "notifyUrl": "18701389847", + "notifyParam": "{\"templateId\":686476,\"params\":[\"1234\",\"20\"]}" } - } ### 停止 @@ -50,7 +50,7 @@ POST {{localhost}}/job/pause "jobName": "task_job_1001", "jobGroupName": "tcm" } - + } ### 恢复 @@ -62,7 +62,7 @@ POST {{localhost}}/job/resume "jobName": "task_job_1001", "jobGroupName": "tcm" } - + } ### 删除 POST {{localhost}}/job/remove @@ -75,7 +75,7 @@ POST {{localhost}}/job/remove "triggerName": "task_trigger_1001", "triggerGroupName": "tcm_trigger" } - + } @@ -101,6 +101,3 @@ yefei lizhi:niandi licai - - -