系统漏洞修复
This commit is contained in:
parent
735eb37858
commit
1e4902222f
|
|
@ -34,3 +34,15 @@ spring:
|
||||||
jasypt:
|
jasypt:
|
||||||
encryptor:
|
encryptor:
|
||||||
password: Encrypt
|
password: Encrypt
|
||||||
|
|
||||||
|
management:
|
||||||
|
server:
|
||||||
|
port: -1
|
||||||
|
endpoints:
|
||||||
|
web:
|
||||||
|
exposure:
|
||||||
|
exclude: []
|
||||||
|
enabled-by-default: false
|
||||||
|
endpoint:
|
||||||
|
beans:
|
||||||
|
enabled: false
|
||||||
|
|
|
||||||
|
|
@ -65,3 +65,14 @@ jasypt:
|
||||||
# management:
|
# management:
|
||||||
# endpoints:
|
# endpoints:
|
||||||
# enabled-by-default: false
|
# enabled-by-default: false
|
||||||
|
management:
|
||||||
|
server:
|
||||||
|
port: -1
|
||||||
|
endpoints:
|
||||||
|
web:
|
||||||
|
exposure:
|
||||||
|
exclude: []
|
||||||
|
enabled-by-default: false
|
||||||
|
endpoint:
|
||||||
|
beans:
|
||||||
|
enabled: false
|
||||||
|
|
@ -37,3 +37,14 @@ logging:
|
||||||
level:
|
level:
|
||||||
com.bonus-project: debug
|
com.bonus-project: debug
|
||||||
|
|
||||||
|
management:
|
||||||
|
server:
|
||||||
|
port: -1
|
||||||
|
endpoints:
|
||||||
|
web:
|
||||||
|
exposure:
|
||||||
|
exclude: []
|
||||||
|
enabled-by-default: false
|
||||||
|
endpoint:
|
||||||
|
beans:
|
||||||
|
enabled: false
|
||||||
|
|
@ -44,3 +44,14 @@ file:
|
||||||
upload_path: /usr/local/bonus/uploadPath
|
upload_path: /usr/local/bonus/uploadPath
|
||||||
download_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
|
||||||
|
|
@ -27,3 +27,14 @@ spring:
|
||||||
# 共享配置
|
# 共享配置
|
||||||
shared-configs:
|
shared-configs:
|
||||||
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
- 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
|
||||||
|
|
@ -27,3 +27,14 @@ spring:
|
||||||
# 共享配置
|
# 共享配置
|
||||||
shared-configs:
|
shared-configs:
|
||||||
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
- 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
|
||||||
|
|
@ -27,3 +27,14 @@ spring:
|
||||||
# 共享配置
|
# 共享配置
|
||||||
shared-configs:
|
shared-configs:
|
||||||
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
- 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
|
||||||
|
|
@ -8,6 +8,7 @@ import com.bonus.common.log.enums.OperaType;
|
||||||
import com.bonus.project.domain.*;
|
import com.bonus.project.domain.*;
|
||||||
import com.bonus.project.service.ConsApprovalService;
|
import com.bonus.project.service.ConsApprovalService;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
import org.hibernate.validator.internal.util.StringHelper;
|
||||||
import org.springframework.validation.annotation.Validated;
|
import org.springframework.validation.annotation.Validated;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
|
|
||||||
|
|
@ -111,7 +112,14 @@ public class ConsApprovalController extends BaseController {
|
||||||
@SysLog(title = "首页", businessType = OperaType.QUERY,logType = 0,module = "首页->工程基础信息",details = "查询工程基础信息")
|
@SysLog(title = "首页", businessType = OperaType.QUERY,logType = 0,module = "首页->工程基础信息",details = "查询工程基础信息")
|
||||||
public AjaxResult getIndexBasicInfo(@Validated @RequestBody Project bean) {
|
public AjaxResult getIndexBasicInfo(@Validated @RequestBody Project bean) {
|
||||||
try{
|
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){
|
}catch (Exception e){
|
||||||
logger.error(e.toString(),e);
|
logger.error(e.toString(),e);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -37,3 +37,15 @@ logging:
|
||||||
level:
|
level:
|
||||||
com.bonus-project: debug
|
com.bonus-project: debug
|
||||||
|
|
||||||
|
management:
|
||||||
|
server:
|
||||||
|
port: -1
|
||||||
|
endpoints:
|
||||||
|
web:
|
||||||
|
exposure:
|
||||||
|
exclude: []
|
||||||
|
enabled-by-default: false
|
||||||
|
endpoint:
|
||||||
|
beans:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -33,3 +33,15 @@ spring:
|
||||||
logging:
|
logging:
|
||||||
level:
|
level:
|
||||||
com.bonus_system: debug
|
com.bonus_system: debug
|
||||||
|
|
||||||
|
management:
|
||||||
|
server:
|
||||||
|
port: -1
|
||||||
|
endpoints:
|
||||||
|
web:
|
||||||
|
exposure:
|
||||||
|
exclude: []
|
||||||
|
enabled-by-default: false
|
||||||
|
endpoint:
|
||||||
|
beans:
|
||||||
|
enabled: false
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue