feat: 添加日志输出以便调试
All checks were successful
Egg CI/CD / build-image (push) Successful in 27s
Egg CI/CD / deploy (push) Successful in 2m49s

This commit is contained in:
zhaoyingbo 2024-06-16 08:51:30 +00:00
parent 4932d6b8d6
commit 0d6e45370e

View File

@ -91,6 +91,7 @@ const manageIdMsg = async (chatId: string) => {
*/
const manageCMDMsg = (body: LarkEvent.Data) => {
const text = getMsgText(body);
console.log("🚀 ~ manageCMDMsg ~ text:", text);
const chatId = getChatId(body);
if (text === "/id") {
manageIdMsg(chatId);