1. 扫码确认那一刻页面报「服务器内部错误」:`bot_channel` 的轮询口子直接
`current_setting('app.bot_channel', true)::uuid`,而事务级 set_config 提交后
会把连接上的变量还原成空串而不是 NULL,空串 cast 就 InvalidTextRepresentation。
迁移 0015 改成 nullif(...,'')::uuid,与 app_ws_id() 同一写法。
2. 微信回话只回「已保存任务:…」/「已保存知识草稿:…」,不再带站点链接
(PUBLIC_BASE_URL 是内网地址,手机上打不开)。
3. 栏目名「接入」改名「机器人」;页面标题与提示文案同步。
pytest 151 passed;ruff check/format 干净;tsc 0;vite build 通过;
web/e2e/integrations.mjs 7 项全绿。
This commit is contained in:
@@ -67,7 +67,7 @@ async function main() {
|
||||
);
|
||||
|
||||
await page.goto(`${WEB}/w/${ws.id}/integrations`, { waitUntil: "networkidle" });
|
||||
check("接入页打开", await page.getByText("怎么用").isVisible());
|
||||
check("机器人页打开", await page.getByText("怎么用").isVisible());
|
||||
|
||||
const button = page.getByRole("button", { name: "扫码连接微信" });
|
||||
if (await button.isVisible()) {
|
||||
|
||||
Reference in New Issue
Block a user