Commit 5b0d9375 authored by fangxinjiang's avatar fangxinjiang

附属信息附件上传接口调整

parent 3ac0f515
......@@ -6,7 +6,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.yifu.cloud.plus.v1</groupId>
<artifactId>yifu-check</artifactId>
<artifactId>yifu</artifactId>
<version>1.0.0</version>
</parent>
......
......@@ -6,7 +6,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.yifu.cloud.plus.v1</groupId>
<artifactId>yifu-check</artifactId>
<artifactId>yifu</artifactId>
<version>1.0.0</version>
</parent>
......
# 数据源配置
spring:
mvc:
pathmatch:
matching-strategy: ant_path_matcher
config:
activate:
on-profile: dev
redis:
host: 192.168.1.65
port: 22379
host: 127.0.0.1
password: '@yf_2017'
datasource:
type: com.zaxxer.hikari.HikariDataSource
......@@ -10,9 +15,7 @@ spring:
username: root
password: yf_zsk
url: jdbc:mysql://192.168.1.65:22306/yifu_checks?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
config:
activate:
on-profile: dev
## spring security 配置
security:
oauth2:
......@@ -25,3 +28,4 @@ security:
- /v3/api-docs
- /actuator/**
- /swagger-ui/**
- /checkBankNo/**
\ No newline at end of file
# 数据源配置
spring:
mvc:
pathmatch:
matching-strategy: ant_path_matcher
config:
activate:
on-profile: test
redis:
host: 127.0.0.1
host: 192.168.1.65
port: 22379
password: '@yf_2017'
datasource:
type: com.zaxxer.hikari.HikariDataSource
......@@ -9,9 +16,7 @@ spring:
username: root
password: yf_zsk
url: jdbc:mysql://192.168.1.65:22306/yifu_checks?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
config:
activate:
on-profile: test
## spring security 配置
security:
oauth2:
......
......@@ -39,7 +39,7 @@ import java.lang.annotation.*;
@Retention(RetentionPolicy.RUNTIME)
@EnableGlobalMethodSecurity(prePostEnabled = true)
@Import({ YifuResourceServerAutoConfiguration.class, YifuSecurityBeanDefinitionRegistrar.class,
YifuResourceServerTokenRelayAutoConfiguration.class, YifuFeignClientConfiguration.class })
YifuResourceServerTokenRelayAutoConfiguration.class})
public @interface EnableYifuResourceServer {
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment