From e7e078643ceef797dc0ea7827d19b76513e8b992 Mon Sep 17 00:00:00 2001 From: weiweiw <14335254+weiweiw22@user.noreply.gitee.com> Date: Thu, 4 Jul 2024 09:06:29 +0800 Subject: [PATCH 1/4] replace Log.java with SysLog.java --- .../com/bonus/common/log/annotation/Log.java | 51 ------------------- 1 file changed, 51 deletions(-) delete mode 100644 bonus-common/bonus-common-log/src/main/java/com/bonus/common/log/annotation/Log.java diff --git a/bonus-common/bonus-common-log/src/main/java/com/bonus/common/log/annotation/Log.java b/bonus-common/bonus-common-log/src/main/java/com/bonus/common/log/annotation/Log.java deleted file mode 100644 index f9a0864..0000000 --- a/bonus-common/bonus-common-log/src/main/java/com/bonus/common/log/annotation/Log.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.bonus.common.log.annotation; - -import java.lang.annotation.Documented; -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -import com.bonus.common.log.enums.BusinessType; -import com.bonus.common.log.enums.OperatorType; - -/** - * 自定义操作日志记录注解 - * - * @author bonus - * - */ -@Target({ ElementType.PARAMETER, ElementType.METHOD }) -@Retention(RetentionPolicy.RUNTIME) -@Documented -public @interface Log -{ - /** - * 模块 - */ - public String title() default ""; - - /** - * 功能 - */ - public BusinessType businessType() default BusinessType.OTHER; - - /** - * 操作人类别 - */ - public OperatorType operatorType() default OperatorType.MANAGE; - - /** - * 是否保存请求的参数 - */ - public boolean isSaveRequestData() default true; - - /** - * 是否保存响应的参数 - */ - public boolean isSaveResponseData() default true; - - /** - * 排除指定的请求参数 - */ - public String[] excludeParamNames() default {}; -} From deffba6e16357c064c71db5ac6b249e7f205db52 Mon Sep 17 00:00:00 2001 From: weiweiw <14335254+weiweiw22@user.noreply.gitee.com> Date: Thu, 4 Jul 2024 09:21:21 +0800 Subject: [PATCH 2/4] remove unused code --- .../main/java/com/bonus/auth/form/LoginBody.java | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/bonus-auth/src/main/java/com/bonus/auth/form/LoginBody.java b/bonus-auth/src/main/java/com/bonus/auth/form/LoginBody.java index 2087859..59c3187 100644 --- a/bonus-auth/src/main/java/com/bonus/auth/form/LoginBody.java +++ b/bonus-auth/src/main/java/com/bonus/auth/form/LoginBody.java @@ -1,11 +1,8 @@ package com.bonus.auth.form; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonProperty; - /** * 用户登录对象 - * + * * @author bonus */ public class LoginBody @@ -20,15 +17,6 @@ public class LoginBody */ private String password; - // 无参构造函数 - public LoginBody() { - } - @JsonCreator - public LoginBody(@JsonProperty("username") String username, @JsonProperty("password") String password) { - this.username = username; - this.password = password; - } - public String getUsername() { return username; @@ -48,4 +36,4 @@ public class LoginBody { this.password = password; } -} +} \ No newline at end of file From f00b9c32bf049605ce961f6015168f510481fb5a Mon Sep 17 00:00:00 2001 From: weiweiw Date: Thu, 4 Jul 2024 09:45:57 +0800 Subject: [PATCH 3/4] Delete .idea/inspectionProfiles/Project_Default.xml --- .idea/inspectionProfiles/Project_Default.xml | 66 -------------------- 1 file changed, 66 deletions(-) delete mode 100644 .idea/inspectionProfiles/Project_Default.xml diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml deleted file mode 100644 index 85fda15..0000000 --- a/.idea/inspectionProfiles/Project_Default.xml +++ /dev/null @@ -1,66 +0,0 @@ - - - - \ No newline at end of file From dd42011bb73a1c94cd64d6b2054b80fc90a9209a Mon Sep 17 00:00:00 2001 From: weiweiw Date: Thu, 4 Jul 2024 09:46:21 +0800 Subject: [PATCH 4/4] Delete .idea/sonarlint/securityhotspotstore/index.pb --- .idea/sonarlint/securityhotspotstore/index.pb | 49 ------------------- 1 file changed, 49 deletions(-) delete mode 100644 .idea/sonarlint/securityhotspotstore/index.pb diff --git a/.idea/sonarlint/securityhotspotstore/index.pb b/.idea/sonarlint/securityhotspotstore/index.pb deleted file mode 100644 index 6149509..0000000 --- a/.idea/sonarlint/securityhotspotstore/index.pb +++ /dev/null @@ -1,49 +0,0 @@ - -� -Wbonus-modules/bonus-file/src/main/java/com/bonus/file/controller/SysFileController.java,d/5/d56c65f042936ed45626ea96a8a3be8a1f991518 -7 -pom.xml,4/4/442292b8a7efeabbe4cc176709b833b1792140ec -� -Qbonus-modules/bonus-file/src/main/java/com/bonus/file/config/ResourcesConfig.java,7/c/7ce726513da4afdbc3421b816e8def845a39a0bb -A -bonus-api/pom.xml,4/d/4d66766070d502e9495acbf654cd20829c4425b3 -� -^bonus-modules/bonus-system/src/main/java/com/bonus/system/service/impl/SysUserServiceImpl.java,a/a/aa608ec83cbef0157ad034a45ce178fe8d3e1f1d -� -Vbonus-modules/bonus-system/src/main/java/com/bonus/system/service/ISysUserService.java,e/9/e9e9c8aa0ae1931dc6e028fc6aa2a4445d3ba19e -} -Mbonus-modules/bonus-file/src/main/java/com/bonus/file/config/MinioConfig.java,5/0/5004442f77e22ef4c1d07b99806239bb7fb7ffbd - -Obonus-modules/bonus-file/src/main/java/com/bonus/file/BonusFileApplication.java,1/f/1fd70d40f7c9cb50a47ee5948b3fd37458651d5f -R -"bonus-visual/bonus-monitor/pom.xml,a/5/a567507002bfc4cb69f800244bcc422fbcc10e5d -� -[bonus-modules/bonus-system/src/main/java/com/bonus/system/controller/SysUserController.java,5/f/5f3e07e732703a75dec38fdc223ff19f81693be2 -� -Rbonus-modules/bonus-file/src/main/java/com/bonus/file/utils/FileDownloadUtils.java,9/7/9722eda79f36a8f93bcf90763a02040c63aa2fde -� -Tbonus-api/bonus-api-system/src/main/java/com/bonus/system/api/RemoteFileService.java,8/4/840a68431ce1f8c33ff92941ebcdc18c832f00e4 -~ -Nbonus-gateway/src/main/java/com/bonus/gateway/service/ValidateCodeService.java,d/6/d6fecdfdef18b3d6832231c6f1b018c886d4fab8 -z -Jbonus-gateway/src/main/java/com/bonus/gateway/BonusGatewayApplication.java,2/c/2cc24e5aa9771bcc9b5a17544600b0e244d9c2ad -q -Abonus-auth/src/main/java/com/bonus/auth/BonusAuthApplication.java,9/1/911ccbfd7be6b58e893061cdfb63c958e37d6eda -D -sql/bns_20240604.sql,8/5/85b1974774f16ce7959a122e4766c9a31a7a7895 -� -\bonus-modules/bonus-file/src/main/java/com/bonus/file/service/FastDfsSysFileServiceImpl.java,c/6/c6d854777bca75255487810d12805069bf1a4f45 -P - bonus-modules/bonus-file/pom.xml,0/f/0fbb26476b87bedf6f864aa5d52284b75bde6869 -� -Ubonus-modules/bonus-system/src/main/java/com/bonus/system/BonusSystemApplication.java,a/7/a7445a685a0b55cc0d903c370a10674cfbd15608 -E -bonus-modules/pom.xml,7/3/73fe31f1bc837e4395fd9296f4f1793cc44fbd07 -� -Pbonus-modules/bonus-file/src/main/java/com/bonus/file/utils/FileUploadUtils.java,c/9/c9d1df9f46abbc0b2e5a3d147c7b3407ef09b84e -� -Rbonus-modules/bonus-file/src/main/java/com/bonus/file/service/ISysFileService.java,6/7/6796766c5f6d21c9e346f89b25160c0dd6401a5b -� -Zbonus-modules/bonus-file/src/main/java/com/bonus/file/service/MinioSysFileServiceImpl.java,8/7/8721859fd7a6cfb3d43a453ba3850048c6eeb2d2 -� -Zbonus-modules/bonus-file/src/main/java/com/bonus/file/service/LocalSysFileServiceImpl.java,2/e/2ef247d050a0881cb49e4a582bc1a311f9bc6be0 \ No newline at end of file