|
@@ -1,5 +1,4 @@
|
|
server:
|
|
server:
|
|
- port: 8080
|
|
|
|
tomcat:
|
|
tomcat:
|
|
max-swallow-size: -1
|
|
max-swallow-size: -1
|
|
error:
|
|
error:
|
|
@@ -7,23 +6,21 @@ server:
|
|
include-stacktrace: ALWAYS
|
|
include-stacktrace: ALWAYS
|
|
include-message: ALWAYS
|
|
include-message: ALWAYS
|
|
servlet:
|
|
servlet:
|
|
- context-path: /jeecg-boot
|
|
|
|
|
|
+ context-path: /bytedance-api
|
|
compression:
|
|
compression:
|
|
enabled: true
|
|
enabled: true
|
|
min-response-size: 1024
|
|
min-response-size: 1024
|
|
mime-types: application/javascript,application/json,application/xml,text/html,text/xml,text/plain,text/css,image/*
|
|
mime-types: application/javascript,application/json,application/xml,text/html,text/xml,text/plain,text/css,image/*
|
|
-
|
|
|
|
management:
|
|
management:
|
|
- endpoints:
|
|
|
|
- web:
|
|
|
|
- exposure:
|
|
|
|
- include: metrics,httptrace
|
|
|
|
-
|
|
|
|
|
|
+ endpoints:
|
|
|
|
+ web:
|
|
|
|
+ exposure:
|
|
|
|
+ include: metrics,httptrace
|
|
spring:
|
|
spring:
|
|
servlet:
|
|
servlet:
|
|
- multipart:
|
|
|
|
- max-file-size: 10MB
|
|
|
|
- max-request-size: 10MB
|
|
|
|
|
|
+ multipart:
|
|
|
|
+ max-file-size: 10MB
|
|
|
|
+ max-request-size: 10MB
|
|
mail:
|
|
mail:
|
|
host: smtp.163.com
|
|
host: smtp.163.com
|
|
username: jeecgos@163.com
|
|
username: jeecgos@163.com
|
|
@@ -35,32 +32,6 @@ spring:
|
|
starttls:
|
|
starttls:
|
|
enable: true
|
|
enable: true
|
|
required: true
|
|
required: true
|
|
- ## quartz定时任务,采用数据库方式
|
|
|
|
- quartz:
|
|
|
|
- job-store-type: jdbc
|
|
|
|
- initialize-schema: embedded
|
|
|
|
- #设置自动启动,默认为 true
|
|
|
|
- auto-startup: true
|
|
|
|
- #启动时更新己存在的Job
|
|
|
|
- overwrite-existing-jobs: true
|
|
|
|
- properties:
|
|
|
|
- org:
|
|
|
|
- quartz:
|
|
|
|
- scheduler:
|
|
|
|
- instanceName: MyScheduler
|
|
|
|
- instanceId: AUTO
|
|
|
|
- jobStore:
|
|
|
|
- class: org.quartz.impl.jdbcjobstore.JobStoreTX
|
|
|
|
- driverDelegateClass: org.quartz.impl.jdbcjobstore.StdJDBCDelegate
|
|
|
|
- tablePrefix: QRTZ_
|
|
|
|
- isClustered: true
|
|
|
|
- misfireThreshold: 60000
|
|
|
|
- clusterCheckinInterval: 10000
|
|
|
|
- threadPool:
|
|
|
|
- class: org.quartz.simpl.SimpleThreadPool
|
|
|
|
- threadCount: 10
|
|
|
|
- threadPriority: 5
|
|
|
|
- threadsInheritContextClassLoaderOfInitializingThread: true
|
|
|
|
#json 时间戳统一转换
|
|
#json 时间戳统一转换
|
|
jackson:
|
|
jackson:
|
|
date-format: yyyy-MM-dd HH:mm:ss
|
|
date-format: yyyy-MM-dd HH:mm:ss
|
|
@@ -131,10 +102,10 @@ spring:
|
|
connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
|
|
connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
|
|
datasource:
|
|
datasource:
|
|
master:
|
|
master:
|
|
- url: jdbc:mysql://127.0.0.1:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
|
|
|
- username: root
|
|
|
|
- password: root
|
|
|
|
- driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
|
|
|
+ url: jdbc:mysql://139.186.165.84:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
|
|
|
+ username: hcst
|
|
|
|
+ password: hcst@2020
|
|
|
|
+ driver-class-name: com.mysql.jdbc.Driver
|
|
# 多数据源配置
|
|
# 多数据源配置
|
|
#multi-datasource1:
|
|
#multi-datasource1:
|
|
#url: jdbc:mysql://localhost:3306/jeecg-boot2?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
|
#url: jdbc:mysql://localhost:3306/jeecg-boot2?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
|
@@ -147,7 +118,7 @@ spring:
|
|
host: 127.0.0.1
|
|
host: 127.0.0.1
|
|
lettuce:
|
|
lettuce:
|
|
pool:
|
|
pool:
|
|
- max-active: 8 #最大连接数据库连接数,设 -1 为没有限制
|
|
|
|
|
|
+ max-active: 8 #最大连接数据库连接数,设 0 为没有限制
|
|
max-idle: 8 #最大等待连接中的数量,设 0 为没有限制
|
|
max-idle: 8 #最大等待连接中的数量,设 0 为没有限制
|
|
max-wait: -1ms #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。
|
|
max-wait: -1ms #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。
|
|
min-idle: 0 #最小等待连接中的数量,设 0 为没有限制
|
|
min-idle: 0 #最小等待连接中的数量,设 0 为没有限制
|
|
@@ -170,27 +141,28 @@ mybatis-plus:
|
|
#log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|
#log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|
# 返回类型为Map,显示null对应的字段
|
|
# 返回类型为Map,显示null对应的字段
|
|
call-setters-on-nulls: true
|
|
call-setters-on-nulls: true
|
|
-#jeecg专用配置
|
|
|
|
|
|
+#minidao 设置
|
|
minidao :
|
|
minidao :
|
|
base-package: org.jeecg.modules.jmreport.*
|
|
base-package: org.jeecg.modules.jmreport.*
|
|
- #DB类型(mysql | postgresql | oracle | sqlserver| other)
|
|
|
|
db-type: mysql
|
|
db-type: mysql
|
|
|
|
+#jeecg专用配置
|
|
jeecg :
|
|
jeecg :
|
|
# 本地:local\Minio:minio\阿里云:alioss
|
|
# 本地:local\Minio:minio\阿里云:alioss
|
|
uploadType: local
|
|
uploadType: local
|
|
path :
|
|
path :
|
|
#文件上传根目录 设置
|
|
#文件上传根目录 设置
|
|
- upload: /opt/upFiles
|
|
|
|
|
|
+ upload: D://opt//upFiles
|
|
#webapp文件路径
|
|
#webapp文件路径
|
|
- webapp: /opt/webapp
|
|
|
|
|
|
+ webapp: D://opt//webapp
|
|
shiro:
|
|
shiro:
|
|
excludeUrls: /test/jeecgDemo/demo3,/test/jeecgDemo/redisDemo/**,/category/**,/visual/**,/map/**,/jmreport/bigscreen2/**
|
|
excludeUrls: /test/jeecgDemo/demo3,/test/jeecgDemo/redisDemo/**,/category/**,/visual/**,/map/**,/jmreport/bigscreen2/**
|
|
- #阿里云oss存储和大鱼短信秘钥配置
|
|
|
|
|
|
+ #阿里云oss存储配置
|
|
oss:
|
|
oss:
|
|
|
|
+ endpoint: oss-cn-beijing.aliyuncs.com
|
|
accessKey: ??
|
|
accessKey: ??
|
|
secretKey: ??
|
|
secretKey: ??
|
|
- endpoint: oss-cn-beijing.aliyuncs.com
|
|
|
|
- bucketName: ??
|
|
|
|
|
|
+ bucketName: jeecgos
|
|
|
|
+ staticDomain: ??
|
|
# ElasticSearch 6设置
|
|
# ElasticSearch 6设置
|
|
elasticsearch:
|
|
elasticsearch:
|
|
cluster-name: jeecg-ES
|
|
cluster-name: jeecg-ES
|
|
@@ -202,9 +174,6 @@ jeecg :
|
|
theme-color: "#1890ff"
|
|
theme-color: "#1890ff"
|
|
# 文件、图片上传方式,可选项:qiniu(七牛云)、system(跟随系统配置)
|
|
# 文件、图片上传方式,可选项:qiniu(七牛云)、system(跟随系统配置)
|
|
upload-type: system
|
|
upload-type: system
|
|
- map:
|
|
|
|
- # 配置百度地图的AK,申请地址:https://lbs.baidu.com/apiconsole/key?application=key#/home
|
|
|
|
- baidu: ??
|
|
|
|
# 在线预览文件服务器地址配置
|
|
# 在线预览文件服务器地址配置
|
|
file-view-domain: 127.0.0.1:8012
|
|
file-view-domain: 127.0.0.1:8012
|
|
# minio文件上传
|
|
# minio文件上传
|
|
@@ -219,7 +188,7 @@ jeecg :
|
|
#数据字典是否进行saas数据隔离,自己看自己的字典
|
|
#数据字典是否进行saas数据隔离,自己看自己的字典
|
|
saas: false
|
|
saas: false
|
|
#是否需要校验token
|
|
#是否需要校验token
|
|
- is_verify_token: true
|
|
|
|
|
|
+ is_verify_token: false
|
|
#必须校验方法
|
|
#必须校验方法
|
|
verify_methods: remove,delete,save,add,update
|
|
verify_methods: remove,delete,save,add,update
|
|
#Wps在线文档
|
|
#Wps在线文档
|
|
@@ -261,7 +230,7 @@ logging:
|
|
knife4j:
|
|
knife4j:
|
|
production: false
|
|
production: false
|
|
basic:
|
|
basic:
|
|
- enable: true
|
|
|
|
|
|
+ enable: false
|
|
username: jeecg
|
|
username: jeecg
|
|
password: jeecg1314
|
|
password: jeecg1314
|
|
#第三方登录
|
|
#第三方登录
|
|
@@ -276,7 +245,7 @@ justauth:
|
|
client-id: ??
|
|
client-id: ??
|
|
client-secret: ??
|
|
client-secret: ??
|
|
redirect-uri: http://sso.test.com:8080/jeecg-boot/sys/thirdLogin/wechat_enterprise/callback
|
|
redirect-uri: http://sso.test.com:8080/jeecg-boot/sys/thirdLogin/wechat_enterprise/callback
|
|
- agent-id: ??
|
|
|
|
|
|
+ agent-id: 1000002
|
|
DINGTALK:
|
|
DINGTALK:
|
|
client-id: ??
|
|
client-id: ??
|
|
client-secret: ??
|
|
client-secret: ??
|
|
@@ -289,26 +258,39 @@ justauth:
|
|
type: default
|
|
type: default
|
|
prefix: 'demo::'
|
|
prefix: 'demo::'
|
|
timeout: 1h
|
|
timeout: 1h
|
|
-#第三方APP对接
|
|
|
|
-third-app:
|
|
|
|
- enabled: false
|
|
|
|
- type:
|
|
|
|
- #企业微信
|
|
|
|
- WECHAT_ENTERPRISE:
|
|
|
|
- enabled: false
|
|
|
|
- #CORP_ID
|
|
|
|
- client-id: ??
|
|
|
|
- #SECRET
|
|
|
|
- client-secret: ??
|
|
|
|
- #自建应用id
|
|
|
|
- agent-id: ??
|
|
|
|
- #自建应用秘钥(新版企微需要配置)
|
|
|
|
- # agent-app-secret: ??
|
|
|
|
- #钉钉
|
|
|
|
- DINGTALK:
|
|
|
|
- enabled: false
|
|
|
|
- # appKey
|
|
|
|
- client-id: ??
|
|
|
|
- # appSecret
|
|
|
|
- client-secret: ??
|
|
|
|
- agent-id: ??
|
|
|
|
|
|
+
|
|
|
|
+bytedance:
|
|
|
|
+ appId: 1635316529903624
|
|
|
|
+ secret: 0c51523e90d6166418fc8421a4896808e90e26f4
|
|
|
|
+ url:
|
|
|
|
+ auth-prefix: https://ad.oceanengine.com/openapi
|
|
|
|
+ api-prefix: https://ad.oceanengine.com/open_api
|
|
|
|
+ callback-url: http://adsp.c-top.com.cn:8080/jeecg-boot/bytedance
|
|
|
|
+ refresh-token: /oauth2/refresh_token
|
|
|
|
+ advertiser-info: /2/advertiser/public_info/
|
|
|
|
+ ad-get: /2/ad/get/
|
|
|
|
+ ad-create: /2/ad/create/
|
|
|
|
+ ad-update: /2/ad/update/
|
|
|
|
+ ad-update-status: /2/ad/update/status/
|
|
|
|
+ ad-update-bid: /2/ad/update/bid/
|
|
|
|
+ ad-update-budget: /2/ad/update/budget/
|
|
|
|
+ ad-update-reject-reason: 2/ad/reject_reason/
|
|
|
|
+ campaign-get: /2/campaign/get/
|
|
|
|
+ campaign-create: /2/campaign/create/
|
|
|
|
+ campaign-update-status: /2/campaign/update/status/
|
|
|
|
+ campaign-update: /2/campaign/update/
|
|
|
|
+ dmp-custom-audience-select: /2/dmp/custom_audience/select/
|
|
|
|
+ file-video-ad: /2/file/video/ad/
|
|
|
|
+ file-image-ad: /2/file/image/ad/
|
|
|
|
+ creative-update-status: /2/creative/update/status/
|
|
|
|
+ creative-material-get: /2/creative/material/read/
|
|
|
|
+ creative-create-v2: /2/creative/create_v2/
|
|
|
|
+ creative-get: /2/creative/get/
|
|
|
|
+ creative-read: /2/creative/read_v2/
|
|
|
|
+ creative-update: /2/creative/update_v2/
|
|
|
|
+ creative-reject-reason: /2/creative/reject_reason/
|
|
|
|
+ advertiser-report-get: /2/report/advertiser/get/
|
|
|
|
+ campaign-report-get: /2/report/campaign/get/
|
|
|
|
+ ad-report-get: /2/report/ad/get/
|
|
|
|
+ ad-creative-get: /2/report/creative/get/
|
|
|
|
+ advertiser-fund-daily-stat: /2/advertiser/fund/daily_stat/
|