ludc
2023-07-18 ec407e8676f6245d88da3d9f729ad545ae3218c0
Source/UBCS/ubcs-service/ubcs-code/src/main/resources/application-dev.yml
@@ -1,76 +1,119 @@
#服务器端口
server:
  port: 36013
  port: 36014
  tomcat:
    uri-encoding: UTF-8
  servlet:
    encoding:
      enabled: true
      charset: UTF-8
      force: true
#数据源配置
spring:
  datasource:
    url: ${blade.datasource.dev.url}
    username: ${blade.datasource.dev.username}
    password: ${blade.datasource.dev.password}
    url: ${ubcs.datasource.mdm.dev.url}
    username: ${ubcs.datasource.mdm.dev.username}
    password: ${ubcs.datasource.mdm.dev.password}
  messages:
    encoding: UTF-8
    encoding: utf-8
    basename: i18n/messages
#关闭驼峰命名映射
mybatis-plus:
  configuration:
    map-underscore-to-camel-case: false
#####应用基本配置
app:
  name: web
  group: 北京宏博远达科技有限公司
  description: 平台B/S客户端
  private-token-key: vciweb20210212
###本项目的配置,注意spring家族读取配置时,大写字母需要转换为-的方式,而feign需要大小写完全相同
session:
  session-info-storage-type: "database"
  database-platform: oracle
  clear-session-on-start: false
  ###是否开启用户在线检查
  checkSessionTimeout: false
  ###客户端判断超时轮询时间,单位为秒
  sessionInterval: 10
  ###客户端最大存在时间,单位为分钟
  sessionIdlTime: 30
  ###超时提醒时间,单位为分钟
  sessionRemind: 3
user-table-compatibility: "platform1"
#受2021版本的部分接口的影响,下面的内容需要配置,
vciPlatform:
  objectServiceUrl: ""
  cache:
    type: ehcache
##web配置
vciweb:
  debug: true
file-preview:
  enabled: true
  preview-service-url: "http://dev.yunkeruida.top:28090/vciFilePreview/ajaxPreview.html"
  preview-system-key: plt2020
docking:
  #是否开启主数据/分类数据推送同步
  insertCache2: false
  cron: 0 0/1 * * * ?
  #预申请数据,配置模板文件存放的文件夹
  templateDir: D:\desktop
  tranTemp: D:\mes
  #图号的key
  tuhao: tuhao
#顶层批量申请配置
batchadd:
  exportattr:
    type: 基本信息
    redis:
      time: 6000000
#统一接口属性映射文件配置
attrconfig:
  #系统集成
  system_attrmap: {RLM: D:\RLM.xml,PDM: D:\pdm.xml,DMS: D:\DMS.xml}
#数据定时推送配置
dataSyncPush:
  isStart: false
  cronTime: "0 0/1 * * * ?"
  dataParamName: dataString
  dataTranTemp: D:\desktop
#分类定时推送配置
clsfSyncPush:
  isStart: false
  cronTime: "0 0/1 * * * ?"
  dataParamName: dataString
  dataTranTemp: D:\desktop
#统一接口相关配置
code:
  universalinterface:
    checkSystemConfig: false
    attrconfig:
      #系统集成
      system_attrmap: {RLM: D:\RLM.xml,PDM: D:\pdm.xml,DMS: D:\DMS.xml}
attrconfig:
  #系统集成
  system_attrmap: {RLM: D:\RLM.xml,PDM: D:\pdm.xml,DMS: D:\DMS.xml}
  #MPM枚举值属性映射
  mpmEnumMap: {partType: [{enumValue: 1,enumText: 产品},{enumValue: 2,enumText: 产品},{'enumValue': 3,enumText: 标准件},{'enumValue': 7,enumText: 材料}]}
#mybatis-plus-join:
#  table-alias: t
######应用基本配置
#app:
#  name: web
#  group: 北京宏博远达科技有限公司
#  description: 平台B/S客户端
#  private-token-key: vciweb20210212
###本项目的配置,注意spring家族读取配置时,大写字母需要转换为-的方式,而feign需要大小写完全相同
#session:
#  session-info-storage-type: "database"
#  database-platform: oracle
#  clear-session-on-start: false
#  ###是否开启用户在线检查
#  checkSessionTimeout: false
#  ###客户端判断超时轮询时间,单位为秒
#  sessionInterval: 10
#  ###客户端最大存在时间,单位为分钟
#  sessionIdlTime: 30
#  ###超时提醒时间,单位为分钟
#  sessionRemind: 3
#user-table-compatibility: "platform1"
##受2021版本的部分接口的影响,下面的内容需要配置,
#vciPlatform:
#  objectServiceUrl: ""
#  cache:
##    type: ehcache
#
###web配置
#vciweb:
#  debug: true
#file-preview:
#  enabled: true
#  preview-service-url: "http://dev.yunkeruida.top:28090/vciFilePreview/ajaxPreview.html"
#  preview-system-key: plt2020
#docking:
#  #是否开启主数据/分类数据推送同步
#  insertCache2: false
#  cron: 0 0/1 * * * ?
#  #预申请数据,配置模板文件存放的文件夹
#  templateDir: D:\desktop
#  tranTemp: D:\mes
#  #图号的key
#  tuhao: tuhao
#
#dataSyncPush:
#  isStart: false
#  cronTime: "0 0/1 * * * ?"
#  dataParamName: dataString
#  dataTranTemp: D:\desktop
#clsfSyncPush:
#  isStart: false
#  cronTime: "0 0/1 * * * ?"
#  dataParamName: dataString
#  dataTranTemp: D:\desktop
#
#attrconfig:
#  #系统集成
#  system_attrmap: {RLM: D:\RLM.xml,PDM: D:\pdm.xml,DMS: D:\DMS.xml}
#  #MPM枚举值属性映射
#  mpmEnumMap: {partType: [{enumValue: 1,enumText: 产品},{enumValue: 2,enumText: 产品},{'enumValue': 3,enumText: 标准件},{'enumValue': 7,enumText: 材料}]}