fix: 解决问题

This commit is contained in:
2025-12-28 10:52:04 +08:00
parent 868979a423
commit 9f51d27398
18 changed files with 57061 additions and 201 deletions

View File

@@ -1,6 +1,6 @@
import { User } from '@/models/user.ts';
import http from 'http';
import cookie from 'cookie';
import * as cookie from '@kevisual/router/src/server/cookie.ts';
import { logger } from './logger.ts';
export const error = (msg: string, code = 500) => {
return JSON.stringify({ code, message: msg });