Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fangxinjiang
yifu-mvp
Commits
5b0d9375
Commit
5b0d9375
authored
Jun 21, 2022
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
附属信息附件上传接口调整
parent
3ac0f515
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
22 additions
and
13 deletions
+22
-13
pom.xml
yifu-check/yifu-check-api/pom.xml
+1
-1
pom.xml
yifu-check/yifu-check-biz/pom.xml
+1
-1
application-dev.yml
...eck/yifu-check-biz/src/main/resources/application-dev.yml
+10
-6
application-test.yml
...ck/yifu-check-biz/src/main/resources/application-test.yml
+9
-4
EnableYifuResourceServer.java
.../common/security/annotation/EnableYifuResourceServer.java
+1
-1
No files found.
yifu-check/yifu-check-api/pom.xml
View file @
5b0d9375
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
<parent>
<parent>
<groupId>
com.yifu.cloud.plus.v1
</groupId>
<groupId>
com.yifu.cloud.plus.v1
</groupId>
<artifactId>
yifu
-check
</artifactId>
<artifactId>
yifu
</artifactId>
<version>
1.0.0
</version>
<version>
1.0.0
</version>
</parent>
</parent>
...
...
yifu-check/yifu-check-biz/pom.xml
View file @
5b0d9375
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
<parent>
<parent>
<groupId>
com.yifu.cloud.plus.v1
</groupId>
<groupId>
com.yifu.cloud.plus.v1
</groupId>
<artifactId>
yifu
-check
</artifactId>
<artifactId>
yifu
</artifactId>
<version>
1.0.0
</version>
<version>
1.0.0
</version>
</parent>
</parent>
...
...
yifu-check/yifu-check-biz/src/main/resources/application-dev.yml
View file @
5b0d9375
# 数据源配置
# 数据源配置
spring
:
spring
:
mvc
:
pathmatch
:
matching-strategy
:
ant_path_matcher
config
:
activate
:
on-profile
:
dev
redis
:
redis
:
host
:
192.168.1.65
host
:
127.0.0.1
port
:
22379
password
:
'
@yf_2017'
password
:
'
@yf_2017'
datasource
:
datasource
:
type
:
com.zaxxer.hikari.HikariDataSource
type
:
com.zaxxer.hikari.HikariDataSource
...
@@ -10,9 +15,7 @@ spring:
...
@@ -10,9 +15,7 @@ spring:
username
:
root
username
:
root
password
:
yf_zsk
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
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 配置
## spring security 配置
security
:
security
:
oauth2
:
oauth2
:
...
@@ -24,4 +27,5 @@ security:
...
@@ -24,4 +27,5 @@ security:
urls
:
urls
:
-
/v3/api-docs
-
/v3/api-docs
-
/actuator/**
-
/actuator/**
-
/swagger-ui/**
-
/swagger-ui/**
\ No newline at end of file
-
/checkBankNo/**
\ No newline at end of file
yifu-check/yifu-check-biz/src/main/resources/application-test.yml
View file @
5b0d9375
# 数据源配置
# 数据源配置
spring
:
spring
:
mvc
:
pathmatch
:
matching-strategy
:
ant_path_matcher
config
:
activate
:
on-profile
:
test
redis
:
redis
:
host
:
127.0.0.1
host
:
192.168.1.65
port
:
22379
password
:
'
@yf_2017'
password
:
'
@yf_2017'
datasource
:
datasource
:
type
:
com.zaxxer.hikari.HikariDataSource
type
:
com.zaxxer.hikari.HikariDataSource
...
@@ -9,9 +16,7 @@ spring:
...
@@ -9,9 +16,7 @@ spring:
username
:
root
username
:
root
password
:
yf_zsk
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
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 配置
## spring security 配置
security
:
security
:
oauth2
:
oauth2
:
...
...
yifu-common/yifu-common-security/src/main/java/com/yifu.cloud.plus.v1/yifu/common/security/annotation/EnableYifuResourceServer.java
View file @
5b0d9375
...
@@ -39,7 +39,7 @@ import java.lang.annotation.*;
...
@@ -39,7 +39,7 @@ import java.lang.annotation.*;
@Retention
(
RetentionPolicy
.
RUNTIME
)
@Retention
(
RetentionPolicy
.
RUNTIME
)
@EnableGlobalMethodSecurity
(
prePostEnabled
=
true
)
@EnableGlobalMethodSecurity
(
prePostEnabled
=
true
)
@Import
({
YifuResourceServerAutoConfiguration
.
class
,
YifuSecurityBeanDefinitionRegistrar
.
class
,
@Import
({
YifuResourceServerAutoConfiguration
.
class
,
YifuSecurityBeanDefinitionRegistrar
.
class
,
YifuResourceServerTokenRelayAutoConfiguration
.
class
,
YifuFeignClientConfiguration
.
class
})
YifuResourceServerTokenRelayAutoConfiguration
.
class
})
public
@interface
EnableYifuResourceServer
{
public
@interface
EnableYifuResourceServer
{
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment