linzhijie
2021-03-24 b23f8cd1438c2b3c6f7e334502de619ffbb7fdc7
src/main/resources/application-local.yml
@@ -7,13 +7,17 @@
    # 版权年份
    copyrightYear: 2020
    # 实例演示开关
    demoEnabled: true
    demoEnabled: false
    # 文件路径 示例( Windows配置D:/ots/uploadPath,Linux配置 /home/data/ots/uploadPath)
    profile: /home/data/ots/uploadPath
    profile: D:/测评系统/home/uploadPath
    # 图片的url,如:vue端读http://139.199.11.114/images地址
    imagePath: http://localhost:8090/profile/images
    imagePath: http://127.0.0.1:8090/profile/images
    # 获取ip地址开关
    addressEnabled: true
    # 报告模版地址
    reportTemplates: D:/测评系统/home/reportTemplates/
    # http profile
    httpProfilePath: http://127.0.0.1:8090/profile
# 数据源配置
spring:
    datasource:
@@ -22,17 +26,16 @@
        druid:
            # 主库数据源
            master:
                url: jdbc:mysql://127.0.0.1:3306/ess_dev?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
#                url: jdbc:mysql://192.168.77.29:3306/ess?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
                url: jdbc:mysql://192.168.8.171:3306/ots-sand?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
                username: root
                password: perfect
                password: Cc19970921
            # 从库数据源
            slave:
                # 从数据源开关/默认关闭
                enabled: false
                url:
                username:
                password:
                url:
                username:
                password:
            # 初始连接数
            initialSize: 5
            # 最小连接池数量
@@ -52,7 +55,7 @@
            testWhileIdle: true
            testOnBorrow: false
            testOnReturn: false
            webStatFilter:
            webStatFilter:
                enabled: true
            statViewServlet:
                enabled: true
@@ -60,8 +63,8 @@
                allow:
                url-pattern: /druid/*
                # 控制台管理用户名和密码
                login-username:
                login-password:
                login-username:
                login-password:
            filter:
                stat:
                    enabled: true
@@ -77,9 +80,13 @@
# VUE端访问地址
vue:
    url: http://139.199.11.114/exam-stu/#/ots/{0}/login
    url: http://localhost:82/#/ots/{0}/login
# 远程泰国计算服务
ATSTai:
    host: 120.24.39.179
    port: 9123
    host: 192.168.8.171
    port: 9123
jasypt:
    encryptor:
        password: 5ciqxnka5s02w9qu
        algorithm: PBEWithMD5AndDES