From 1a7a278e32123023fa43bdaa274da778c27b80a0 Mon Sep 17 00:00:00 2001
From: peng <peng.com>
Date: 星期四, 06 十一月 2025 16:34:48 +0800
Subject: [PATCH] 除了视频外需要校验用户是否自己点击了自己的分享
---
config/application.yml | 24 +++++++++++-------------
1 files changed, 11 insertions(+), 13 deletions(-)
diff --git a/config/application.yml b/config/application.yml
index 8998de7..f4abaa8 100644
--- a/config/application.yml
+++ b/config/application.yml
@@ -32,11 +32,7 @@
host: 127.0.0.1
# host: 42.193.1.25
port: 6379
-# password: MuKang2025
-# host: 1.95.67.54
-# # host: 42.193.1.25
-# port: 9736
-# password: myk2025redis
+# password: ycl2018
database: 12
lettuce:
pool:
@@ -66,12 +62,13 @@
default-datasource:
type: com.alibaba.druid.pool.DruidDataSource
driverClassName: com.mysql.cj.jdbc.Driver
- url: jdbc:mysql://127.0.0.1:3306/lilishop?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
+# url: jdbc:mysql://42.193.1.25:3306/lilishop?useUnicode=true&characterEncoding=utf-8&useSSL=false&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
+ url: jdbc:mysql://127.0.0.1:3306/lilishop?useUnicode=true&characterEncoding=utf-8&useSSL=false&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
+# url: jdbc:mysql://1.95.67.54:6033/lilishop?useUnicode=true&characterEncoding=utf-8&useSSL=false&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
username: root
- password: 123456
-# url: jdbc:mysql://1.95.67.54:6033/lilishop?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
-# username: root
+# password: 321$YcYl@1970!
# password: 6c701c021355fc70fc156824e81fbead
+ password: 123456
maxActive: 50
initialSize: 20
maxWait: 60000
@@ -273,7 +270,7 @@
data:
elasticsearch:
cluster-name: elasticsearch
- cluster-nodes: 1.95.67.54:9200
+ cluster-nodes: 127.0.0.1:9200
index:
number-of-replicas: 0
number-of-shards: 3
@@ -283,8 +280,8 @@
# username: elastic
# password: LiLiShopES
- # logstash:
- # server: 127.0.0.1:30560
+# logstash:
+# server: 127.0.0.1:30560
rocketmq:
promotion-topic: shop_lili_promotion_topic
promotion-group: shop_lili_promotion_group
@@ -336,7 +333,8 @@
durationSeconds: 1800 # STS涓存椂璁块棶鍑瘉鏈夋晥鏈燂紝鍗曚綅绉掞紝榛樿1800s锛屼富璐﹀彿鏈�闀�2灏忔椂锛屽瓙璐﹀彿(ARM鐢ㄦ埛)36灏忔椂
bucket: lmk-1356772813
region: ap-chengdu
- endpoint: https://lmk-1356772813.cos.ap-chengdu.myqcloud.com # 璁块棶鍩熷悕
+# endpoint: https://lmk-1356772813.cos.ap-chengdu.myqcloud.com # 璁块棶鍩熷悕
+ endpoint: https://media.meiyikuang.com # cdn璁块棶鍩熷悕
urlExpireMinute: 360 # 棰勭鍚島rl鏈夋晥鏃堕棿(鍒嗛挓)
actions: # sts鐨勬潈闄�
- cos:GetBucketACL
--
Gitblit v1.8.0