Sfoglia il codice sorgente

feat: 回滚springboot版本

yangliu 3 mesi fa
parent
commit
1d45cd9ada

+ 0 - 0
portal-service-server/src/main/resources/application-dev.yml → portal-service-server/src/main/resources/bootstrap-dev.yml


+ 0 - 0
portal-service-server/src/main/resources/application-local.yml → portal-service-server/src/main/resources/bootstrap-local.yml


+ 0 - 0
portal-service-server/src/main/resources/application-prod.yml → portal-service-server/src/main/resources/bootstrap-prod.yml


+ 30 - 5
portal-service-server/src/main/resources/application-test.yml → portal-service-server/src/main/resources/bootstrap-test.yml

@@ -17,8 +17,6 @@ spring:
     port: 6379
     # 数据库索引
     database: 5
-    # 密码
-    password: Hfln@1024
     # 连接超时时间
     timeout: 10s
     lettuce:
@@ -54,7 +52,15 @@ lnxx:
   # 微信小程序
   wechat:
     appid: wx60b2cd643b46d5eb
-    secret: 15ebd7bed7b73d806eba2944f4e07592
+    secret: a7c1e377869fffb6fcbacca979d77617
+    #微信公众号
+    office:
+      account:
+        appId: wx9b479fa3c2af4f21
+        secret: 426effb7b58f9ba7c5f6dd1062db0074
+        templateId: -wNA7XW0_4hscmIUK-hmolNpccd-zMlyGnKUvpGdfZQ
+    bind:
+      callbackUrl: https://jkld.radar-power.cn
   # 短信验证码相关
   sms:
     tencent:
@@ -74,10 +80,29 @@ sa-token:
   # token 最低活跃频率(单位:秒),如果 token 超过此时间没有访问系统就会被冻结,默认-1 代表不限制,永不冻结
   active-timeout: -1
   # 是否允许同一账号多地同时登录 (为 true 时允许一起登录, 为 false 时新登录挤掉旧登录)
-  is-concurrent: true
+  is-concurrent: false
   # 在多人登录同一账号时,是否共用一个 token (为 true 时所有登录共用一个 token, 为 false 时每次登录新建一个 token)
   is-share: false
   # token 风格(默认可取值:uuid、simple-uuid、random-32、random-64、random-128、tik)
   token-style: uuid
   # 是否输出操作日志
-  is-log: true
+  is-log: true
+
+# mqtt相关
+mqtt:
+  broker: tcp://8.130.28.21:1883
+  client-id: ${spring.application.name}-${random.uuid}
+  username: admin
+  password: public
+
+
+# oss 存储
+oss:
+  accessKey:
+    id: LTAI5t9ZjmmHVs7nseZx3xWT
+    secret: TbmTSDP9ztXrLa4gXBhAmjerQcKGj7
+  endpoint: oss-cn-shanghai.aliyuncs.com
+  bucket: lnxx.oss-cn-shanghai.aliyuncs.com
+  region: cn-shanghai
+  expire:
+    seconds: 300

+ 1 - 1
portal-service-server/src/main/resources/application.yml → portal-service-server/src/main/resources/bootstrap.yml

@@ -5,7 +5,7 @@ spring:
     pathmatch:
       matching-strategy: ant-path-matcher
   profiles:
-    active: local
+    active: test
   application:
     name: portal-service-server