Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fzm-joying
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
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
lei
fzm-joying
Commits
a6c5c0d9
Commit
a6c5c0d9
authored
Jul 14, 2021
by
tangtuo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除不必要的依赖
parent
7c6812a8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
24 additions
and
109 deletions
+24
-109
application-dev.yml
joying-admin/src/main/resources/application-dev.yml
+0
-4
application-test.yml
joying-admin/src/main/resources/application-test.yml
+0
-4
pom.xml
joying-portal/pom.xml
+0
-4
RabbitMQConfig.java
...l/src/main/java/com/fzm/portal/config/RabbitMQConfig.java
+0
-45
application-dev.yml
joying-portal/src/main/resources/application-dev.yml
+2
-13
application-local.yml
joying-portal/src/main/resources/application-local.yml
+11
-13
application-test.yml
joying-portal/src/main/resources/application-test.yml
+11
-13
pom.xml
pom.xml
+0
-13
No files found.
joying-admin/src/main/resources/application-dev.yml
View file @
a6c5c0d9
...
...
@@ -30,10 +30,6 @@ spring:
master-data-source-name
:
write
# 从库数据源名称列表,多个逗号分隔
slave-data-source-names
:
read
props
:
# 开启SQL显示,默认false
sql
:
show
:
true
redis
:
host
:
172.16.101.135
port
:
6379
...
...
joying-admin/src/main/resources/application-test.yml
View file @
a6c5c0d9
...
...
@@ -30,10 +30,6 @@ spring:
master-data-source-name
:
write
# 从库数据源名称列表,多个逗号分隔
slave-data-source-names
:
read
props
:
# 开启SQL显示,默认false
sql
:
show
:
true
redis
:
host
:
172.16.101.136
port
:
6379
...
...
joying-portal/pom.xml
View file @
a6c5c0d9
...
...
@@ -19,10 +19,6 @@
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-amqp
</artifactId>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-test
</artifactId>
<scope>
test
</scope>
</dependency>
...
...
joying-portal/src/main/java/com/fzm/portal/config/RabbitMQConfig.java
deleted
100644 → 0
View file @
7c6812a8
package
com
.
fzm
.
portal
.
config
;
import
org.springframework.amqp.core.Binding
;
import
org.springframework.amqp.core.Exchange
;
import
org.springframework.amqp.core.Queue
;
import
org.springframework.amqp.core.TopicExchange
;
import
org.springframework.context.annotation.Bean
;
import
org.springframework.context.annotation.Configuration
;
import
java.util.HashMap
;
/**
* @author tangtuo
* @date 2021/6/30 10:41
*/
@Configuration
public
class
RabbitMQConfig
{
@Bean
public
Exchange
orderEventExchange
()
{
return
new
TopicExchange
(
"nft-event-exchange"
,
true
,
false
);
}
@Bean
public
Queue
nftHashQueue
()
{
return
new
Queue
(
"nft.hash.queue"
,
true
,
false
,
false
);
}
@Bean
public
Binding
orderCreateBinding
()
{
/**
* String destination, 目的地(队列名或者交换机名字)
* DestinationType destinationType, 目的地类型(Queue、Exhcange)
* String exchange,
* String routingKey,
* Map<String, Object> arguments
* */
return
new
Binding
(
"nft.hash.queue"
,
Binding
.
DestinationType
.
QUEUE
,
"nft-event-exchange"
,
"nft.hash"
,
null
);
}
}
joying-portal/src/main/resources/application-dev.yml
View file @
a6c5c0d9
...
...
@@ -30,10 +30,6 @@ spring:
master-data-source-name
:
write
# 从库数据源名称列表,多个逗号分隔
slave-data-source-names
:
read
props
:
# 开启SQL显示,默认false
sql
:
show
:
false
redis
:
host
:
172.16.101.135
port
:
6379
...
...
@@ -51,15 +47,8 @@ spring:
cache
:
# 整合SpringCache,redis作为缓存类型
type
:
redis
rabbitmq
:
host
:
172.16.101.135
port
:
5672
username
:
admin
password
:
admin
listener
:
simple
:
####开启手动签收
acknowledge-mode
:
manual
redis
:
time-to-live
:
86400000
swagger
:
title
:
乐映影视门户系统
...
...
joying-portal/src/main/resources/application-local.yml
View file @
a6c5c0d9
...
...
@@ -30,10 +30,6 @@ spring:
master-data-source-name
:
write
# 从库数据源名称列表,多个逗号分隔
slave-data-source-names
:
read
props
:
# 开启SQL显示,默认false
sql
:
show
:
false
redis
:
host
:
localhost
port
:
6379
...
...
@@ -51,15 +47,17 @@ spring:
cache
:
# 整合SpringCache,redis作为缓存类型
type
:
redis
rabbitmq
:
host
:
172.16.101.135
port
:
5672
username
:
admin
password
:
admin
listener
:
simple
:
####开启手动签收
acknowledge-mode
:
manual
redis
:
time-to-live
:
86400000
# rabbitmq:
# host: 172.16.101.135
# port: 5672
# username: admin
# password: admin
# listener:
# simple:
# ####开启手动签收
# acknowledge-mode: manual
swagger
:
title
:
乐映影视门户系统
...
...
joying-portal/src/main/resources/application-test.yml
View file @
a6c5c0d9
...
...
@@ -30,10 +30,6 @@ spring:
master-data-source-name
:
write
# 从库数据源名称列表,多个逗号分隔
slave-data-source-names
:
read
props
:
# 开启SQL显示,默认false
sql
:
show
:
true
redis
:
host
:
172.16.101.136
port
:
6379
...
...
@@ -51,15 +47,17 @@ spring:
cache
:
# 整合SpringCache,redis作为缓存类型
type
:
redis
rabbitmq
:
host
:
172.16.101.135
port
:
5672
username
:
admin
password
:
admin
listener
:
simple
:
####开启手动签收
acknowledge-mode
:
manual
redis
:
time-to-live
:
86400000
# rabbitmq:
# host: 172.16.101.135
# port: 5672
# username: admin
# password: admin
# listener:
# simple:
# ####开启手动签收
# acknowledge-mode: manual
swagger
:
title
:
乐映影视门户系统
...
...
pom.xml
View file @
a6c5c0d9
...
...
@@ -75,19 +75,6 @@
<version>
2.8.6
</version>
</dependency>
<!-- Sa-Token 权限认证, 在线文档:http://sa-token.dev33.cn/ -->
<dependency>
<groupId>
cn.dev33
</groupId>
<artifactId>
sa-token-spring-boot-starter
</artifactId>
<version>
1.20.0
</version>
</dependency>
<!-- Sa-Token整合redis (使用jackson序列化方式) -->
<dependency>
<groupId>
cn.dev33
</groupId>
<artifactId>
sa-token-dao-redis-jackson
</artifactId>
<version>
1.20.0
</version>
</dependency>
<dependency>
<groupId>
com.github.pagehelper
</groupId>
<artifactId>
pagehelper-spring-boot-starter
</artifactId>
...
...
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