From d4d28c27603d2b2e97cd926880a53bca31c9efc7 Mon Sep 17 00:00:00 2001 From: CrescentLeaf Date: Sun, 28 Dec 2025 00:20:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E9=87=8D=E5=A4=8D=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/api/UserApi.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/server/api/UserApi.ts b/server/api/UserApi.ts index e0f0c63..a5b9c5a 100644 --- a/server/api/UserApi.ts +++ b/server/api/UserApi.ts @@ -144,10 +144,6 @@ export default class UserApi extends BaseApi { msg: "参数缺失", code: 400, } - if (this.checkArgsEmpty(args, ['nickname', 'password'])) return { - msg: "参数不得为空", - code: 400, - } const username: string | null = args.username as string const nickname: string = args.nickname as string