配置文件修改及sql

This commit is contained in:
fengtianyangyang
2022-04-07 17:35:22 +08:00
parent ba57f19ee7
commit 4cdb461c22
6 changed files with 134770 additions and 4644 deletions

View File

@@ -1,5 +1,6 @@
server:
port: 8890
servlet:
context-path: /
@@ -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
@@ -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
@@ -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:
@@ -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
@@ -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过期时间分钟
@@ -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
@@ -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
@@ -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