Blame view

src/main/resources/application.yaml 1.55 KB
f574eec4   YunaiV   合并成单 module 的初始化
1
  spring:
e85c3426   YunaiV   增加图片验证码接口
2
3
    application:
      name: dashboard
ca90fcb8   YunaiV   接入 swagger + knif...
4
    # 数据源配置项 TODO 多数据源;TODO 监控配置
f574eec4   YunaiV   合并成单 module 的初始化
5
    datasource:
c9372b0a   YunaiV   修改 get-routers 接口...
6
      url: jdbc:mysql://127.0.1:33061/ruoyi-vue-pro?useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=CTT
f574eec4   YunaiV   合并成单 module 的初始化
7
8
9
      driver-class-name: com.mysql.jdbc.Driver
      username: root
      password: 123456
ca90fcb8   YunaiV   接入 swagger + knif...
10
11
12
13
14
15
16
17
18
19
20
21
22
    # redis 配置 TODO 需要进行下,对接到 redisson
    redis:
      # 地址
      host: localhost
      # 端口,默认为6379
      port: 6379
      # 数据库索引
      database: 0
      # 连接超时时间
      timeout: 10s
  
  # 芋道配置项,设置当前项目所有自定义的配置
  yudao:
ee9a358b   YunaiV   完善 SpringMVC 组件,增...
23
24
    web:
      api-prefix: /api
ca90fcb8   YunaiV   接入 swagger + knif...
25
26
27
    security:
      token-header: Authorization
      token-secret: abcdefghijklmnopqrstuvwxyz
e85c3426   YunaiV   增加图片验证码接口
28
29
      token-timeout: 1d
      session-timeout: 30m
fc8eac54   YunaiV   集成 Spring Securit...
30
31
      mock-enable: true
      mock-secret: yudaoyuanma
ca90fcb8   YunaiV   接入 swagger + knif...
32
33
34
35
36
    swagger:
      title: 管理后台
      description: 提供管理员管理的所有功能
      version: 1.0.0
      base-package: cn.iocoder.dashboard.modules
e85c3426   YunaiV   增加图片验证码接口
37
38
39
40
    captcha:
      timeout: 5m
      width: 160
      height: 60
3e5bd019   YunaiV   1. 完成 menu 模块的迁移
41
42
43
44
45
  
  # MyBatis Plus 的配置项
  mybatis-plus:
    configuration:
      map-underscore-to-camel-case: true # 虽然默认为 true ,但是还是显示去指定下。
9e59a6c1   YunaiV   1. 迁移 Role 相关的逻辑
46
      log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # 打印日志
3e5bd019   YunaiV   1. 完成 menu 模块的迁移
47
48
49
50
51
52
53
    global-config:
      db-config:
        id-type: auto # 自增 ID
        logic-delete-value: 1 # 逻辑已删除值(默认为 1)
        logic-not-delete-value: 0 # 逻辑未删除值(默认为 0)
    mapper-locations: classpath*:mapper/*.xml
    type-aliases-package: cn.iocoder.dashboard.modules.*.dal.mysql.dataobject