宇同配置文件

This commit is contained in:
yuqh 2025-08-12 16:56:52 +08:00
parent 8b140baa17
commit b7bc8929de
4 changed files with 7 additions and 7 deletions

View File

@ -12,7 +12,7 @@ spring:
dynamic: dynamic:
datasource: datasource:
master: master:
url: jdbc:mysql://ufidahz.com.cn:9096/businesscenter_yut?serverTimezone=UTC&useUnicode=true&characterEncoding=UTF8&serverTimezone=GMT%2B8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowLoadLocalInfile=false&autoReconnect=true&failOverReadOnly=false&connectTimeout=30000&socketTimeout=30000&autoReconnectForPools=true url: jdbc:mysql://ufidahz.com.cn:9014/businesscenter_yut?serverTimezone=UTC&useUnicode=true&characterEncoding=UTF8&serverTimezone=GMT%2B8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowLoadLocalInfile=false&autoReconnect=true&failOverReadOnly=false&connectTimeout=30000&socketTimeout=30000&autoReconnectForPools=true
username: root username: root
password: bd993088e8a7c3dc5f44441617f9b4bf password: bd993088e8a7c3dc5f44441617f9b4bf
driver-class-name: com.mysql.jdbc.Driver # 3.2.0开始支持SPI可省略此配置 driver-class-name: com.mysql.jdbc.Driver # 3.2.0开始支持SPI可省略此配置

View File

@ -139,4 +139,4 @@ sftp:
port: port:
username: username:
password: password:
filePase: filePase:

View File

@ -30,13 +30,13 @@ import java.util.zip.ZipInputStream;
public class FileDownloadServiceImpl extends BaseService< FileDownloadEntity,Long> implements IFileDownloadService{ public class FileDownloadServiceImpl extends BaseService< FileDownloadEntity,Long> implements IFileDownloadService{
protected IFileDownloadDao filedownloadDao; protected IFileDownloadDao filedownloadDao;
@Value("${savefile.path}") @Value("${savefile.path:}")
public String DSK; public String DSK;
@Value("${savefile.pluginpath}") @Value("${savefile.pluginpath:}")
public String PLUGINPATH; public String PLUGINPATH;
@Value("${savefile.tomcatpath}") @Value("${savefile.tomcatpath:}")
public String TOMCATPATH; public String TOMCATPATH;
@Autowired @Autowired
public void setFileDownloadDao(IFileDownloadDao dao) { public void setFileDownloadDao(IFileDownloadDao dao) {

View File

@ -40,10 +40,10 @@ import java.util.zip.ZipFile;
*/ */
@Service(value = "sys_fileUploadService") @Service(value = "sys_fileUploadService")
public class FileUploadServiceImpl extends BaseService<FileUploadEntity, Long> implements IFileUploadService { public class FileUploadServiceImpl extends BaseService<FileUploadEntity, Long> implements IFileUploadService {
@Value("${savefile.path}") @Value("${savefile.path:}")
public String DSK; public String DSK;
@Value("${savefile.pluginpath}") @Value("${savefile.pluginpath:}")
public String PLUGINPATH; public String PLUGINPATH;
protected IFileUploadDao fileUploadDao; protected IFileUploadDao fileUploadDao;