p-honggang.li
5 天以前 ac918503bb5e8fad007348e7e39ba7275b75f334
src/main/resources/application.yml
@@ -1,13 +1,15 @@
server:
  port: 8080
  port: 8089
  servlet:
    context-path: /admin
  tomcat:
    max-swallow-size: 500MB
spring:
  application:
    name: web-manage-back
    name: trade-back
  profiles:
    active: dev
    active: prod
  jackson:
    date-format: yyyy-MM-dd HH:mm:ss
    time-zone: GMT+8
@@ -16,7 +18,11 @@
  #mcv配置
  mvc:
    pathmatch:
      matching-strategy: ant_path_matcher
      matching-strategy: ant_path_matcher
  servlet:
    multipart:
      max-file-size: 500MB
      max-request-size: 500MB
# MyBatis Plus配置
mybatis-plus:
@@ -70,3 +76,24 @@
      thread-name-prefix: async-cart-
      wait-for-tasks-to-complete-on-shutdown: true
      await-termination-seconds: 30
# 工作流配置
workflow:
  # 审批服务配置
  approval:
    base-url: http://192.168.20.51:7098
    template-relation-url: /approval/templateRelation/relationByType
    unit-id: "1"
  # 工作流服务配置
  process:
    base-url: http://192.168.20.51:7098
    # base-url: http://36.133.126.111:7098
    start-process-url: /app/workflow/startProcessAndComplete
    find-todo-url: /app/workflow/findToList
    find-done-url: /app/workflow/findHistoryByPage
    complete-url: /app/workflow/complete
    reject-url: /app/workflow/rejectStartNode
  # RestTemplate超时配置
  rest-template:
    connect-timeout: 5000  # 连接超时时间(毫秒)
    read-timeout: 10000    # 读取超时时间(毫秒)