Commit 95f010f40791e91325c3434581ff48cba1c2cb56
1 parent
8cc3c016
同步司机信息
Showing
3 changed files
with
8 additions
and
218 deletions
Bsth-admin/src/main/resources/application-druid-devTest.yml
| @@ -160,12 +160,12 @@ api: | @@ -160,12 +160,12 @@ api: | ||
| 160 | template: 车队与线路匹配模板 | 160 | template: 车队与线路匹配模板 |
| 161 | url: | 161 | url: |
| 162 | # all 为获取所有驾驶员信息 | 162 | # all 为获取所有驾驶员信息 |
| 163 | - getDriverInfo: http://101.95.136.206:9089/webservice/rest/person/%s | 163 | + getDriverInfo: http://dsh.bdo2o.com:6280/shr |
| 164 | # 获取公司编码下的员工信息 暂时没用 | 164 | # 获取公司编码下的员工信息 暂时没用 |
| 165 | - getCompanyInfo: http://101.95.136.206:9089/webservice/rest/person/company/%d?timestamp=%&nonce=%s&password=%s&sign=%s | 165 | + getCompanyInfo: |
| 166 | # 获取排班信息 | 166 | # 获取排班信息 |
| 167 | - getSchedulingInfo: http://101.95.136.206:9089/webservice/rest/schedule_real/sch_jk/%s/%s?timestamp=%d&nonce=%s&password=%s&sign=%s | ||
| 168 | - getSchedulingInfoNew: http://101.95.136.206:9089/webservice/rest/schedule_real/sch_jk_db/%s/%s?timestamp=%d&nonce=%s&password=%s&sign=%s | 167 | + getSchedulingInfo: http://58.34.47.74:9089/webservice/rest/schedule_real/sch_jk/%s/%s?timestamp=%d&nonce=%s&password=%s&sign=%s |
| 168 | + getSchedulingInfoNew: http://58.34.47.74:9089/webservice/rest/schedule_real/sch_jk/%s/%s?timestamp=%d&nonce=%s&password=%s&sign=%s | ||
| 169 | config: | 169 | config: |
| 170 | password: c4dd3d8cb9a82f6d6a625818618b28ca7bebb464 | 170 | password: c4dd3d8cb9a82f6d6a625818618b28ca7bebb464 |
| 171 | # 随机字符串 | 171 | # 随机字符串 |
Bsth-admin/src/main/resources/application-druid-prd.yml
| @@ -182,12 +182,12 @@ api: | @@ -182,12 +182,12 @@ api: | ||
| 182 | template: 车队与线路匹配模板 | 182 | template: 车队与线路匹配模板 |
| 183 | url: | 183 | url: |
| 184 | # all 为获取所有驾驶员信息 | 184 | # all 为获取所有驾驶员信息 |
| 185 | - getDriverInfo: http://192.168.50.120:9089/webservice/rest/person/%s | 185 | + getDriverInfo: http://dsh.bdo2o.com:6280/shr |
| 186 | # 获取公司编码下的员工信息 暂时没用 | 186 | # 获取公司编码下的员工信息 暂时没用 |
| 187 | - getCompanyInfo: http://192.168.50.120:9089/webservice/rest/person/company/%d?timestamp=%&nonce=%s&password=%s&sign=%s | 187 | + getCompanyInfo: |
| 188 | # 获取排班信息 | 188 | # 获取排班信息 |
| 189 | - getSchedulingInfo: http://192.168.50.120:9089/webservice/rest/schedule_real/sch_jk/%s/%s?timestamp=%d&nonce=%s&password=%s&sign=%s | ||
| 190 | - getSchedulingInfoNew: http://192.168.50.120:9089/webservice/rest/schedule_real/sch_jk_db/%s/%s?timestamp=%d&nonce=%s&password=%s&sign=%s | 189 | + getSchedulingInfo: http://58.34.47.74:9089/webservice/rest/schedule_real/sch_jk/%s/%s?timestamp=%d&nonce=%s&password=%s&sign=%s |
| 190 | + getSchedulingInfoNew: http://58.34.47.74:9089/webservice/rest/schedule_real/sch_jk/%s/%s?timestamp=%d&nonce=%s&password=%s&sign=%s | ||
| 191 | config: | 191 | config: |
| 192 | # 固定密码 | 192 | # 固定密码 |
| 193 | password: c4dd3d8cb9a82f6d6a625818618b28ca7bebb464 | 193 | password: c4dd3d8cb9a82f6d6a625818618b28ca7bebb464 |
Bsth-admin/src/main/resources/application-druid-uat.yml deleted
100644 → 0
| 1 | -# 数据源配置 | ||
| 2 | -spring: | ||
| 3 | - # 邮箱配置 | ||
| 4 | - mail: | ||
| 5 | - # 只发送不接收 | ||
| 6 | - host: smtp.163.com | ||
| 7 | - # 自己的邮箱 | ||
| 8 | - username: m18980249160@163.com | ||
| 9 | - # 提供的密码 不是自己的登录密码 | ||
| 10 | - password: RZHJXWXPCALIAOCG | ||
| 11 | - # 占用端口号 | ||
| 12 | - port: 465 | ||
| 13 | - nickname: 酒精测试异常通知 | ||
| 14 | - form: m18980249160@163.com | ||
| 15 | - protocol: smtp | ||
| 16 | - properties: | ||
| 17 | - mail: | ||
| 18 | - smtp: | ||
| 19 | - ssl: | ||
| 20 | - enable: true | ||
| 21 | - socketFactory: | ||
| 22 | - class: javax.net.ssl.SSLSocketFactory | ||
| 23 | - | ||
| 24 | - datasource: | ||
| 25 | - type: com.alibaba.druid.pool.DruidDataSource | ||
| 26 | - driverClassName: com.mysql.cj.jdbc.Driver | ||
| 27 | - druid: | ||
| 28 | - # 主库数据源 | ||
| 29 | - master: | ||
| 30 | - # 测试地址 | ||
| 31 | - url: jdbc:mysql://192.168.168.124:3306/all-in-one?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&useAffectedRows=true&allowMultiQueries=true | ||
| 32 | - username: root | ||
| 33 | - password: guzijian | ||
| 34 | - # 从库数据源 | ||
| 35 | - slave: | ||
| 36 | - # 从数据源开关/默认关闭 | ||
| 37 | - enabled: false | ||
| 38 | - url: | ||
| 39 | - username: | ||
| 40 | - password: | ||
| 41 | - # 初始连接数 | ||
| 42 | - initialSize: 5 | ||
| 43 | - # 最小连接池数量 | ||
| 44 | - minIdle: 10 | ||
| 45 | - # 最大连接池数量 | ||
| 46 | - maxActive: 20 | ||
| 47 | - # 配置获取连接等待超时的时间 | ||
| 48 | - maxWait: 60000 | ||
| 49 | - # 配置连接超时时间 | ||
| 50 | - connectTimeout: 30000 | ||
| 51 | - # 配置网络超时时间 | ||
| 52 | - socketTimeout: 60000 | ||
| 53 | - # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒 | ||
| 54 | - timeBetweenEvictionRunsMillis: 60000 | ||
| 55 | - # 配置一个连接在池中最小生存的时间,单位是毫秒 | ||
| 56 | - minEvictableIdleTimeMillis: 300000 | ||
| 57 | - # 配置一个连接在池中最大生存的时间,单位是毫秒 | ||
| 58 | - maxEvictableIdleTimeMillis: 900000 | ||
| 59 | - # 配置检测连接是否有效 | ||
| 60 | - validationQuery: SELECT 1 FROM DUAL | ||
| 61 | - testWhileIdle: true | ||
| 62 | - testOnBorrow: false | ||
| 63 | - testOnReturn: false | ||
| 64 | - webStatFilter: | ||
| 65 | - enabled: true | ||
| 66 | - statViewServlet: | ||
| 67 | - enabled: true | ||
| 68 | - # 设置白名单,不填则允许所有访问 | ||
| 69 | - allow: | ||
| 70 | - url-pattern: /druid/* | ||
| 71 | - # 控制台管理用户名和密码 | ||
| 72 | - login-username: ruoyi | ||
| 73 | - login-password: 123456 | ||
| 74 | - filter: | ||
| 75 | - stat: | ||
| 76 | - enabled: true | ||
| 77 | - # 慢SQL记录 | ||
| 78 | - log-slow-sql: true | ||
| 79 | - slow-sql-millis: 1000 | ||
| 80 | - merge-sql: true | ||
| 81 | - wall: | ||
| 82 | - config: | ||
| 83 | - multi-statement-allow: true | ||
| 84 | - # 文件上传 | ||
| 85 | - servlet: | ||
| 86 | - multipart: | ||
| 87 | - # 单个文件大小 | ||
| 88 | - max-file-size: 100MB | ||
| 89 | - # 设置总上传的文件大小 | ||
| 90 | - max-request-size: 100MB | ||
| 91 | - # 服务模块 | ||
| 92 | - devtools: | ||
| 93 | - restart: | ||
| 94 | - # 热部署开关 | ||
| 95 | - enabled: true | ||
| 96 | - # redis 配置 | ||
| 97 | - redis: | ||
| 98 | - # 地址 | ||
| 99 | -# host: 1.14.107.94 | ||
| 100 | - host: 192.168.168.124 | ||
| 101 | - database: 0 | ||
| 102 | - password: "guzijian" | ||
| 103 | - port: 6379 | ||
| 104 | - # 连接超时时间 | ||
| 105 | - timeout: 10s | ||
| 106 | - lettuce: | ||
| 107 | - pool: | ||
| 108 | - # 连接池中的最小空闲连接 | ||
| 109 | - min-idle: 0 | ||
| 110 | - # 连接池中的最大空闲连接 | ||
| 111 | - max-idle: 8 | ||
| 112 | - # 连接池的最大数据库连接数 | ||
| 113 | - max-active: 8 | ||
| 114 | - # #连接池最大阻塞等待时间(使用负值表示没有限制) | ||
| 115 | - max-wait: -1ms | ||
| 116 | - # token配置 | ||
| 117 | - token: | ||
| 118 | - # 令牌自定义标识 | ||
| 119 | - header: Authorization | ||
| 120 | - # 令牌密钥 | ||
| 121 | - secret: abcdefghijklmnopqrstuvwxyz | ||
| 122 | - # 令牌有效期(默认30分钟) | ||
| 123 | - expireTime: 30 | ||
| 124 | - | ||
| 125 | -# 项目相关配置 | ||
| 126 | -ruoyi: | ||
| 127 | - # 名称 | ||
| 128 | - name: RuoYi | ||
| 129 | - # 版本 | ||
| 130 | - version: 3.8.5 | ||
| 131 | - # 版权年份 | ||
| 132 | - copyrightYear: 2023 | ||
| 133 | - # 实例演示开关 | ||
| 134 | - demoEnabled: true | ||
| 135 | - # 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath) | ||
| 136 | - profile: /home/health/uploadPath | ||
| 137 | - # 获取ip地址开关 | ||
| 138 | - addressEnabled: false | ||
| 139 | - # 验证码类型 math 数字计算 char 字符验证 | ||
| 140 | - captchaType: math | ||
| 141 | -# 开发环境配置 | ||
| 142 | -server: | ||
| 143 | - # 服务器的HTTP端口,默认为8080 | ||
| 144 | - port: 8100 | ||
| 145 | - servlet: | ||
| 146 | - # 应用的访问路径 | ||
| 147 | - context-path: / | ||
| 148 | - tomcat: | ||
| 149 | - # tomcat的URI编码 | ||
| 150 | - uri-encoding: UTF-8 | ||
| 151 | - # 连接数满后的排队数,默认为100 | ||
| 152 | - accept-count: 1000 | ||
| 153 | - threads: | ||
| 154 | - # tomcat最大线程数,默认为200 | ||
| 155 | - max: 800 | ||
| 156 | - # Tomcat启动初始化的线程数,默认值10 | ||
| 157 | - min-spare: 100 | ||
| 158 | - | ||
| 159 | -mybatis-plus: | ||
| 160 | - # 搜索指定包别名 | ||
| 161 | - typeAliasesPackage: com.ruoyi.**.domain | ||
| 162 | - # 配置mapper的扫描,找到所有的mapper.xml映射文件 | ||
| 163 | - mapperLocations: classpath*:mapper/**/*Mapper.xml | ||
| 164 | - # 加载全局的配置文件 | ||
| 165 | - configLocation: classpath:mybatis/mybatis-config.xml | ||
| 166 | -# Swagger配置 | ||
| 167 | -swagger: | ||
| 168 | - # 是否开启swagger | ||
| 169 | - enabled: true | ||
| 170 | - # 请求前缀 | ||
| 171 | - # pathMapping: /dev-api | ||
| 172 | - pathMapping: / | ||
| 173 | -api: | ||
| 174 | - template: 车队与线路匹配模板 | ||
| 175 | - url: | ||
| 176 | - # all 为获取所有驾驶员信息 | ||
| 177 | - getDriverInfo: http://101.95.136.206:9089/webservice/rest/person/%s | ||
| 178 | - # 获取公司编码下的员工信息 暂时没用 | ||
| 179 | - getCompanyInfo: http://101.95.136.206:9089/webservice/rest/person/company/%d?timestamp=%&nonce=%s&password=%s&sign=%s | ||
| 180 | - # 获取排班信息 | ||
| 181 | - getSchedulingInfo: http://101.95.136.206:9089/webservice/rest/schedule_real/sch_jk/%s/%s?timestamp=%d&nonce=%s&password=%s&sign=%s | ||
| 182 | - getSchedulingInfoNew: http://101.95.136.206:9089/webservice/rest/schedule_real/sch_jk_db/%s/%s?timestamp=%d&nonce=%s&password=%s&sign=%s | ||
| 183 | - config: | ||
| 184 | - # 固定密码 | ||
| 185 | - password: c4dd3d8cb9a82f6d6a625818618b28ca7bebb464 | ||
| 186 | - # 随机字符串 | ||
| 187 | - nonce: adfsad | ||
| 188 | - apk: | ||
| 189 | - path: /apk/dev | ||
| 190 | - # 用户头像存放位置 | ||
| 191 | - headImage: /head/image | ||
| 192 | - | ||
| 193 | - personnel: | ||
| 194 | - token: | ||
| 195 | - tokenUrl: https://api.dingtalk.com/v1.0/oauth2/accessToken | ||
| 196 | - appKey: dingsclwvxui5zilg1xk | ||
| 197 | - appSecret: ckV20k3jMKJpUkfXXSGhLk077rQQjsSaAusiSVY-nm4glwweCmb_SMJ62Cpf4YQ5 | ||
| 198 | - people: | ||
| 199 | - url: https://api.dingtalk.com/v1.0/yida/forms/instances/search | ||
| 200 | -log: | ||
| 201 | - path: /home/health/logs | ||
| 202 | -netty: | ||
| 203 | - # 是否开启netty服务 | ||
| 204 | - enabled: true | ||
| 205 | - socket: | ||
| 206 | - # 相对路径 classpath | ||
| 207 | - catalogue: | ||
| 208 | - image: device/image | ||
| 209 | - speech: device/speech | ||
| 210 | - port: 8989 | ||
| 211 | \ No newline at end of file | 0 | \ No newline at end of file |