Skip to content

Commit

Permalink
配置文件修改及sql
Browse files Browse the repository at this point in the history
  • Loading branch information
fengtianyangyang committed Apr 7, 2022
1 parent ba57f19 commit 4cdb461
Show file tree
Hide file tree
Showing 6 changed files with 134,770 additions and 4,644 deletions.
139,173 changes: 134,645 additions & 4,528 deletions DB/lilishop.sql

Large diffs are not rendered by default.

57 changes: 29 additions & 28 deletions buyer-api/src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
server:
port: 8885
port: 8888

servlet:
context-path: /
#
# tomcat:
# #最大链接数,默认不设置,默认是10000
# max-connections: 6500
# #最大等待队列长度,允许HTTP请求缓存到请求队列的最大个数,默认不限制
# accept-count: 1000
# threads:
# #最少闲置
# min-spare: 50
# #最大线程数 ,默认是200
# max: 800
#
# tomcat:
# #最大链接数,默认不设置,默认是10000
# max-connections: 6500
# #最大等待队列长度,允许HTTP请求缓存到请求队列的最大个数,默认不限制
# accept-count: 1000
# threads:
# #最少闲置
# min-spare: 50
# #最大线程数 ,默认是200
# max: 800
netty:
connection-timeout:

Expand Down Expand Up @@ -51,9 +52,9 @@ spring:

# Redis
redis:
host: 120.71.145.134
host: 127.0.0.1
port: 6379
password: ekLhvPGraSj8DGO0
password: lilishop
lettuce:
pool:
# 连接池最大连接数(使用负值表示没有限制) 默认 8
Expand All @@ -72,9 +73,9 @@ spring:
default-datasource:
type: com.alibaba.druid.pool.DruidDataSource
driverClassName: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://120.71.183.195:3306/zyt_shop?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC&allowPublicKeyRetrieval=true&verifyServerCertificate=false&useSSL=false
username: zyt_shop
password: Gb84505016@zytshop
url: jdbc:mysql://127.0.0.1:3306/lilishop?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
username: root
password: lilishop
maxActive: 50
initialSize: 10
maxWait: 60000
Expand Down Expand Up @@ -161,8 +162,8 @@ ignored:

# Swagger界面内容配置
swagger:
title: API接口文档
description: Api Documentation
title: lili API接口文档
description: lili Api Documentation
version: 1.0.0
termsOfServiceUrl: https://pickmall.cn
contact:
Expand Down Expand Up @@ -202,7 +203,7 @@ jasypt:

lili:
system:
isDemoSite: false
isDemoSite: true
statistics:
# 在线人数统计 X 小时。这里设置48,即统计过去48小时每小时在线人数
onlineMember: 48
Expand All @@ -220,10 +221,10 @@ lili:
admin: https://admin-b2b2c.pickmall.cn
#api地址
api:
buyer: https://zshop-api.sx1788.cn/buyer-api
common: https://zshop-api.sx1788.cn/common-api
manager: https://zshop-api.sx1788.cn/manager-api
store: https://zshop-api.sx1788.cn/seller-api
buyer: https://buyer-api.pickmall.cn
common: https://common-api.pickmall.cn
manager: https://admin-api.pickmall.cn
store: https://store-api.pickmall.cn

# jwt 细节设定
jwt-setting:
Expand All @@ -242,7 +243,7 @@ lili:
data:
elasticsearch:
cluster-name: elasticsearch
cluster-nodes: 106.124.130.167:9200
cluster-nodes: 127.0.0.1:9200
index:
number-of-replicas: 0
number-of-shards: 3
Expand All @@ -252,7 +253,7 @@ lili:
# username: elastic
# password: LiLiShopES
logstash:
server: 106.124.130.167:4560
server: 192.168.0.116:4560
rocketmq:
promotion-topic: lili_promotion_topic
promotion-group: lili_promotion_group
Expand All @@ -273,7 +274,7 @@ lili:
after-sale-topic: lili_after_sale_topic
after-sale-group: lili_after_sale_group
rocketmq:
name-server: 106.124.130.167:9876
name-server: 127.0.0.1:9876
producer:
group: lili_group
send-message-timeout: 30000
Expand All @@ -288,4 +289,4 @@ xxl:
ip:
port: 8891
logpath: ./xxl-job/executor
logretentiondays: 7
logretentiondays: 7
50 changes: 26 additions & 24 deletions common-api/src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
server:
port: 8890

servlet:
context-path: /

Expand Down Expand Up @@ -32,9 +33,9 @@ spring:
type: redis
# Redis
redis:
host: 120.71.145.134
host: 127.0.0.1
port: 6379
password: ekLhvPGraSj8DGO0
password: lilishop
lettuce:
pool:
# 连接池最大连接数(使用负值表示没有限制) 默认 8
Expand Down Expand Up @@ -63,9 +64,9 @@ spring:
default-datasource:
type: com.alibaba.druid.pool.DruidDataSource
driverClassName: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://120.71.183.195:3306/zyt_shop?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC&allowPublicKeyRetrieval=true&verifyServerCertificate=false&useSSL=false
username: zyt_shop
password: Gb84505016@zytshop
url: jdbc:mysql://127.0.0.1:3306/lilishop?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
username: root
password: lilishop
maxActive: 20
initialSize: 5
maxWait: 60000
Expand Down Expand Up @@ -136,8 +137,8 @@ ignored:

# Swagger界面内容配置
swagger:
title: API接口文档
description: Api Documentation
title: lili API接口文档
description: lili Api Documentation
version: 1.0.0
termsOfServiceUrl: https://pickmall.cn
contact:
Expand Down Expand Up @@ -190,17 +191,17 @@ lili:
#短信模版配置
sms:
#登录
LOGIN: SMS_185821482
LOGIN: SMS_205755300
#注册
REGISTER: SMS_185821482
REGISTER: SMS_205755298
#找回密码
FIND_USER: SMS_185821482
FIND_USER: SMS_205755301
#设置密码
UPDATE_PASSWORD: SMS_185821482
UPDATE_PASSWORD: SMS_205755297
#支付密码
WALLET_PASSWORD: SMS_185821482
WALLET_PASSWORD: SMS_205755301
system:
isTestModel: false
isTestModel: true
statistics:
# 在线人数统计 X 小时。这里设置48,即统计过去48小时每小时在线人数
onlineMember: 48
Expand All @@ -212,16 +213,17 @@ lili:
sk: zhNKVrJK6UPOhqIjn8AQvG37b9sz6
#域名
domain:
pc: https://zbuyer.sx1788.cn
wap: https://zshop.sx1788.cn
store: https://zseller.sx1788.cn
admin: https://zmanager.sx1788.cn
pc: https://pc.b2b2c.pickmall.cn
wap: https://m.b2b2c.pickmall.cn
store: https://store.b2b2c.pickmall.cn
admin: https://admin.b2b2c.pickmall.cn
#api地址
api:
buyer: https://zshop-api.sx1788.cn/buyer-api
common: https://zshop-api.sx1788.cn/common-api
manager: https://zshop-api.sx1788.cn/manager-api
store: https://zshop-api.sx1788.cn/seller-api
buyer: https://buyer-api.pickmall.cn
common: https://common-api.pickmall.cn
manager: https://admin-api.pickmall.cn
store: https://store-api.pickmall.cn

# jwt 细节设定
jwt-setting:
# token过期时间(分钟)
Expand All @@ -239,7 +241,7 @@ lili:
data:
elasticsearch:
cluster-name: elasticsearch
cluster-nodes: 106.124.130.167:9200
cluster-nodes: 127.0.0.1:9200
index:
number-of-replicas: 0
number-of-shards: 3
Expand All @@ -249,7 +251,7 @@ lili:
# username: elastic
# password: LiLiShopES
logstash:
server: 106.124.130.167:4560
server: 127.0.0.1:4560
rocketmq:
promotion-topic: lili_promotion_topic
promotion-group: lili_promotion_group
Expand All @@ -268,7 +270,7 @@ lili:
notice-send-topic: lili_send_notice_topic
notice-send-group: lili_send_notice_group
rocketmq:
name-server: 106.124.130.167:9876
name-server: 127.0.0.1:9876
producer:
group: lili_group
send-message-timeout: 30000
Expand Down
44 changes: 23 additions & 21 deletions consumer/src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
server:
port: 8886

servlet:
context-path: /

Expand Down Expand Up @@ -35,9 +36,9 @@ spring:
type: redis
# Redis
redis:
host: 120.71.145.134
host: 127.0.0.1
port: 6379
password: ekLhvPGraSj8DGO0
password: lilishop
lettuce:
pool:
# 连接池最大连接数(使用负值表示没有限制) 默认 8
Expand Down Expand Up @@ -66,9 +67,9 @@ spring:
default-datasource:
type: com.alibaba.druid.pool.DruidDataSource
driverClassName: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://120.71.183.195:3306/zyt_shop?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC&allowPublicKeyRetrieval=true&verifyServerCertificate=false&useSSL=false
username: zyt_shop
password: Gb84505016@zytshop
url: jdbc:mysql://127.0.0.1:3306/lilishop?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
username: root
password: lilishop
maxActive: 20
initialSize: 5
maxWait: 60000
Expand Down Expand Up @@ -137,8 +138,8 @@ ignored:
- /buyer/memberEvaluation/**/goodsEvaluation
- /buyer/memberEvaluation/**/evaluationNumber
- /store/login/**
- /manager/passport/user/login
- /manager/passport/user/refresh/**
- /manager/user/login
- /manager/user/refresh/**
- /druid/**
- /swagger-ui.html
- /doc.html
Expand All @@ -155,8 +156,8 @@ ignored:

# Swagger界面内容配置
swagger:
title: API接口文档
description: Api Documentation
title: lili API接口文档
description: lili Api Documentation
version: 1.0.0
termsOfServiceUrl: https://pickmall.cn
contact:
Expand Down Expand Up @@ -197,7 +198,7 @@ jasypt:

lili:
system:
isDemoSite: false
isDemoSite: true
statistics:
# 在线人数统计 X 小时。这里设置48,即统计过去48小时每小时在线人数
onlineMember: 48
Expand All @@ -209,16 +210,17 @@ lili:
sk: zhNKVrJK6UPOhqIjn8AQvG37b9sz6
#域名
domain:
pc: https://zbuyer.sx1788.cn
wap: https://zshop.sx1788.cn
store: https://zseller.sx1788.cn
admin: https://zmanager.sx1788.cn
pc: https://pc.b2b2c.pickmall.cn
wap: https://m.b2b2c.pickmall.cn
store: https://store.b2b2c.pickmall.cn
admin: https://admin.b2b2c.pickmall.cn
#api地址
api:
buyer: https://zshop-api.sx1788.cn/buyer-api
common: https://zshop-api.sx1788.cn/common-api
manager: https://zshop-api.sx1788.cn/manager-api
store: https://zshop-api.sx1788.cn/seller-api
buyer: https://buyer-api.pickmall.cn
common: https://common-api.pickmall.cn
manager: https://admin-api.pickmall.cn
store: https://store-api.pickmall.cn

# jwt 细节设定
jwt-setting:
# token过期时间(分钟)
Expand All @@ -236,7 +238,7 @@ lili:
data:
elasticsearch:
cluster-name: elasticsearch
cluster-nodes: 106.124.130.167:9200
cluster-nodes: 127.0.0.1:9200
index:
number-of-replicas: 0
number-of-shards: 3
Expand All @@ -246,7 +248,7 @@ lili:
# username: elastic
# password: LiLiShopES
logstash:
server: 106.124.130.167:4560
server: 127.0.0.1:4560
rocketmq:
promotion-topic: lili_promotion_topic
promotion-group: lili_promotion_group
Expand All @@ -267,7 +269,7 @@ lili:
after-sale-topic: lili_after_sale_topic
after-sale-group: lili_after_sale_group
rocketmq:
name-server: 106.124.130.167:9876
name-server: 127.0.0.1:9876
producer:
group: lili_group
send-message-timeout: 30000
Expand Down
Loading

0 comments on commit 4cdb461

Please sign in to comment.