浏览代码

配置文件修改

liuj 7 月之前
父节点
当前提交
7c48c6ec82

+ 0 - 6
src/main/java/com/sunxung/factoring/service/sys/impl/FileServiceImpl.java

@@ -36,12 +36,6 @@ import java.util.List;
 @Service
 public class FileServiceImpl extends ServiceImpl<FileStorageDAO,FileStorageDO> implements FileService {
 
-    @Value("${localhost}")
-    private String localhost;
-
-    @Autowired
-    private FileUploadProperties fileUploadProperties;
-
     public static final String FILE_NAME = "file";
 
     @Override

+ 1 - 4
src/main/resources/application-dev.yml

@@ -21,7 +21,7 @@ spring:
     master:
       continueOnError: true
       type: com.alibaba.druid.pool.DruidDataSource
-      url: jdbc:mysql://192.168.3.6:3106/factoring_trade_v4_online_new?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&rewriteBatchedStatements=true
+      url: jdbc:mysql://192.168.3.6:3106/factoring_trade_v2_20230918?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&rewriteBatchedStatements=true
       username: root
       password: root
       driver-class-name: com.mysql.jdbc.Driver
@@ -170,9 +170,6 @@ fdd:
   signInfoUrl: "http://192.168.3.6:8870/fdd/getSignInfo"
   viewContractUrl: "http://192.168.3.6:8870/fdd/getViewContractUrl"
 
-  localhost: http://localhost:8888
-
-
 
 auth:
   not-login:

+ 1 - 2
src/main/resources/application-prod.yml

@@ -71,7 +71,7 @@ pagehelper:
     supportMethodsArguments: true
     params: count=countSql
 
-localhost: http://citp.changan-inkasso.com/tradeV4-backend
+localhost: http://citp-finance.com/tradeV4-backend
 
 #Redis缓存服务配置
 redis:
@@ -170,7 +170,6 @@ fdd:
   signInfoUrl: "http://47.114.148.98:8868/fdd/getSignInfo"
   viewContractUrl: "http://47.114.148.98:8868/fdd/getViewContractUrl"
 
-  localhost: http://localhost:8868
 
 auth:
   not-login: