| 步骤 | 具体怎么做 |
| 1 · 取收件人 |
POST build.php:传 items 列表,或传 filter(operator / province / device / source / limit)从号码库自动取号,返回成品正文 + token |
| 2 · 发送 |
用 client.php 生成的 Mac 脚本:自动拉队列 + AppleScript 发送 + 回传 |
| 3 · 回传 | 发送端把状态 POST 到 upload.php(匹配 token / guid / addr 任一即可) |
| 4 · 查看 | 打开 看板,或查数据库 tr_message / tr_event |
curl -X POST 'https://ios.ytai66.cc/upload.php' \
-H 'Content-Type: application/json' \
-H 'X-Api-Key: <你的API Key>' \
-d '{
"channel": "imessage",
"items": [
{ "token": "<build 返回的 token>",
"event": "delivered",
"at": "2026-11-05 10:00:00" }
]
}'
| event | 含义 · 谁会回传 |
sent | 已发出(AppleScript 发送成功) |
delivered | 送达回执(chat.db 的 date_delivered) |
read | 已读回执(对方开启已读回执才有) |
reply | 对方回复了 |
click | 点了正文里的追踪短链 |
failed | 失败(含 chat.db 的 error 码) |