123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183 |
- server:
- port: 10030
- tomcat:
- uri-encoding: utf-8
- max-http-form-post-size: -1
- connection-timeout: 18000000
- spring:
- servlet:
- multipart:
- # 配置上传文件的大小设置
- # Single file max size 即单个文件大小
- max-file-size: 100MB
- max-request-size: 100MB
- location: C:/upload/
- datasource:
- driver-class-name: com.mysql.cj.jdbc.Driver
- url: jdbc:mysql://1.94.62.58:17089/man_hour_manager?useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2B8&rewriteBatchedStatements=true&useSSL=false
- username: root
- password: P011430@Huoshi*
- # url: jdbc:mysql://47.100.37.243:7644/man_hour_manager?useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2B8&rewriteBatchedStatements=true
- # username: root
- # password: Ziyu20141026!@@
- hikari:
- maximum-pool-size: 60
- minimum-idle: 10
- # 空闲连接超时时间,3分钟
- idle-timeout: 180000
- max-lifetime: 1800000
- # 数据库连接超时时间,默认30秒,即30000
- connection-timeout: 60000
- connection-test-query: SELECT 1
- #######redis配置######
- # redis
- redis:
- host: 127.0.0.1
- port: 6379
- timeout: 3
- # password:
- pool:
- minIdle: 1
- maxIdle: 10
- maxWait: 3
- maxActive: 8
- ####全局配置时间返回格式#####
- jackson:
- #参数意义:
- #JsonInclude.Include.ALWAYS 默认
- #JsonInclude.Include.NON_DEFAULT 属性为默认值不序列化
- #JsonInclude.Include.NON_EMPTY 属性为 空(””) 或者为 NULL 都不序列化
- #JsonInclude.Include.NON_NULL 属性为NULL 不序列化
- default-property-inclusion: ALWAYS
- time-zone: GMT+8
- date-format: yyyy-MM-dd HH:mm:ss
- messages:
- basename: i18n.messages #配置国际化资源文件路径
- encoding: UTF-8
- ##AD认证
- ldap:
- ##AD服务器IP,默认端口389
- urls: ldap://192.168.2.44:389
- ##登录账号
- username: zhangsan@yurk.cn
- ##密码
- password: Zs123456
- #distinguishedName的部分节点
- base:
- dcFirst: yurk
- dcSecond: cn
- # profiles:
- # active: dev
- ##########日志配置
- logging:
- level:
- root: info
- org.mybatis: debug
- java.sql: debug
- org.springframework.web: trace
- #打印sql语句
- com.management.platform.mapper: debug
- path: C:/
- ##########
- mybatis-plus:
- # mapper-locations: classpath:mapper/*/*.xml
- # #实体扫描,多个package用逗号或者分号分隔
- # typeAliasesPackage: com.hssx.cloudmodel
- global-config:
- #主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID";
- id-type: 0
- #字段策略 0:"忽略判断",1:"非 NULL 判断"),2:"非空判断"
- field-strategy: 2
- db-column-underline: true
- refresh-mapper:
- #################插入和更新非null判断
- db-config:
- insert-strategy: not_null
- update-strategy: not_null
- configuration:
- map-underscore-to-camel-case: true
- cache-enabled: false
- ######mybstis配置#######
- mybatis:
- type-aliases-package: com.management.platform.entity
- mapper-locations: mappers/*Mapper.xml
- #####配置图片上传路径####
- upload:
- path: C:/upload/
- picrecongnize:
- browser: C:/picrecongnize/browser/
- develop: C:/picrecongnize/develop/
- im: C:/picrecongnize/im/
- design: C:/picrecongnize/design/
- # 智能工时管家公众号参数
- wx:
- template_report_fill: lhwkaW9BKwCvMtCuoAxLw4lZoGgMaucL0Ap0Vz-5KOY
- app_id: wx749c84daac654e1e
- app_secret: aacbd046ec1c790836f4f684c96fe585
- template_report_pass: dbMuR2v7lxXLwRaorIWQ4T6ilvn0vzqmDDkD_3ZsaXc
- template_project_deadline: kY2Qzec64uOANNXA0yn-PV09ZnNjCeGXwWjTaVmQiLU
- template_report_reject: TICiRkvCpF4NCbkPOjefXTpz7jXgpt0SZGkNjCMIt3M
- template_report_week: lhwkaW9BKwCvMtCuoAxLw4lZoGgMaucL0Ap0Vz-5KOY
- #钉钉参数配置
- dingding:
- appId: 71020
- ##actuator健康检查配置
- management:
- security:
- enabled:false:
- server:
- port: 10019
- # endpoints:
- # web:
- # exposure:
- # include: "*"
- health:
- redis:
- enabled: false
- ldap:
- enabled: false
- referer:
- refererDomain:
- - localhost
- - ttkuaiban.com
- - www.ttkuaiban.com
- - mobworktime.ttkuaiban.com
- - worktime.ttkuaiban.com
- - app71020.eapps.dingtalkcloud.com
- - mldmobworktime.ttkuaiban.com
- - mldworktime.ttkuaiban.com
- - 1.94.62.58
- excludeUrls: /wxcorp/*,/wxcorp/*/*,/dingding/*,/feishu-info/*,/error,/testClient,/corpWXAuth,/corpWXScanningAuth,/corpInsideWXAuth,/wx-corp-info/*,/clean/*,/innerRoles/*,/project/getProjectListByToken,/project/getTimeCostByToken,/report/getReportListByToken,/report/getProcessErrorData,/project/synchronizationProject,/user/updateUserDeptHierarchy,/report/getUserTimeCostByThird,/report/getProjectTimeCostByThird,/leave-sheet-fv/*,/report/getNotFullReportUserList
- #企业微信相关参数
- suitId: ww4e237fd6abb635af
- suitSecret: 1ApL6LIB4Z0v7wBrKTUNmJrerRWV3gEQWBlYOm8Kijw
- #平台作为服务商的参数
- corpId: wwf11426cf618e1703
- token: Mhi7ehNX61UN4MB7PHnC
- encodingAesKey: PHVMkME1XMrImmGJZ4OZJxSysI7hFEhtDDUQrlHAfIS
- providerSecret: wlwGIUXskWKsNtCfKUsAfJ6ueba55rZnqZvcC-rUM6nQ-LnRDyYgISQ2BO-UlL_A
- configEnv:
- isDev: true
- # 是否是私有化部署,企业内部应用
- isPrivateDeploy: false
- privateDeployURL:
- pcUrl: http://dev.huoshishanxin.com/#/
- mobUrl: http://dev.huoshishanxin.com/#/
- # SFTP上传配置
- sftp:
- isEnabled: false
- server: 101.132.166.205
- port: 22022
- remoteDir: /bkup/timesheet
- user: root
- password: Huoshi@2022
|