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
Show 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 @@
<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>
...
...
yifu-check/yifu-check-biz/pom.xml
View file @
5b0d9375
...
...
@@ -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>
...
...
yifu-check/yifu-check-biz/src/main/resources/application-dev.yml
View file @
5b0d9375
# 数据源配置
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
yifu-check/yifu-check-biz/src/main/resources/application-test.yml
View file @
5b0d9375
# 数据源配置
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
:
...
...
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.*;
@Retention
(
RetentionPolicy
.
RUNTIME
)
@EnableGlobalMethodSecurity
(
prePostEnabled
=
true
)
@Import
({
YifuResourceServerAutoConfiguration
.
class
,
YifuSecurityBeanDefinitionRegistrar
.
class
,
YifuResourceServerTokenRelayAutoConfiguration
.
class
,
YifuFeignClientConfiguration
.
class
})
YifuResourceServerTokenRelayAutoConfiguration
.
class
})
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