TOMCATPATH @Value赋默认值

2024年8月29日15:54:27
This commit is contained in:
xiang2lin 2024-08-29 15:54:38 +08:00
parent 6df67f2fe6
commit a0c21a5a39
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ public class SysApplicationServiceImpl extends BaseService<SysApplicationEntity,
@Resource
private com.hzya.frame.sysnew.application.service.impl.ApplicationCache applicationCache;
@Value("${savefile.tomcatpath}")
@Value("${savefile.tomcatpath:}")
public String TOMCATPATH;
//多线程请求加锁 HttpRequest 构造方法是静态的
private final Object lock = new Object();