|
@@ -1,5 +1,4 @@
|
|
server:
|
|
server:
|
|
- port: 8080
|
|
|
|
tomcat:
|
|
tomcat:
|
|
max-swallow-size: -1
|
|
max-swallow-size: -1
|
|
error:
|
|
error:
|
|
@@ -7,23 +6,26 @@ 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:
|
|
|
|
+ cloud:
|
|
|
|
+ nacos:
|
|
|
|
+ discovery:
|
|
|
|
+ server-addr: 172.30.0.7:8848
|
|
|
|
+ service: jeecg-bytedance-ad
|
|
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,46 +37,20 @@ 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
|
|
time-zone: GMT+8
|
|
time-zone: GMT+8
|
|
- aop:
|
|
|
|
- proxy-target-class: true
|
|
|
|
|
|
+ jpa:
|
|
|
|
+ open-in-view: false
|
|
activiti:
|
|
activiti:
|
|
check-process-definitions: false
|
|
check-process-definitions: false
|
|
#启用作业执行器
|
|
#启用作业执行器
|
|
async-executor-activate: false
|
|
async-executor-activate: false
|
|
#启用异步执行器
|
|
#启用异步执行器
|
|
job-executor-activate: false
|
|
job-executor-activate: false
|
|
- jpa:
|
|
|
|
- open-in-view: false
|
|
|
|
|
|
+ aop:
|
|
|
|
+ proxy-target-class: true
|
|
#配置freemarker
|
|
#配置freemarker
|
|
freemarker:
|
|
freemarker:
|
|
# 设置模板后缀名
|
|
# 设置模板后缀名
|
|
@@ -130,51 +106,45 @@ spring:
|
|
# 通过connectProperties属性来打开mergeSql功能;慢SQL记录
|
|
# 通过connectProperties属性来打开mergeSql功能;慢SQL记录
|
|
connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
|
|
connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
|
|
datasource:
|
|
datasource:
|
|
- master:
|
|
|
|
- url: jdbc:mysql://139.186.165.84:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
|
|
|
- username: hcst
|
|
|
|
- password: hcst@2020
|
|
|
|
- driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
|
- # 多数据源配置
|
|
|
|
- #multi-datasource1:
|
|
|
|
- #url: jdbc:mysql://localhost:3306/jeecg-boot2?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
|
|
|
- #username: root
|
|
|
|
- #password: root
|
|
|
|
- #driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
|
|
|
+ master:
|
|
|
|
+ url: jdbc:mysql://139.186.27.96:4000/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
|
|
|
+ username: data
|
|
|
|
+ password: hcst@2021
|
|
|
|
+ driver-class-name: com.mysql.jdbc.Driver
|
|
#redis 配置
|
|
#redis 配置
|
|
-# redis:
|
|
|
|
-# database: 0
|
|
|
|
-# host: 192.168.1.199
|
|
|
|
-# lettuce:
|
|
|
|
-# pool:
|
|
|
|
-# max-active: 8 #最大连接数据库连接数,设 -1 为没有限制
|
|
|
|
-# max-idle: 8 #最大等待连接中的数量,设 0 为没有限制
|
|
|
|
-# max-wait: -1ms #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。
|
|
|
|
-# min-idle: 0 #最小等待连接中的数量,设 0 为没有限制
|
|
|
|
-# shutdown-timeout: 100ms
|
|
|
|
-# password: ''
|
|
|
|
-# port: 6379
|
|
|
|
|
|
+ redis:
|
|
|
|
+ database: 0
|
|
|
|
+ host: 172.30.0.17
|
|
|
|
+ lettuce:
|
|
|
|
+ pool:
|
|
|
|
+ max-active: 8 #最大连接数据库连接数,设 0 为没有限制
|
|
|
|
+ max-idle: 8 #最大等待连接中的数量,设 0 为没有限制
|
|
|
|
+ max-wait: -1ms #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。
|
|
|
|
+ min-idle: 0 #最小等待连接中的数量,设 0 为没有限制
|
|
|
|
+ shutdown-timeout: 100ms
|
|
|
|
+ password: hcst@2021..
|
|
|
|
+ port: 6379
|
|
#mybatis plus 设置
|
|
#mybatis plus 设置
|
|
mybatis-plus:
|
|
mybatis-plus:
|
|
- mapper-locations: classpath*:org/jeecg/modules/**/xml/*Mapper.xml
|
|
|
|
- global-config:
|
|
|
|
|
|
+ mapper-locations: classpath*:org/jeecg/modules/**/xml/*Mapper.xml
|
|
|
|
+ global-config:
|
|
# 关闭MP3.0自带的banner
|
|
# 关闭MP3.0自带的banner
|
|
banner: false
|
|
banner: false
|
|
db-config:
|
|
db-config:
|
|
- #主键类型
|
|
|
|
|
|
+ #主键类型 0:"数据库ID自增",1:"该类型为未设置主键类型", 2:"用户输入ID",3:"全局唯一ID (数字类型唯一ID)", 4:"全局唯一ID UUID",5:"字符串全局唯一ID (idWorker 的字符串表示)";
|
|
id-type: ASSIGN_ID
|
|
id-type: ASSIGN_ID
|
|
# 默认数据库表下划线命名
|
|
# 默认数据库表下划线命名
|
|
table-underline: true
|
|
table-underline: true
|
|
- configuration:
|
|
|
|
|
|
+ configuration:
|
|
# 这个配置会将执行的sql打印出来,在开发或测试的时候可以用
|
|
# 这个配置会将执行的sql打印出来,在开发或测试的时候可以用
|
|
- 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
|
|
@@ -184,18 +154,18 @@ jeecg :
|
|
#webapp文件路径
|
|
#webapp文件路径
|
|
webapp: D://opt//webapp
|
|
webapp: D://opt//webapp
|
|
shiro:
|
|
shiro:
|
|
- excludeUrls: /test/jeecgDemo/demo3,/test/jeecgDemo/redisDemo/**,/category/**,/visual/**,/map/**,/jmreport/bigscreen2/**
|
|
|
|
- #阿里云oss存储和大鱼短信秘钥配置
|
|
|
|
|
|
+ excludeUrls: /test/jeecgDemo/demo3,/test/jeecgDemo/redisDemo/**,/category/**,/visual/**,/map/**,/jmreport/bigscreen2/**
|
|
|
|
+ #阿里云oss存储配置
|
|
oss:
|
|
oss:
|
|
|
|
+ endpoint: oss-cn-beijing.aliyuncs.com
|
|
accessKey: ??
|
|
accessKey: ??
|
|
secretKey: ??
|
|
secretKey: ??
|
|
- endpoint: oss-cn-beijing.aliyuncs.com
|
|
|
|
- bucketName: ??
|
|
|
|
- staticDomain: https://static.jeecg.com
|
|
|
|
- # ElasticSearch 设置
|
|
|
|
|
|
+ bucketName: jeecgos
|
|
|
|
+ staticDomain: ??
|
|
|
|
+ # ElasticSearch 6设置
|
|
elasticsearch:
|
|
elasticsearch:
|
|
cluster-name: jeecg-ES
|
|
cluster-name: jeecg-ES
|
|
- cluster-nodes: ??
|
|
|
|
|
|
+ cluster-nodes: 127.0.0.1:9200
|
|
check-enabled: false
|
|
check-enabled: false
|
|
# 表单设计器配置
|
|
# 表单设计器配置
|
|
desform:
|
|
desform:
|
|
@@ -203,20 +173,17 @@ 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: http://127.0.0.1:8012
|
|
|
|
|
|
+ file-view-domain: 127.0.0.1:8012
|
|
# minio文件上传
|
|
# minio文件上传
|
|
minio:
|
|
minio:
|
|
minio_url: http://minio.jeecg.com
|
|
minio_url: http://minio.jeecg.com
|
|
minio_name: ??
|
|
minio_name: ??
|
|
minio_pass: ??
|
|
minio_pass: ??
|
|
- bucketName: ??
|
|
|
|
|
|
+ bucketName: otatest
|
|
#大屏报表参数设置
|
|
#大屏报表参数设置
|
|
jmreport:
|
|
jmreport:
|
|
- mode: prod
|
|
|
|
|
|
+ mode: dev
|
|
#数据字典是否进行saas数据隔离,自己看自己的字典
|
|
#数据字典是否进行saas数据隔离,自己看自己的字典
|
|
saas: false
|
|
saas: false
|
|
#是否需要校验token
|
|
#是否需要校验token
|
|
@@ -251,18 +218,18 @@ jeecg :
|
|
password:
|
|
password:
|
|
type: STANDALONE
|
|
type: STANDALONE
|
|
enabled: true
|
|
enabled: true
|
|
|
|
+#cas单点登录
|
|
|
|
+cas:
|
|
|
|
+ prefixUrl: http://cas.example.org:8443/cas
|
|
#Mybatis输出sql日志
|
|
#Mybatis输出sql日志
|
|
logging:
|
|
logging:
|
|
level:
|
|
level:
|
|
org.jeecg.modules.system.mapper : info
|
|
org.jeecg.modules.system.mapper : info
|
|
-#cas单点登录
|
|
|
|
-cas:
|
|
|
|
- prefixUrl: http://cas.example.org:8443/cas
|
|
|
|
#swagger
|
|
#swagger
|
|
knife4j:
|
|
knife4j:
|
|
production: false
|
|
production: false
|
|
basic:
|
|
basic:
|
|
- enable: true
|
|
|
|
|
|
+ enable: false
|
|
username: jeecg
|
|
username: jeecg
|
|
password: jeecg1314
|
|
password: jeecg1314
|
|
#第三方登录
|
|
#第三方登录
|
|
@@ -277,7 +244,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: ??
|
|
@@ -290,26 +257,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/
|