系统漏洞修复

This commit is contained in:
haozq 2025-08-25 16:05:33 +08:00
parent 735eb37858
commit 1e4902222f
10 changed files with 111 additions and 1 deletions

View File

@ -34,3 +34,15 @@ spring:
jasypt:
encryptor:
password: Encrypt
management:
server:
port: -1
endpoints:
web:
exposure:
exclude: []
enabled-by-default: false
endpoint:
beans:
enabled: false

View File

@ -65,3 +65,14 @@ jasypt:
# management:
# endpoints:
# enabled-by-default: false
management:
server:
port: -1
endpoints:
web:
exposure:
exclude: []
enabled-by-default: false
endpoint:
beans:
enabled: false

View File

@ -37,3 +37,14 @@ logging:
level:
com.bonus-project: debug
management:
server:
port: -1
endpoints:
web:
exposure:
exclude: []
enabled-by-default: false
endpoint:
beans:
enabled: false

View File

@ -44,3 +44,14 @@ file:
upload_path: /usr/local/bonus/uploadPath
download_path: /usr/local/bonus/uploadPath
management:
server:
port: -1
endpoints:
web:
exposure:
exclude: []
enabled-by-default: false
endpoint:
beans:
enabled: false

View File

@ -27,3 +27,14 @@ spring:
# 共享配置
shared-configs:
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
management:
server:
port: -1
endpoints:
web:
exposure:
exclude: []
enabled-by-default: false
endpoint:
beans:
enabled: false

View File

@ -27,3 +27,14 @@ spring:
# 共享配置
shared-configs:
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
management:
server:
port: -1
endpoints:
web:
exposure:
exclude: []
enabled-by-default: false
endpoint:
beans:
enabled: false

View File

@ -27,3 +27,14 @@ spring:
# 共享配置
shared-configs:
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
management:
server:
port: -1
endpoints:
web:
exposure:
exclude: []
enabled-by-default: false
endpoint:
beans:
enabled: false

View File

@ -8,6 +8,7 @@ import com.bonus.common.log.enums.OperaType;
import com.bonus.project.domain.*;
import com.bonus.project.service.ConsApprovalService;
import lombok.extern.slf4j.Slf4j;
import org.hibernate.validator.internal.util.StringHelper;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
@ -111,7 +112,14 @@ public class ConsApprovalController extends BaseController {
@SysLog(title = "首页", businessType = OperaType.QUERY,logType = 0,module = "首页->工程基础信息",details = "查询工程基础信息")
public AjaxResult getIndexBasicInfo(@Validated @RequestBody Project bean) {
try{
return service.getIndexBasicInfo(bean);
// if(StringHelper.isNullOrEmptyString(bean.getUuid())){
// bean.setUuid("888");
// }
AjaxResult ajaxResult= service.getIndexBasicInfo(bean);
if(ajaxResult==null){
return AjaxResult.success(0);
}
return ajaxResult;
}catch (Exception e){
logger.error(e.toString(),e);
}

View File

@ -37,3 +37,15 @@ logging:
level:
com.bonus-project: debug
management:
server:
port: -1
endpoints:
web:
exposure:
exclude: []
enabled-by-default: false
endpoint:
beans:
enabled: false

View File

@ -33,3 +33,15 @@ spring:
logging:
level:
com.bonus_system: debug
management:
server:
port: -1
endpoints:
web:
exposure:
exclude: []
enabled-by-default: false
endpoint:
beans:
enabled: false