Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
yangxiujun
/
paidan_demo
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 3ae512ff
authored
Jan 09, 2024
by
yangxiujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:代码修改配置
1 parent
29e08f85
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
26 additions
and
26 deletions
project-dispatch/src/main/resources/application-dev.yaml
project-dispatch/src/main/resources/application.yaml
project-gateway/src/main/java/com/dituhui/pea/gateway/Application.java → project-gateway/src/main/java/com/dituhui/pea/gateway/GatewayApplication.java
project-gateway/src/main/resources/application.yaml
project-order/src/main/resources/application.yaml
project-user/src/main/resources/application-dev.yaml
project-user/src/main/resources/application.yaml
project-dispatch/src/main/resources/application-dev.yaml
View file @
3ae512f
...
...
@@ -48,9 +48,9 @@ spring:
enabled
:
false
datasource
:
driver-class-name
:
com.mysql.cj.jdbc.Driver
url
:
jdbc:mysql://12
7.0.0.1:3
306/saas_aftersale_test?serverTimezone=Asia/Shanghai
url
:
jdbc:mysql://12
4.70.188.174:32
306/saas_aftersale_test?serverTimezone=Asia/Shanghai
username
:
root
password
:
123456
password
:
boxi_dev_0725
# url: jdbc:mysql://localhost:32306/saas_aftersale_test?serverTimezone=Asia/Shanghai
# username: boxi
# password: boxi_dev_0725
...
...
project-dispatch/src/main/resources/application.yaml
View file @
3ae512f
...
...
@@ -36,10 +36,10 @@ spring:
cloud
:
nacos
:
discovery
:
server-addr
:
localhost
:8848
server-addr
:
124.70.188.174
:8848
group
:
project
config
:
server-addr
:
localhost
:8848
server-addr
:
124.70.188.174
:8848
group
:
project
file-extension
:
yaml
import-check
:
...
...
@@ -50,9 +50,9 @@ spring:
-
nacos:redis-config.yaml?group=project&refreshEnabled=true
datasource
:
driver-class-name
:
com.mysql.cj.jdbc.Driver
url
:
jdbc:mysql://
localhost:3
306/saas_aftersale_test?serverTimezone=Asia/Shanghai
url
:
jdbc:mysql://
124.70.188.174:32
306/saas_aftersale_test?serverTimezone=Asia/Shanghai
username
:
root
password
:
123456
password
:
boxi_dev_0725
type
:
com.alibaba.druid.pool.DruidDataSource
# quartz 配置
...
...
project-gateway/src/main/java/com/dituhui/pea/gateway/Application.java
→
project-gateway/src/main/java/com/dituhui/pea/gateway/
Gateway
Application.java
View file @
3ae512f
...
...
@@ -13,7 +13,7 @@ import reactor.core.publisher.Mono;
@SpringBootApplication
@EnableFeignClients
(
basePackages
=
{
"com.dituhui.pea.user"
})
//@EnableFeignClients
public
class
Application
{
public
class
Gateway
Application
{
@Bean
public
KeyResolver
pathKeyResolver
()
{
...
...
@@ -21,7 +21,7 @@ public class Application {
}
public
static
void
main
(
String
[]
args
)
{
SpringApplication
.
run
(
Application
.
class
,
args
);
SpringApplication
.
run
(
Gateway
Application
.
class
,
args
);
}
}
project-gateway/src/main/resources/application.yaml
View file @
3ae512f
...
...
@@ -6,11 +6,11 @@ spring:
cloud
:
nacos
:
config
:
server-addr
:
localhost
:8848
server-addr
:
124.70.188.174
:8848
group
:
project
file-extension
:
yaml
discovery
:
server-addr
:
localhost
:8848
server-addr
:
124.70.188.174
:8848
group
:
project
config
:
import
:
...
...
project-order/src/main/resources/application.yaml
View file @
3ae512f
...
...
@@ -11,10 +11,10 @@ spring:
cloud
:
nacos
:
discovery
:
server-addr
:
localhost
:8848
server-addr
:
124.70.188.174
:8848
group
:
project
config
:
server-addr
:
localhost
:8848
server-addr
:
124.70.188.174
:8848
group
:
project
file-extension
:
yaml
import-check
:
...
...
@@ -30,8 +30,8 @@ spring:
# - optional:nacos:datasource-config.yaml
datasource
:
driver-class-name
:
com.mysql.cj.jdbc.Driver
url
:
jdbc:mysql://1
0.10.0.116
:32306/saas_aftersale_test?serverTimezone=Asia/Shanghai
username
:
boxi
url
:
jdbc:mysql://1
24.70.188.174
:32306/saas_aftersale_test?serverTimezone=Asia/Shanghai
username
:
root
password
:
boxi_dev_0725
type
:
com.alibaba.druid.pool.DruidDataSource
profiles
:
...
...
@@ -62,10 +62,10 @@ sentry:
exception-resolver-order
:
-2147483647
SaaS
:
url
:
http
s://pea-test.bshg.com.cn
ak
:
64e1cde3f9144bfb850b7d37c51af559
userAccount
:
sMvf3yZWA69lKcvlgKcOHQ
==
userPassword
:
qjOHxpQPXLnJP+Jq1CZGBQ
==
url
:
http
://119.3.39.114:8034
ak
:
216d013687ba46f5ad990e9380ec56c6
userAccount
:
1YL+MfLj/Oy70Dvbvn3mYg
==
userPassword
:
EDcMZqTNwRv/ZvGJ8KG+bg
==
encryptionPassWord
:
64e1cde3f9144bfb
bean
:
server
:
https://bean-test.bshg.com.cn
...
...
project-user/src/main/resources/application-dev.yaml
View file @
3ae512f
...
...
@@ -7,10 +7,10 @@ spring:
cloud
:
nacos
:
discovery
:
server-addr
:
localhost
:8848
server-addr
:
124.70.188.174
:8848
group
:
project
config
:
server-addr
:
localhost
:8848
server-addr
:
124.70.188.174
:8848
group
:
project
file-extension
:
yaml
config
:
...
...
@@ -20,9 +20,9 @@ spring:
allow-bean-definition-overriding
:
true
datasource
:
driver-class-name
:
com.mysql.cj.jdbc.Driver
url
:
jdbc:mysql://12
7.0.0.1:3
306/saas_aftersale_test?serverTimezone=Asia/Shanghai
url
:
jdbc:mysql://12
4.70.188.174:32
306/saas_aftersale_test?serverTimezone=Asia/Shanghai
username
:
root
password
:
123456
password
:
boxi_dev_0725
type
:
com.alibaba.druid.pool.DruidDataSource
kafka
:
bootstrap-servers
:
http://kafka:9092
...
...
project-user/src/main/resources/application.yaml
View file @
3ae512f
...
...
@@ -7,10 +7,10 @@ spring:
cloud
:
nacos
:
discovery
:
server-addr
:
localhost
:8848
server-addr
:
124.70.188.174
:8848
group
:
project
config
:
server-addr
:
localhost
:8848
server-addr
:
124.70.188.174
:8848
group
:
project
file-extension
:
yaml
config
:
...
...
@@ -20,8 +20,8 @@ spring:
allow-bean-definition-overriding
:
true
datasource
:
driver-class-name
:
com.mysql.cj.jdbc.Driver
url
:
jdbc:mysql://1
0.10.0.116
:32306/saas_aftersale_test?serverTimezone=Asia/Shanghai
username
:
boxi
url
:
jdbc:mysql://1
24.70.188.174
:32306/saas_aftersale_test?serverTimezone=Asia/Shanghai
username
:
root
password
:
boxi_dev_0725
type
:
com.alibaba.druid.pool.DruidDataSource
kafka
:
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment