项目需求
stlsw opened this issue · comments
- 根据这个项目 https://github.com/tsndr/cloudflare-worker-router, 设计混合 chat 接口, 部署到 cloudflare worker 上面
| # Chat Api
├── POST /api/v1/accounts/:accountGuid/chat / send message
│ ├── Headers
│ │ ├──x-api-key xxx
│ │ ├──x-session-guid xxx
│ │ ├──x-channel sms / whatsapp / hybrid
1. sms => sms 发送
2. whatsapp => whatsapp 发送
3. hybrid => 先尝试发送 whatsapp 然后在尝试发送 sms