spring:
  profiles:
    active: dev
  application:
    name: admin
  main:
    allow-circular-references: true
  # 启用 Java 21 虚拟线程支持（Spring Boot 3.x+）
  threads:
    virtual:
      enabled: true
  lifecycle:
    timeout-per-shutdown-phase: 20s
server:
  port: 9090
  servlet:
    context-path: /admin
  shutdown: graceful
# PageHelper
pagehelper:
  propertyName: propertyValue
  reasonable: false
  defaultCount: true # 分页插件默认参数支持 default-count 形式，自定义扩展的参数，必须大小写一致
mybatis-plus:
  mapper-locations: classpath:mappers/*.xml
  type-aliases-package: com.kym.entity

sa-token:
  # jwt秘钥
  jwt-secret-key: wash-admin
  # token 名称（同时也是 cookie 名称）
  token-name: accessToken
  # token 有效期（单位：秒） 默认30分钟，-1 代表永久有效
  timeout: -1
  # token 最低活跃频率（单位：秒），如果 token 超过此时间没有访问系统就会被冻结，默认-1 代表不限制，永不冻结
  active-timeout: -1
  # 是否允许同一账号多地同时登录 （为 true 时允许一起登录, 为 false 时新登录挤掉旧登录）
  is-concurrent: true
  # 在多人登录同一账号时，是否共用一个 token （为 true 时所有登录共用一个 token, 为 false 时每次登录新建一个 token）
  is-share: true
  # token 风格（默认可取值：uuid、simple-uuid、random-32、random-64、random-128、tik）
  token-style: uuid
  # 是否输出操作日志
  is-log: true

# 微信支付
wechat:
  payment:
    appid: wxe466e6b630cc47ae
    # 微信商户号
    mchid: 1698416484
    # 证书序列号 API安全 - 管理证书
    mchsn: 4F8FF1CC14F07A981FD2A7B622C6D1CBB7090BAC
    v3Key: PvHD8xlZxhKodj4aTFPhIuXW8rRpj3zP
    certPath: cert/apiclient_cert.pem
    keyPath: cert/apiclient_key.pem

  miniapp:
    appid: wxe466e6b630cc47ae
    secret: 5a974661ea83c1cc7065a1a1de72341c
    # 以下需要先开通消息推送
    token: #微信小程序消息服务器配置的token
    aesKey: #微信小程序消息服务器配置的EncodingAESKey
    msgDataFormat: JSON

  #运营看板小程序
  kanban:
    appid: wx35b22037ccbc7b3f
    secret: b59ff1b7d160b5c0efe33570a2f3fdf2
    token:

  fapiao:
    baseInformation: https://api.mch.weixin.qq.com/v3/new-tax-control-fapiao/merchant/base-information
    taxCodes: https://api.mch.weixin.qq.com/v3/new-tax-control-fapiao/merchant/tax-codes
    fapiaoApplications: https://api.mch.weixin.qq.com/v3/new-tax-control-fapiao/fapiao-applications
    devConfig: https://api.mch.weixin.qq.com/v3/new-tax-control-fapiao/merchant/development-config
    fapiaoFiles: https://api.mch.weixin.qq.com/v3/new-tax-control-fapiao/fapiao-applications/%s/fapiao-files
    queryFapiao: https://api.mch.weixin.qq.com/v3/new-tax-control-fapiao/fapiao-applications/%s
    titleUrl: https://api.mch.weixin.qq.com/v3/new-tax-control-fapiao/user-title/title-url
    userTitle: https://api.mch.weixin.qq.com/v3/new-tax-control-fapiao/user-title?scene=WITHOUT_WECHATPAY&fapiao_apply_id=%s
    cardTemplate: https://api.mch.weixin.qq.com/v3/new-tax-control-fapiao/card-template

  # 服务号配置
  mp:
    appid: wxc175b08b1b71cd5a
    secret: 91182f3baa3bcd041837d73b0d1f1d63
    token: Yeswash
    aeskey: hw0pfP0aT1tOoPBfzCpeu9uDFwLceTF0ocYc98LSsQU

#文件上传配置
upload:
  file:
    storage: file_storage  #文件存放地址
    size: 20  #最大上传Mb
    url: https://static.kuaiyuman.cn/

oss:
  endpoint: oss-cn-shenzhen.aliyuncs.com
  keyId: LTAI5tEPpmhZGDRb6sgqhiA2
  keySecret: HjlRw844NVP894jAzZna45Vns6axes
  bucket: kym-static
  prefix: http://static.kuaiyuman.cn  # 前端访问拼接为 prefix+uuid,例 http://static.kuaiyuman.cn /b2ee8dbd259d4f44a63a8e36c8121f89.vue

password:
 privateKey: MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGBAM1zhmu+TcTSZSQ7w0541g45o8ji4ugEC4O31GnS6tfvLTCru+9DPK2/DNdd4z1enz2PuDhktHuoEsEKPdA08fRJSMTXLL0pUEp2OQ+t7tZP6mVLvizasnP+HKAqIndXFr5nXm/okQfL/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