Browse Source

调度系统

master
zhizhi wu 4 years ago
parent
commit
1bcae81f0a
  1. 33
      TALL3/tall.http
  2. 14
      中医药/中医药测试.http
  3. 106
      调度系统/调度系统.http

33
TALL3/tall.http

@ -0,0 +1,33 @@
@localhost = http://localhost:7130
@type = content-type: application/json;charset=utf-8
### 登录
# @name login
POST {{localhost}}/users/signin
{{type}}
{
"client": 1,
"type": 3,
"data": {
"identifier": "whj",
"credential": "123456"
}
}
### 修改账号
POST {{localhost}}/users/password/account
{{type}}
{
"account": "whj",
"passwordOld": "123456",
"passwordNew": "1234567"
}
### debug
POST {{localhost}}/debug
md5: db06c78d1e24cf708a14ce81c9b617ec

14
中医药/中医药测试.http

@ -15,14 +15,14 @@
# @name login
# POST http://test.tall.wiki/gateway/tall/v1.0/users/signin
# POST {{wiki_tall}}/users/signin
POST {{loaclhost_tall}}/users/signin
POST {{wiki_tall}}/users/signin
{{type}}
{
"client": 1,
"data": {
"credential": "123456",
"identifier": "admin"
"identifier": "wenchunli"
},
"scene": 0,
"type": 3
@ -213,11 +213,13 @@ Authorization: Bearer {{login.response.body.$.data.token}}
"hospitalization": null,
"inpatientId":"",
"code":"",
"startTime":"2021-05-06 20:00:00",
# "startTime":"2021-05-06 20:00:00",
"endTime":"",
"doctorId":"1368849516723445760",
"queryAuthority":2,
"hospitalId":1
# "doctorId":"1368849516723445760",
"queryAuthority":1,
# "hospitalId":1,
"pageNum" :2,
"pageSize": 10
}
}

106
调度系统/调度系统.http

@ -0,0 +1,106 @@
@type = content-type: application/json;charset=utf-8
@localhost = http://127.0.0.1:8001
### 添加任务
POST {{localhost}}/job/add
{{type}}
{
"param": {
"jobName": "task_job_1003",
"jobGroupName": "tcm",
"triggerName": "task_trigger_1003",
"triggerGroupName": "tcm_trigger",
"startTime": "1627280545000",
"endTime": "1627291345000",
"job" : 0,
"cron": "0/5 * * * * ?",
"notifyWay":2,
"notifyUrl": "2377881365@qq.com",
"notifyParam": "{\"subject\":\"酒\",\"content\":\"遣怀诗共酒,何问寿与殇。\"}"
}
}
### 修改任务
POST {{localhost}}/job/modifyTime
{{type}}
{
"param": {
"triggerName": "task_trigger_1002",
"triggerGroupName": "tcm_trigger",
"startTime": "1627280545000",
"endTime": "1627291345000",
"job" : 0,
"cron": "0/5 * * * * ?",
"notifyWay":2,
"notifyUrl": "2377881365@qq.com",
"notifyParam": "{\"subject\":\"酒\",\"content\":\"遣怀诗共酒,何问寿与殇。\"}"
}
}
### 停止
POST {{localhost}}/job/pause
{{type}}
{
"param": {
"jobName": "task_job_1001",
"jobGroupName": "tcm"
}
}
### 恢复
POST {{localhost}}/job/resume
{{type}}
{
"param": {
"jobName": "task_job_1001",
"jobGroupName": "tcm"
}
}
### 删除
POST {{localhost}}/job/remove
{{type}}
{
"param": {
"jobName": "task_job_1001",
"jobGroupName": "tcm",
"triggerName": "task_trigger_1001",
"triggerGroupName": "tcm_trigger"
}
}
### 添加任务
POST http://localhost:6060/elasticJob/schedule?name=elasticJob1&cron=0/15 * * * * ?
### index
POST http://localhost:6060/elasticJob/index
yefei
2019
lizhi:niandi
licai
Loading…
Cancel
Save