feat: 添加简报收集器请求参数中的用户Id和chat_id
All checks were successful
Egg CI/CD / build-image (push) Successful in 22s
Egg CI/CD / deploy (push) Successful in 1m4s

This commit is contained in:
zhaoyingbo 2024-05-24 08:35:08 +00:00
parent f746e42e0c
commit b3ad689eac

View File

@ -26,6 +26,7 @@ export const fetchReportCollector = async (
) => {
const url = `https://report.imoaix.cn/report?msg=${msg}&user=${user}&chat_id=${chat_id}`;
try {
console.log("🚀 ~ url:", url);
const res = await fetch(url);
return ((await res.json()) as string) || "";
} catch {