linzhijie
2021-03-24 8e76fba031022a2bb99795a2678c62db33a5ebfd
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,10 +26,9 @@
        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:
                # 从数据源开关/默认关闭
@@ -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
    host: 192.168.8.171
    port: 9123
jasypt:
    encryptor:
        password: 5ciqxnka5s02w9qu
        algorithm: PBEWithMD5AndDES