whycxzp
2022-10-17 04d13e3a41ef798e07c25c1d3ad2002270a9cb76
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
#系统类型:1(普通,无限制),2(严格-gw标准),3(严格-签名)
system:
  type: 1
#服务端口号
server:
  port: 8092
  servlet:
    context-path: /cad
    session:
      cookie:
        name: CadDrawManager
  tomcat:
    max-http-form-post-size: 102400000
 
#数据库
spring:
  datasource:
    type: com.alibaba.druid.pool.DruidDataSource
    driver-class-name: com.mysql.cj.jdbc.Driver
    url: jdbc:mysql://192.168.10.79:3360/db_doc1?characterEncoding=utf8&serverTimezone=Asia/Shanghai&allowMultiQueries=true&rewriteBatchedStatements=true
    username: root
    password: lmx8688139
    maxIdel: 60
    initialPoolSize: 2
    minPoolSize: 2
    maxPoolSize: 500
  servlet:
    multipart:
      max-file-size: 200MB
      max-request-size: 200MB
  mail:
    host: smtp.163.com
    port:
    username: whyc_doc@163.com
    password: JAMKMEQUOAGGMSVV
    default-encoding: UTF-8
mybatis-plus:
  typeAliasesPackage: com.whyc.pojo,com.whyc.dto
  mapper-locations: classpath:mapper/**/*Mapper.xml
  global-config:
    db-config:
      #主键类型  0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID";
      id-type: AUTO
      #驼峰下划线转换
      table-underline: true
      #数据库大写下划线转换
      capital-mode: true
      #mp2.3+ 全局表前缀 tb_
      table-prefix: tb_
      #刷新mapper 调试神器
#      refresh-mapper: true
  configuration:
    #配置返回数据库(column下划线命名&&返回java实体是驼峰命名),自动匹配无需as(没开启这个,SQL需要写as: select user_id as userId)
    map-underscore-to-camel-case: true
    cache-enabled: false
    #mybatis日志输出
    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
pagehelper:
  helper-dialect: mysql
  reasonable: true
  support-methods-arguments: true
  params: count=countSql
#swagger是否激活,swagger的UI界面地址为 localhost:8080/swagger-ui.html
#swagger:
#  enabled: true
#  ui-config:
#    operations-sorter: method
#  title: 武汉源畅-3.5WM电机系统
#  authorization:
#    type: None
#    auth-regex: none
#  base-package: com.whyc.controller
knife:
  enable: true
custom:
  #人脸
  face:
    threshold: 0.8
    appId4Win: AafPX5afzycEnTqH3v79gY3VozNVTSNqT8kzSmP7b48q
    sdkKey4Win: GsYwWhxzuQEE1WE34J3Fo8d2QppjkqYGojyc4625JhKb
    appId4Linux: AafPX5afzycEnTqH3v79gY3VozNVTSNqT8kzSmP7b48q
    sdkKey4Linux: GsYwWhxzuQEE1WE34J3Fo8d2GiFdddqH81ghetQQTGmv
  #告警短信
  message:
    switch: OFF
    secret_id: AKIDaz80bw0oLbbLo0vay5vVoqb5IEtIQItD
    secret_key: 4sPeeNp0tWsVrxmLdfQu73i6D2btufAO
    region: ap-nanjing
    smsSdkAppId: 1400565791
    signName: 武汉源畅科技有限公司
    templateId: 1095970
  #告警工单
  alarm:
    task.switch: off
 
#Config文件读取 涉及License和FGCDFileDownload
configFile:
  type: 1 #1:本地测试;2:打包jar
 
#FTP本分数据
ftpInforMation:
  ftpIp: 192.168.10.79
  ftpPort: 21
  ftpUserName: lxw
  ftpPassword: luxingwei+810412026