chore: update dependencies and remove unused convex package

- Removed "@kevisual/convex" dependency from package.json and pnpm-lock.yaml.
- Updated "ioredis" version from "^5.9.3" to "^5.10.0" in package.json and pnpm-lock.yaml.
- Updated "@kevisual/context", "@kevisual/query", and "@kevisual/router" versions in wxmsg/package.json.
- Updated "@types/node" version in wxmsg/package.json.
- Added resolutions for "ioredis" in wxmsg/package.json.
- Commented out the automatic reply functionality in wxmsg/src/wx/index.ts and added a placeholder message.
This commit is contained in:
xiongxiao
2026-03-18 03:24:33 +08:00
committed by cnb
parent 2332f05cef
commit 9be5eb00f5
5 changed files with 62 additions and 1622 deletions

View File

@@ -157,22 +157,23 @@ export class Wx {
}
const wxMsg = msg as WxMsgText;
const question = wxMsg.content;
const nocoMsg = {
path: 'noco-life',
key: "chat",
payload: {
token: userToken,
question,
}
}
const res = await this.query.post(nocoMsg);
if (res.code !== 200) {
await sendUserText('自动回复失败,请稍后再试:' + res.message);
}
const content = res.data?.content || ''
if (content) {
await sendUserText(content);
}
// const nocoMsg = {
// path: 'noco-life',
// key: "chat",
// payload: {
// token: userToken,
// question,
// }
// }
// const res = await this.query.post(nocoMsg);
// if (res.code !== 200) {
// await sendUserText('自动回复失败,请稍后再试:' + res.message);
// }
// const content = res.data?.content || ''
// if (content) {
// await sendUserText(content);
// }
sendUserText('自动回复功能正在开发中,敬请期待!');
}
}