springboot logback.xml 配置
springboot logback.xml 配置 <?xml version="1.0" encoding="UTF-8"?> <configuration debug="false"> <!--定义日志文件的存储地址 --> <property na…
springboot logback.xml 配置 <?xml version="1.0" encoding="UTF-8"?> <configuration debug="false"> <!--定义日志文件的存储地址 --> <property na…
在反向代理中增加如下配置 关键配置 start proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; 关键配置 end
String ip = request.getHeader("x-forwarded-for"); if (ip == null || ip.length() == 0&nbs…
location ^~ / { proxy_pass http://127.0.0.1:8081/; proxy_set_header &n…
Springboot发送http请求(使用RestTemplate) 零、关键类介绍 public class HttpEntity<T> { public static final HttpEntity<?> EMPTY = new HttpEntity(); private final HttpHeaders headers;…
@Transactional //出现异常就回滚 @Transactional(rollbackFor = Exception.class) //捕获异常也回滚 TransactionAspectSupport.currentTransactionStatus().setRollbackOnly(); //手…
org.jeecg.modules.activiti.listenerlombok.extern.slf4j.org.flowable.engine.HistoryServiceorg.flowable.engine.RuntimeServiceorg.flowable.engine.delegate.DelegateExecutionorg.flowable.engine.delegate.E…