init
This commit is contained in:
10
config/DESIGNER_ROSTER_API.md
Normal file
10
config/DESIGNER_ROSTER_API.md
Normal file
@@ -0,0 +1,10 @@
|
||||
# 设计师在线查询 API(本端接入)
|
||||
|
||||
- **地址**:`.env` 中 `DESIGNER_ROSTER_API`,如 `http://huichang.online:8001/online`
|
||||
- **方法**:GET
|
||||
- **返回**:`{online_users: ["lz", "ZuoWei"], ...}`,本端用 `online_users` 同步本地后派单
|
||||
|
||||
## 调用时机
|
||||
|
||||
- **转人工时**按需 GET 一次,不轮询
|
||||
- 无人在线时:回退到 `transfer_groups.json` 静态配置,并发送企微「谁在线啊」提醒
|
||||
Reference in New Issue
Block a user