feat: webui finish without auth

This commit is contained in:
手瓜一十雪
2024-05-08 20:10:33 +08:00
parent 33ea5601e1
commit b1732dd785
2 changed files with 34 additions and 5 deletions

View File

@@ -53,11 +53,11 @@ export const QQSetQuickLoginHandler: RequestHandler = async (req, res) => {
});
return;
}
let ret = await DataRuntime.getQQQuickLogin(uin);
if (!ret.result) {
const { result, message } = await DataRuntime.getQQQuickLogin(uin);
if (!result) {
res.send({
code: -1,
message: ret.message
message: message
});
return;
}