|
|
@@ -1,10 +1,8 @@
|
|
|
-#开发模式
|
|
|
-debug: false
|
|
|
server:
|
|
|
- port: 10086
|
|
|
+ port: 10080
|
|
|
tomcat:
|
|
|
max-swallow-size: -1
|
|
|
- basedir: /app/sp/email/temp
|
|
|
+ basedir: /app/temp
|
|
|
servlet:
|
|
|
context-path: /router/email
|
|
|
compression:
|
|
|
@@ -55,6 +53,7 @@ spring:
|
|
|
shutdown-timeout: 100ms
|
|
|
password: 'B3f@NT4y%etekQaDkufd'
|
|
|
port: 56379
|
|
|
+
|
|
|
mvc:
|
|
|
static-path-pattern: /**
|
|
|
resource:
|
|
|
@@ -89,27 +88,18 @@ spring:
|
|
|
connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
|
|
|
datasource:
|
|
|
master:
|
|
|
+ url: jdbc:mysql://mysql.test.storlead.com:39091/sp_email_platform_test?useSSL=false&useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
|
|
|
+ username: root
|
|
|
+ password: rCgRgLjH99Xvg5BN
|
|
|
driver-class-name: com.mysql.jdbc.Driver
|
|
|
- url: jdbc:mysql://storlead.internal.cn-south-1.mysql.rds.myhuaweicloud.com:65369/sp_tems_prod?useSSL=false&useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&rewriteBatchedStatements=true
|
|
|
- username: storlead_tems
|
|
|
- password: DW8YRN*5!6u&Ajswgjt
|
|
|
- project:
|
|
|
- driver-class-name: com.mysql.jdbc.Driver
|
|
|
- url: jdbc:mysql://storlead.internal.cn-south-1.mysql.rds.myhuaweicloud.com:65369/storlead_project_prod?useSSL=false&useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
|
|
|
- username: storlead_project
|
|
|
- password: DW8YRN*5!6u&Ajswgjt
|
|
|
- oa:
|
|
|
- driver-class-name: com.mysql.jdbc.Driver
|
|
|
- url: jdbc:mysql://storlead.internal.cn-south-1.mysql.rds.myhuaweicloud.com:65369/storlead_ecology_prod?useSSL=false&useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
|
|
|
- username: storlead_ecology
|
|
|
- password: 3raNoDvbo7jqbwtedQGQ
|
|
|
+
|
|
|
#mybatis plus 设置
|
|
|
mybatis-plus:
|
|
|
mapper-locations: classpath*:/mapper/*Mapper.xml,classpath*:/mapper/*/*Mapper.xml
|
|
|
# 实体扫描,多个 package 用逗号或者分号分隔
|
|
|
- type-aliases-package: com.storlead.tems.modules.*.entity
|
|
|
- type-enums-package: com.storlead.tems.modules.console.enums;com.storlead.tems.modules.perform.enums;com.storlead.tems.modules.project.enums
|
|
|
- # configuration:
|
|
|
+ type-aliases-package:
|
|
|
+ typeEnumsPackage:
|
|
|
+ # configuration:
|
|
|
#配置显示查询SQL
|
|
|
# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|
|
# default-enum-type-handler: org.apache.ibatis.type.EnumOrdinalTypeHandler
|
|
|
@@ -125,43 +115,6 @@ mybatis-plus:
|
|
|
# 这个配置会将执行的sql打印出来,在开发或测试的时候可以用
|
|
|
#log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|
|
|
|
|
-#应用专用配置
|
|
|
-lingcun :
|
|
|
- path :
|
|
|
- #文件上传根目录 设置
|
|
|
- upload: /app/upload
|
|
|
- #webapp文件路径
|
|
|
- webapp: /app/upload
|
|
|
- shiro:
|
|
|
- excludeUrls: /lingcun/login,/lingcun/logout,/lingcun/getCheckCode
|
|
|
- # 表单设计器配置
|
|
|
- desform:
|
|
|
- # 主题颜色(仅支持 16进制颜色代码)
|
|
|
- theme-color: "#1890ff"
|
|
|
- # 在线预览文件服务器地址配置
|
|
|
- file-view-domain: http://localhost:8080/api/dist/app/view/
|
|
|
- #
|
|
|
-sp:
|
|
|
- oss:
|
|
|
- endpoint: oss-cn-shenzhen.aliyuncs.com
|
|
|
- accessKey: LTAI5t5n6K9ramopnY4KNQnM
|
|
|
- secretKey: xmA6wObeUAKDux92DX3qfLNWAQAQZm
|
|
|
- bucketName: sp-tems
|
|
|
-
|
|
|
-
|
|
|
-domainname: https://project.storlead.com
|
|
|
-
|
|
|
-storlead:
|
|
|
- es:
|
|
|
- enabled: true
|
|
|
- host: 39.108.252.62
|
|
|
- port: 9200
|
|
|
- scheme: http
|
|
|
- username: elastic
|
|
|
- password: storlead123456
|
|
|
- project:
|
|
|
- baseUrl: project.storlead.com
|
|
|
-
|
|
|
#Mybatis输出sql日志
|
|
|
logging:
|
|
|
file:
|
|
|
@@ -190,23 +143,10 @@ logging:
|
|
|
storlead: debug
|
|
|
|
|
|
|
|
|
-# 企业微信
|
|
|
-corp-wechat:
|
|
|
- corpId: ww5323bd8ab4394132
|
|
|
- # 这个是通讯录secret只能用来调用通讯录相关API使用
|
|
|
- corpAddressSecret: FE-ofiE08oeT8DsccbigqPFWl6Nk8LRKBFffpL76Z-M
|
|
|
- corpAgentId: 1000025
|
|
|
- corpAgentSecret: MqG2_t0HB4L2KN6MsOVdpL48XFB26VkUyTsKHT0T6y0
|
|
|
+environment: test
|
|
|
|
|
|
-environment: prod
|
|
|
-
|
|
|
-system:
|
|
|
- config:
|
|
|
- orgSyncMode: 0 # 0:系统维护 1:同步OA, 2:同步企业微信
|
|
|
-
|
|
|
- license:
|
|
|
- httpUrl: http://localhost:10010${server.servlet.context-path}
|
|
|
- activationCode: "activationCode"
|
|
|
+# 站内消息、邮件模板中的前端站点根地址(覆盖 application.yml 默认值)
|
|
|
+domainname: http://192.168.1.162:10080
|
|
|
|
|
|
file:
|
|
|
mode: 1
|
|
|
@@ -226,7 +166,7 @@ file:
|
|
|
maxSize: 100
|
|
|
avatarMaxSize: 5
|
|
|
|
|
|
- dify:
|
|
|
- base-url: http://192.168.1.77/v1/
|
|
|
- dataset-api-key: dataset-qfhXMNcjsRSwN5CK6aoWx3hl
|
|
|
|
|
|
+storlead:
|
|
|
+ mail:
|
|
|
+ track-base-url: ${domainname:}
|