zhaoyingbo 9545670a51
All checks were successful
Egg Server CI/CD / build-image (push) Successful in 45s
Egg Server CI/CD / refresh-image (push) Successful in 12s
Egg Server CI/CD / fast-deploy (push) Successful in 2s
feat: 支持清洗历史数据
2024-10-15 01:20:21 +00:00

16 lines
369 B
TypeScript

// const URL = "https://egg.imoaix.cn/message";
const URL = "http://localhost:3000/message"
const res = await fetch(URL, {
method: "POST",
body: JSON.stringify({
api_key: "uwnpzb9hvoft28h",
receive_id: "zhaoyingbo",
receive_id_type: "user_id",
msg_type: "text",
content: "hello, world!",
}),
})
console.log(JSON.stringify(await res.text()))