0606.14
Some checks failed
Next.js CI/CD 流水线 / deploy (push) Failing after 41s

This commit is contained in:
2025-06-06 21:02:14 +08:00
parent 8e0ae881dd
commit d098d58018
41 changed files with 6899 additions and 25 deletions

View File

@@ -1,7 +1,7 @@
//src\pages\api\users\[id].ts
import type { NextApiRequest, NextApiResponse } from 'next';
import { User } from '@/models';
import connectDB from '@/utils/ConnectDB';
import connectDB from '@/utils/connectDB';
import { IUser } from '@/models/types'; // 导入 IUser 接口类型
import bcrypt from 'bcryptjs';