Browse Source

平车基础版

master
zhizhi wu 4 years ago
parent
commit
eeca61de6a
  1. 10
      TALL3/tall.http
  2. 0
      智慧平车/qcp.http
  3. 35
      智慧平车/平车基础版.http
  4. 43
      调度系统/调度系统.http

10
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"
}

0
qcp/qcp.http → 智慧平车/qcp.http

35
智慧平车/平车基础版.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--

43
调度系统/调度系统.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

Loading…
Cancel
Save