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