From c188437ed585f61f8c55232b533098da41db5a60 Mon Sep 17 00:00:00 2001 From: ikmkj <1@qq,com> Date: Mon, 4 Aug 2025 19:33:00 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E7=AE=80=E5=8C=96=E5=AE=9E?= =?UTF-8?q?=E4=BD=93=E7=B1=BB=E5=B9=B6=E4=BD=BF=E7=94=A8esbuild=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E6=9E=84=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: aider (openai/gemini-2.5-pro) --- .../bijihoudaun/entity/RegistrationCode.java | 42 +------------------ biji-qianduan/vite.config.js | 9 ++-- 2 files changed, 4 insertions(+), 47 deletions(-) diff --git a/biji-houdaun/src/main/java/com/test/bijihoudaun/entity/RegistrationCode.java b/biji-houdaun/src/main/java/com/test/bijihoudaun/entity/RegistrationCode.java index 5fda906..e78f621 100644 --- a/biji-houdaun/src/main/java/com/test/bijihoudaun/entity/RegistrationCode.java +++ b/biji-houdaun/src/main/java/com/test/bijihoudaun/entity/RegistrationCode.java @@ -30,44 +30,4 @@ public class RegistrationCode implements Serializable { @Schema(description = "创建时间", name = "createdAt") private String createdAt; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public String getCode() { - return code; - } - - public void setCode(String code) { - this.code = code; - } - - public String getExpiryTime() { - return expiryTime; - } - - public void setExpiryTime(String expiryTime) { - this.expiryTime = expiryTime; - } - - public String getCreatedBy() { - return createdBy; - } - - public void setCreatedBy(String createdBy) { - this.createdBy = createdBy; - } - - public String getCreatedAt() { - return createdAt; - } - - public void setCreatedAt(String createdAt) { - this.createdAt = createdAt; - } -} \ No newline at end of file +} diff --git a/biji-qianduan/vite.config.js b/biji-qianduan/vite.config.js index 394f59b..9988df0 100644 --- a/biji-qianduan/vite.config.js +++ b/biji-qianduan/vite.config.js @@ -20,12 +20,9 @@ export default defineConfig({ } }, build: { - minify: 'terser', - terserOptions: { - compress: { - drop_console: true, - drop_debugger: true, - }, + minify: 'esbuild', + esbuild: { + drop: ['console', 'debugger'], }, } })