# 项目相关配置
ruoyi:
  # 名称
  name: RuoYi-Vue-S
  # 版本
  version: 3.7.0
  # 版权年份
  copyrightYear: 2021
  # 实例演示开关
  demoEnabled: true
  # 文件路径 示例（ Windows配置D:/ruoyi/uploadPath，Linux配置 /home/ruoyi/uploadPath）
  profile: D:/ruoyi/uploadPath
  # 获取ip地址开关
  addressEnabled: false
  # 验证码类型 math 数组计算 char 字符验证
  captchaType: math

# 开发环境配置
server:
  # 服务器的HTTP端口，默认为8080
  port: 8888
  servlet:
    # 应用的访问路径
    context-path:
  tomcat:
    # tomcat的URI编码
    uri-encoding: UTF-8
    # tomcat最大线程数，默认为200
    max-threads: 800
    # Tomcat启动初始化的线程数，默认值25
    min-spare-threads: 30

# 日志配置
logging:
  level:
    com.ruoyi: debug
    org.springframework: warn

# Spring配置
spring:
  # 资源信息
  messages:
    # 国际化资源文件路径
    basename: i18n/messages
  profiles:
    active: prod
  jackson:
    time-zone: GMT+8
    date-format: yyyy-MM-dd HH:mm:ss
    locale: zh_CN
    serialization:
      # 格式化输出
      indent_output: false
  # 文件上传
  servlet:
     multipart:
       # 单个文件大小
       max-file-size:  10MB
       # 设置总上传的文件大小
       max-request-size:  20MB
  # 服务模块
  devtools:
    restart:
      # 热部署开关
      enabled: false
  # redis 配置
  redis:
    # 连接超时时间
    timeout: 10s
    lettuce:
      pool:
        # 连接池中的最小空闲连接
        min-idle: 0
        # 连接池中的最大空闲连接
        max-idle: 8
        # 连接池的最大数据库连接数
        max-active: 8
        # #连接池最大阻塞等待时间（使用负值表示没有限制）
        max-wait: -1ms
# token配置
token:
    # 令牌自定义标识
    header: Authorization
    # 令牌密钥
    secret: abcdefghijklmnopqrstuvwxyz
    # 令牌有效期（默认30分钟）
    expireTime: 300

mybatis-plus:
  mapper-locations: classpath*:/com/ruoyi/**/*.xml,classpath*:com/ruoyi/**/mapping/*.xml
  #实体扫描，多个package用逗号或者分号分隔
  type-aliases-package: com.ruoyi.**.domain,com.ruoyi.entity.**
  #typeEnumsPackage: com.baomidou.springboot.entity.enums
  global-config:
    banner: false
    db-config:
      #主键类型 com.baomidou.mybatisplus.annotation.IdType";
      id-type: assign_id
      #字段策略 com.baomidou.mybatisplus.annotation.FieldStrategy"
      select-strategy: NOT_EMPTY
      insert-strategy: NOT_EMPTY
      update-strategy: NOT_EMPTY
      #逻辑删除配置（下面3个配置）
      logic-delete-value: 0
      logic-not-delete-value: 1
  configuration:
    jdbc-type-for-null: 'null'
    #数据库大写下划线转换
    map-underscore-to-camel-case: true
    cache-enabled: false
    lazy-loading-enabled: true
    multiple-result-sets-enabled: true
    log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl #开启sql日志
#    log-impl: org.apache.ibatis.logging.nologging.NoLoggingImpl
  configuration-properties:
    dbType: mysql #设置全局属性用于控制数据库的类型


# PageHelper分页插件
pagehelper:
  helperDialect: mysql
  supportMethodsArguments: true
  params: count=countSql

# Swagger配置
swagger:
  # 是否开启swagger
  enabled: true
  # 请求前缀
  pathMapping:

# 防止XSS攻击
xss:
  # 过滤开关
  enabled: true
  # 排除链接（多个用逗号分隔）
  excludes: /system/notice
  # 匹配链接
  urlPatterns: /system/*,/monitor/*,/tool/*

#文件上传配置
#使用的上传存储空间,local本地,aliyun:阿里云
oss:
  client-type: local
  #默认上传目录
  base_dir: userfiles
  #允许的文件扩展名
  allowed_extension: mp4,bmp, gif, jpg, jpeg, png,doc, docx, xls, xlsx, ppt, pptx,html,htm,txt,rar, zip, gz, bz2,pdf
  #最大文件大小 50M
  max_size: 52428800
  #是否需要按照日期存放文件
  needDatePath: false

sms:
  #三方短信类型 1 助通短信 2 阿里短信  3 腾讯云短信
  sms_type: 3

  #阿里短信
  access-key-id:
  access-key-secret:
  signName:
  templateCode:

  #助通短信
  username: huitu
  password: 123456

# 消息推送
push:
  #  消息推送 1 goeasy ; 2 uniapp
  push_type: 1
  #goeasy(消息推送，聊天)
  goeasy:
    appkey: BC-d4519ea15c3f4d67a0d923dc980cbdac
    regionHost: https://rest-hangzhou.goeasy.io
    secretKey: d3c00d08e684412e

  #uniapp消息推送
  uniapp:
    appid:
    appkey:
    mastersecret:

nohupLog:
  size: 10MB
  baseDir: /home/manage/

#一键登陆解密手机号参数
decryptPhone:
  url: https://api.verification.jpush.cn/v1/web/loginTokenVerify
  app_key: fde270559d7d5d488d58f545
  master_Key: fdb70c3d0d1a622d5b8b1cd3
  private_key: MIICdQIBADANBgkqhkiG9w0BAQEFAASCAl8wggJbAgEAAoGBAJYswKGroaPqET+uV4SYtUuKt628Wa3J1wXrpV1dEFqVH6PnZgOBFLvrojHZ7XQfgjHazXZkTkra6mvRNO35CS9rnTZEnYVrD9MQnirMbGsSOtCyTVNQUoqmGgWVaM2F+2XS6F+p2BzLbEHhv+YyHC65qmh8iFyDykJY4dkRYjX7AgMBAAECgYBH/GXOWY5fG1lvVCwBlI37CyCm+E1ooAMhhGa9TVoEgc0r7UUaUurUdcxG5zcK3fuz2DV7FfPtr+iFDEC5/hFnW+KV+9R0c6Y8jJKW1p0qAKNU4Icvl/rViX8dQCV0nY0Gny6JtirKzGp0O8lwuynjBWwJds5emFXCippL57HVMQJBANhq53cSarStsf88CHwyG+SRQkX962eoGx7EBFGqAbM0l26mHh0t7bWtA+Thwv+EbgP2/GqOX6TPpHRB4jiJJCkCQQCxpDtGSpIBINRvv1BvVy0Tl058xUWLFFf5tar07DRG3qo9uJR75fLjBILip7bkkclFljmtoaQ4gkP9mlAYPa2DAkB4Yr9vVSdWamjhehueOqGZe9RJ6v3QI4syigd9Bfz8Gv1B59ZIlQvuS9gmsg8u5BPu0K2I+LnrjDYHFb8pg+BBAkAyUZcIvi7FawtB7CtYnpUCK6Xr6eVdFBInhbI7Vn0oZgJLIXHN9sDqVWjN0zwXWsRslbUY3eSqrRudRozRkQcJAkA2B3glMnfjzikFpshq0eKpJj4vUXBsAAO5er73eaC7u2iPls6ABeb9+9Vr8Cqt67wspRqKdX54Xka9CPhOwRWz

#支付回调
notifyurl:
  #订单首款支付
  ali-order-url: /api/pay/orderAliNotify
  wx-order-url: /api/pay/orderWxNotify
  lkl-order-url: /api/pay/orderLakalaNotify
  #订单尾款支付
  ali-secondOrder-url: /api/pay/secondOrderAliNotify
  wx-secondOrder-url: /api/pay/secondOrderWxNotify
  lkl-secondOrder-url: /api/pay/secondOrderLakalaNotify
  #充值订单支付
  ali-recharge-url: /api/pay/rechargeAliNotify
  wx-recharge-url: /api/pay/rechargeWxNotify
  lkl-recharge-url: /api/pay/rechargeLakalaNotify
  #保证金支付
  ali-bond-url: /api/pay/bondAliNotify
  wx-bond-url: /api/pay/bondWxNotify
  lkl-bond-url: /api/pay/bondLakalaNotify
  #普通认证支付
  ali-auth-url: /api/pay/authAliNotify
  wx-auth-url: /api/pay/authWxNotify
  lkl-auth-url: /api/pay/authLakalaNotify
  #高端认证支付
  ali-highend-auth-url: /api/pay/highendAuthAliNotify
  wx-highend-auth-url: /api/pay/highendAuthWxNotify
  lkl-highend-auth-url: /api/pay/highendAuthLakalaNotify
  #设计师调价支付
  ali-adjustPrice-auth-url: /api/pay/orderAdjustPricePayAliNotify
  wx-adjustPrice-auth-url: /api/pay/orderAdjustPricePayWxNotify
  lkl-adjustPrice-auth-url: /api/pay/orderAdjustPricePayLakalaNotify
  #表现师调价设计师确认支付
  ali-adjustPriceConfirm-auth-url: /api/pay/orderAdjustPriceConfirmPayAliNotify
  wx-adjustPriceConfirm-auth-url: /api/pay/orderAdjustPriceConfirmPayWxNotify
  lkl-adjustPriceConfirm-auth-url: /api/pay/orderAdjustPriceConfirmPayLakalaNotify

#支付宝支付参数
alipay:
  appid:
  private-key:
  ali-public-key:

  h5appid:
  partner:
  h5private-key:
  h5ali-public-key:

  subject:
  sign-type: RSA2
  ali-url: https://openapi.alipay.com/gateway.do
  product-code: QUICK_MSECURITY_PAY

#微信支付参数
wxpay:
  appid: wx8cba639752e95ed0
  mchid:
  paykey:
  app-secret: 1e7d48b009a5e5c9902d6e9ae1b0e8d9

  h5appid:
  h5mchid:
  h5paykey:
  h5app-secret:

wxrefundfile:
  path: /home/manage/apiclient_cert.p12

#app名称
app:
  name: DD画图

DD_drawing:
  appid: wxed96e8fe10ea8992
  secret: 5a1da24f97e49aa5762897045dd593b6

DD_co_creation:
  appid: wx45d9099290a6ec3d
  secret: fa6bc98943d4e0bdc3850475c320deb2
